从第一步第一行代码开始,到最后一步最后一行代码,全程手把手敲代码、注释、演示和讲解
0
1
¥
69.00购买
你将收获
适用人群
所有人
课程介绍
用libGDX1.4.1版本开发一个微信打飞机游戏
同学笔记
2020-05-04 01:05:22
- Random r=new Random(1000);
- private Array<Rectangle> bulletArray =new Array<Rectangle>();//矩形数组
- private Sprite bullet1Texture;精灵
- private Sprite bullet2Texture;精灵
- private TextureAtlas atlas;纹理图
- private int bullet1W;子弹1宽度
- private int bullet1H;子弹1高度
- private int bullet2W;子弹2宽度
- private int bullet2H;子弹2高度
- private float stateTime=0f;状态时间
- private int Type=TypeBullet1;初始子弹类型
- public static final int TypeBullet1=0;子弹类型1
- ublic static final int TypeBullet2=1;子弹类型2
- private int herow;宽度
- private float stateTimeforbullet2=0f;时间
- private float stateTimedf=10f;也是时间
没有更多了
课程讨论
暂无评论