-
This isn't meant to be a serious game. I threw this together in my spare time over the course of a week to learn OpenGL basics on Android. I wrote a rudimentary...
Abe Clone Attack
This isn't meant to be a serious game. I threw this together in my spare time over the course of a week to learn OpenGL basics on Android. I wrote a rudimentary game engine including animation, collision detection and score keeping.Why Abe Lincoln? When I needed an image to represent a sprite, his face popped into my mind. Maybe it's his striking facial features or the fact that he's a person that I respect deeply that made me think of him in that moment.The sprite class holds an array of animations and the state of the sprite (position, dead, type). For each call to the renderer, the engine passes the number of frames (calculated by time since last render) to the sprite, which then advances that many frames into its current animation.Upon completing a "death" animation, the sprite marks itself as "dead". Upon the next call to render, the engine removes the sprite from those to be rendered.I wrote a texture library to reuse textures among sprites and animations. Animations as for a texture (by resource name) from the texture library. The library either returns the texture from a map, or loads it into the map and then returns it. This is an easy way to share a single texture for all identical animation frames.I know this is ugly. I know it's simple. It was fun to make and I'm happy to say that I learned something in the process.
Abe Clone Attack游戏截图
本周飙升榜
新游期待榜
热门推荐
最新专题
- 三国平民手游下载地址推荐
- 合成度假岛下载链接分享
- 流放领主手游下载地址分享
- 博弈蛇手游下载链接分享
- 一根手指的杂技团下载地址是什么
- 点击即玩的游戏有哪些
- 百炼仙途手游下载地址推荐
- 免费的射击小游戏有哪些
- 最大的游戏哪里下载
- 热门的李小龙游戏哪里下载
- 泡泡弹游戏下载合集
- 这钱捡不完啊下载
- 纠正错别字手游下载地址是什么
- 2026年10月新游戏推荐
- 剑气与魔法手游下载地址分享
- 炼仙蛊手游下载地址是什么
- 堆你个堆手游下载链接分享
- 别烧村庄手游下载链接分享
- 饥困荒野下载渠道哪里找
- 2026类似小小梦魇的游戏推荐
- 哈了个喵手游下载链接分享
- 奥德彪命运蕉响曲手游下载地址是什么
- 蛋糕工厂手游下载地址分享
- 踏月行手游下载地址在哪里
- 猫咪捕捉计划下载方法大全
- 杀穿手游下载地址在哪里
- 小时候玩的手机游戏有哪些
- 合成小木鱼下载链接分享
- 魔法工匠手游下载
- 有趣的ace游戏下载推荐
- 友情链接
- 最新游戏












粤公网安备44010602000283号
玩家评论
更多>>全部评论