i want to create a game where there are some .tmx level with monster and a simple character that moves into the level.
For a few days i think about this and i don’t know what is better for implements the player movement.
I have tryed to check manually the collision of the player but iìm not able to do a good work, so i think i can use box2D for check collision and apply the force that need to move the player. For my kind of game is correct use box2D for the collision and movement or is better an other implementation?
Sorry for the question but i’m new in the game developing and i’m trying to learning how to do all well.
Well Box2d is very well suited for games that require physics. I would normally go with box2d in case of collision detection, because it simplifies the whole process very much.
On the other hand, if you try to learn game developing, it would be wiser to make your own implementation of a collision detection system. That way you learn about those mechanics… Also if this will be your first game and you dont have very much knowledge in developing games, maybe you should check out java2d to start with, because its so much simpler and basically better to start with, if you’re new to game mechanics.
I think DermetFan may know a way.There are some videos that can help you. His last video he joins box2D + sprites. But, there is some other video where he uses tmx and collision in a simple way.Which works perfectly.
Anyway, i think that you shouldnt use box2D, unless it requires a lot of physics… What kind of game it is ?
thanks for your answer! i want to create a simple 2D survivor game, bot i need some level for the zone of the world and i nedd collision to walk in terrain tha is not always flat.
I think my game can be lot intresting, when i have a playable version i wolud share it on this forum