i was going to make a 2d platformer for fun but wanted to get the physics part done

What it does

simulates a 2d physics engine with blocks. there is a "character" (sort of) you control and can collide into the ground and walls. falling and jumping has a gravity/acceleration effect to simulate accurate physics.

How I built it

I used the SFML graphics library to build a simple environment and then created the physics by calculating intersection points.

Challenges I ran into

In the first algorithm I used glitching through the ground happened a lot

Accomplishments that I'm proud of

Finally getting it to not glitch through the ground while jumping

What I learned

physics are annoying

What's next for sky land

recycle bin or 2d platformer

Built With

Share this project: