简体   繁体   中英

Box2d body movement in Andengine

我做了一个赛车游戏。有汽车。它通过onAnalogScreenContol按钮移动。它设置的速度非常完美,可以为它的主体设置速度。但是当我添加50个矩形和主体形状的墙时,汽车移动得非常快。我怎么解决这个问题?

Perhaphs having a look at the code to my racing game will help you: http://sebastiannilsson.com/en/k/projekt/sketchy-truck/

Source code is hosted on Github. It will give you an example of how to do a racing game in Android. I do not know how similar it is to your game though.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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