Processing实现简易的Flappy Brid
用Processing实现了背景滚动、双向柱子与边缘碰撞检测。效果图:全局变量部分PImage brid[]; //鸟动画帧 图片PImage pipe_down; // 管道1 图片PImage pipe_up; // 管道2 图片PImage background; // 背景 图片PImage gameover; // 游戏结束 图片int brid_point =...
原创
2019-11-29 10:00:23 ·
1698 阅读 ·
0 评论