Libove Blog

Personal Blog about anything - mostly programming, cooking and random thoughts


#

#gamedev progress:

  • generalized character rendering to share code between guests and employees.
  • Added support for different animations. Animations are determined by the current action executed by the character.
  • Employees are now rendered with new character system.

Animation in hotel game


#

#gamedev progress on hotel game:

  • further work on sprites in new format
    • 32x32 for characters
    • 48x48 for rooms
  • added roof to the hotel
  • shirt and pants color of each guest is now randomized

Screenshot of a hotel game showing the new roofs




#

#gamedev progress:

  • game world is now rendered with a scaling. Default canvas has a size of 640x360 to nicely scale for common resolutions.
  • UI is still rendered at full screen resolution.
  • started to rework guest sprite. Choose a sprite size of 32x32 and started work on animation (4 frame walk cycle, 2 frame idle cycle)
  • Separated body parts into individual sprites to allow customizing each guest with different skin and cloth colors and hair styles.

Screenshot of an unnamed hotel game with new scaling and guest sprite. The guest sprite looks out of place.


#

#gamedev progress:

  • added two new rooms (grill and wine cellar). These will function as extensions of the restaurant in the future.
  • employees now "reserve" work stations to avoid multiple employees going to the same station
  • restaurant visitors now have to be seated by employees.



#

#TIL:

you can use await directly in the #python REPL if you start it with

python -m asyncio