v3.0.0maze
Flutter에서 간단한 미로 게임입니다. 또한 CustomPainter 예제도 제공합니다.
24좋아요 2830일 다운로드140Pub 점수
AndroidiOSmacOSWindowsLinux
플러터에서 미로 게임
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A simple maze game in Flutter. It also serves as a CustomPainter example.
In another project, I needed to create a "simple" maze game that can be used in low-end devices, so game engine was not an option.
Suddenly, I found a way to do it in pure Android.
So, this is a "port" of that saviour example.
You can use it in your project, you only need to add the dependency:
dependencies:
flutter:
sdk: flutter
maze_game: 3.0.0
Now you can create your Maze:
Maze(
player: MazeItem(
'https://image.flaticon.com/icons/png/512/808/808433.png',
ImageType.network),
columns: 6,
rows: 12,
wallThickness: 4.0,
wallColor: Theme.of(context).primaryColor,
finish: MazeItem(
'https://image.flaticon.com/icons/png/512/1506/1506339.png',
ImageType.network),
onFinish: () => print('Hi from finish line!'))
의존성 목록 6 개
{"sdk":"flutter"}^2.0.0^0.13.0^2.0.0{"sdk":"flutter"}^2.0.0사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗