Physics Engine banner

Physics Engine

3 devlogs
2h 53m 22s

I am designing and coding my own physics engine using Python PyGame. I am a relatively intermediate coder, and so i hope this project will expand my limited knowledge. By the end of this project, it should be able to make blocks that experience gravity, friction, momentum and more!

emora

I added collisions so that if the block hits the bottom of the screen it stops rather than falling out of sight. I made it so if the block falls off either the left or the right of the screen it gets deleted to save from lag. I added the ability to pick up blocks and drop them at your will.

0
emora

Started with adding spawnable blocks of two colours. Movement is possible left and right, and gravity pulls the blocks down. Currently, there are no collisions and so the blocks will disappear off the edge of the screen.

0