Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Pixel style dinosaur-run small game。像素风恐龙快跑小游戏。模仿自chrome

License

NotificationsYou must be signed in to change notification settings

CCY0122/flutter_dinosaur_run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

像素风恐龙快跑小游戏。模仿自chrome浏览器网页失败页对应小游戏:chrome://dino

Pixel wind dinosaur-run small game.

效果图

gif

实现

1、使用Flutter自定义绘制:CustomPainter完成恐龙等物体的绘制:

小技巧:因为是像素风,图像可用二维数组表示:

↓↓↓↓↓

然后在paint里就可以遍历二维数组,0表示不画,1表示画

2、使用Flutter动画:Animation、计时器:Timer 完成动画控制。



免责

本作品仅供个人学习,其他使用者也请勿用于利益相关项目,如涉及chrome、google等版权问题,与作者无关。

About

Pixel style dinosaur-run small game。像素风恐龙快跑小游戏。模仿自chrome

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp