I am postponing FB2 to work on an experimental project simply to test different mechanics and theories concerning game mechanics engines in Pygame. After playing some Terraria, I have decided to create a game which randomly generates a world for a character to move around in, with random walls made of individual blocks that the player can collide with. The world will be generated in chunks and sub-chunks of curves, inclines, and other surfaces. I have started with a
very simple starting point which involves a placeholder player character that can be moved with the arrow keys. The pc collides with the borders of the screen and is effectively bound to the screen.
|
The PC, represented by the black box, is bound to the window. |
I have included the code below in the form of a zip hosted by Dropbox:
https://www.dropbox.com/sh/pxa8ip6ayvyctyr/YK1pNN2O1B
No comments:
Post a Comment