Jump to content
  • Advertisement
  • entries
    743
  • comments
    1924
  • views
    582810

Move back to 2D underway

Sign in to follow this  
Aardvajk

861 views

game.jpg

The move back to 2D physics is now underway. I have:

  • Added back support to my level editor to add and manipulate 2D shapes
  • Ripped out the old physics code and replaced with a 2D version
  • Built a player character than just moves around with the arrow keys, but collides with the level geometry

    So now I need to reimplement the kinematic character controller, but this time in 2D. Before I can do that I need to get a ray casting system working again. Just need to do ray-line segment intersections with the edges of the polygons I guess, with a dot product of the ray and normal check to make sure we are hitting the correct side.

    Should be easy enough to add in floor support then, moving up and down slopes correctly and so on. I want to try to get the 2D physics as rock solid as possible before I move on in development.

    That's about all for today, thanks for reading.
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!