Hall of Stars - Collision, Hitboxes, Room Loading/Unloading & Working Doors
I’ve been working hard on trying to get this game in a playable state as soon as possible, so I can then further expand the game but also make it ready for shipping whenever I need. That’s why I’m focussing on features like collisions and room navigation. I moved the main loop to level.py to let the world tick everything, and only the visual rendering is done in the main class. You can now walk through doors and easily move rooms and I even added a carpet! Shoutout to my number one fan @torkel for supporting all my great work ![]()
New Features:
-
Collisions: All collidable are added to a sprite group, which is saved in the
levelclass and passed on to theplayerclass to check for collisions. - Hitboxes: Added the option for tiles to have a hitbox smaller than it’s tile (16x16). The player also has a smaller hitbox to make it able to create depth.
- Room Loading/Unloading: Each room saves it’s own tiles and collidable objects. When a room is loaded, these are added into the global tiles and collidable objects groups. They are removed form the global groups upon unloading the room.
- Working Doors: The doors now work seamlessly and loads you into a specific room.
Future Plans:
- API class using Stardance Stats from @mixidmb , shoutout to him for creating that API.
- Generating rooms based on project information with the possibility to view project details.
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.