DEV Community

WH yang
WH yang

Posted on

NES-Like game engine

NESY Engine is a NES-like game engine project written in Python. It was released this August and is powered by the Pygame library.

I didn't know how to create a game until I started working on fixing this documentation issue. During this process, I learned about the concept of hitboxes in a game engine. Every character and enemy should have a designated area that reflects its position and size on the map. If two objects occupy the same space, it means a collision has occurred, triggering an event. For example, the player's health might be reduced, or the enemy could start a dying animation, depending on the game's status.

This was an easy issue, but it gave me a chance to learn something new. I felt very satisfied when the maintainer accepted my pull request because I was able to learn by helping. I plan to keep looking for interesting issues and submit more pull requests.

Top comments (0)