You are browsing as a guest. Sign up (or log in) to start making projects!

Pycraft

  • 1 Devlogs
  • 2 Total hours

A version of top down 2d minecraft made inside of Pygame for a Grade 10 computer science summative

Ship #1 Pending review

I created a version of Minecraft in Pygame! The player can interact with the game through keyboard and mouse inputs. WASD or arrow keys will control movement, E will interact with caves and open the crafting menu, left-click will attack the enemies and craft, and right-click will allow the player to place blocks in the world. Some of the functions of Pycraft include a player character, an enemy system, an inventory system, block interactivity, day/night cycles, start/game over menus, and a scrolling camera that allows the player to explore further than the window. The game world will be a randomly generated 200x200 tile map. There is also must consider collision detection, camera offset calculations, and performance optimization. The most challenging part of creating Pycraft was learning Pygame because Pygame is not as efficient of a language as GDScript and it is not a game engine so it is not as easy to visualize it like in Godot which I am used to. I am most proud of the random terrain generation as it feels the game feel refreshing each time. The game might be a bit laggy on browser which is to be expected because Python and Pygame is not the fastest language but the desktop version runs a lot better. You can play below by clicking on the Itch Io Link!

  • 1 devlog
  • 2h
Try project → See source code →
Open comments for this post

2h 22m 7s logged

I created a version of Minecraft in Pygame! The player can interact with the game through keyboard and mouse inputs. WASD or arrow keys will control movement, E will interact with caves and open the crafting menu, left-click will attack the enemies and craft, and right-click will allow the player to place blocks in the world. Some of the functions of Pycraft include a player character, an enemy system, an inventory system, block interactivity, day/night cycles, start/game over menus, and a scrolling camera that allows the player to explore further than the window. The game world will be a randomly generated 200x200 tile map. There is also must consider collision detection, camera offset calculations, and performance optimization.

0
0
9

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…