首页>游戏>动作冒险>Abe Clone Attack

免费

Abe Clone Attack

6(已有0人评分)我要评分

版 本:
1.0
类 型:
动作冒险
下载量:
47
大 小:
1.03MB
时 间:
2016-10-29
语 言:
中文
更多

扫二维码下载到手机

纠错举报
关闭纠错举报
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.

应用截图

你可能还会喜欢

发表评论共有 0 条游戏评论

本游戏还没有玩家发表评论,快来抢占沙发吧:)

发表评论

  • 您给应用的评分(鼠标选择星星):

  • [文明评论,  注意:发表不和谐言论可能会被禁言]

小贴士:

1、为了让您的评论能够被更多玩家看到请勿恶意灌水。

2、谢绝人身攻击、地域歧视、刷屏、广告等恶性言论。

3、所有评论均代表玩家本人意见,不代表2018手游网立场。