问题描述
我的规划,使赛车游戏android.I已经创建了不同的移动技术的广泛应用。但我pretty的多为新手游戏应用。所以我的问题是如何让赛道的机器人?我应该如何显示,汽车在行驶上了赛道。我有车和赛道的图像。但我不知道我应该怎么表现出赛道的一部分,应该如何表明,汽车在行驶该轨道上?
i am planning to make racing game in android.I have created many applications in different mobile technology. but i am pretty much beginner for game application. So my question is how can i make race track in android? How should i show that car is moving on that race track. I have the images of cars and race track. But i have no idea how should i show the part of race track and how should show that car is moving on that track??
推荐答案
我建议你下载 AndEngine (一个开源的android 2D游戏develoopmnent框架)。在范例有一个(很简单)的赛道演示有动车+控制+障碍。如果你有麻烦,你总是可以从论坛的支持
I suggest you download AndEngine ( an open source 2d android game develoopmnent framework ). In the examples there is a (very simple) race track demo with a movable car + controls + obstacles. If you have troubles you can always get support from the forums
AndEngine有一个非常简单的学习曲线:-)
有乐趣创造你的赛车游戏!
AndEngine has a very easy learning curve :-)
Have fun creating your racing game!!
下面是在启动的2D 2很好的教程:
- 帆布教程
- OpenGL的教程
Here are 2 good tutorials on starting with 2d:
- Canvas tutorial
- OpenGL tutorial
在最后一部分,有关显示在地图中的一部分,可以通过在AndEngine使用 BoundCamera
实现。
The last part, about showing only a part of the map, can be achieved by using a BoundCamera
in AndEngine.
这篇关于如何去创造一个赛道的比赛?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!