简体   繁体   中英

Android 2D game: should I use a frame layout or a game engine?

Let's say in my app, I have a 2D side view of a car.

On this car you can have three different changeable parts: the body, back tire, and front tire.

Should I just use a team layout to stack on each image according to what the user selects? Should I go for a game engine that takes care of the entire view and what the car looks like?

In just trying to dabble in 2D game design and was wondering the best way to accomplish this. If there is a better method than either of those two, please feel free to suggest. Thanks!

I would suggest using a game engine. If you feel you are proficient in Java, I would suggest using something called Libgdx. More information can be found here: https://libgdx.badlogicgames.com/

Libgdx is good for 2d games and you can develop 3d as well. If you specially want to develop 3d games however, I would suggest using a platform called Unity.

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