简体   繁体   English

Android交通游戏开发

[英]Android traffic game developing

I'm developing simple traffic educational game like https://market.android.com/details?id=cz.allianz.krizovatky.android . 我正在开发简单的交通教育游戏,例如https://market.android.com/details?id=cz.allianz.krizovatky.android When the player taps on car sprite, it started to move with other cars. 当玩家点击汽车精灵时,它开始与其他汽车一起移动。 If player made a mistake in choosing car, collision happens. 如果玩家在选择汽车时犯了一个错误,就会发生碰撞。

My question is: what is the best way for implementing such game (game engine or direct Canvas drawing)? 我的问题是:实现此类游戏(游戏引擎或直接Canvas绘图)的最佳方法是什么? I'm not game developer, it is my first game. 我不是游戏开发商,这是我的第一场比赛。 Now, I'm trying to use Andengine, it looks great, but I have not enough experience :( The main problems are: 1) How to make car automatically move along specified path with smooth turns? 现在,我正在尝试使用Andengine,它看起来很棒,但是我没有足够的经验:(主要问题是:1)如何使汽车平稳地沿指定路径自动行驶? 2) How generate random map with crossroads? 2)如何生成带有十字路口的随机地图?

Please, help me choose the right way of development this game. 请帮助我选择开发这款游戏的正确方法。 If I should use game engine, how I can solve my problems with car moving and maps? 如果我应该使用游戏引擎,如何解决汽车行驶和地图方面的问题?

Depending on your experience with Java, I would say that tweaking your own Canvas would give you more control for more work, but a Game Engine would let you get started faster with more design/implementation restrictions. 根据您对Java的经验,我想说,对自己的Canvas进行调整可以为您提供更多控制权来进行更多工作,但是Game Engine可以让您在受到更多设计/实现限制的情况下更快上手。

You might also find better answers if you asked the same question over at : https://gamedev.stackexchange.com/ 如果您在以下位置问了同样的问题,也可能会找到更好的答案: https : //gamedev.stackexchange.com/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM