Tagged Questions
2
votes
0answers
228 views
Nape physics - Moving a body
Hey I'm currently getting started with physics engines and I set up a body (box shaped) which represents my character.
Question: Which methods can I use to move a Nape.Body aka my char?
I tried so ...
8
votes
1answer
2k views
How to handle physics of moving platforms in a platformer?
So after a few hours of searching on the internet, I have yet to find a pleasing answer on how to handle moving platforms in a 2d platform game. So I decided to make a simple prototype where you ...
9
votes
1answer
1k views
Angle of Reflection
I have this "Breakeout style" game.
I have a cannon at the center, blocks around the cannon and pads around the blocks. This is how the game looks like:
I've managed to get the collision per ...
4
votes
3answers
541 views
What do I need to change in Box2D to work in pixels?
Box2D seems to be set up in such a way that you cannot work in pixels (i.e. physics scale = 1). It produces very strange results as it hits maximum speed limits at low speeds and looks very strange. ...
5
votes
4answers
344 views
How would one generate a texture for cracks in different materials?
I would want to have the ability to simulate different variables like brittleness, or other variables to get varied end results.
I would mainly need to generate impact cracks, so it would need to ...