NEW-CYLANDIA / little-warioware

A collectively developed take on Nintendo's WarioWare series, made in Godot Engine
https://new-cylandia.itch.io/little-warioware
MIT License
44 stars 12 forks source link

Refactor and cleanup #53

Closed iznaut closed 11 months ago

iznaut commented 11 months ago

this is a bunch of streamlining/simplifying - the big change probably is that Session is an autoload now (replacing the Global class) and handles most of the game state/transition stuff. also, Microgame has some helper functions to expose level/speed to individual microgames without needing to directly query Session (so hopefully future edits to framework stuff will be easier to manage - i did have to tweak a few things in the existing microgames to work with the new structure)

ALSO i created a template/example microgame outside of the normal folder so the recommendation for new folks can be "just copy the example folder into microgames/ and go nuts".

fully acknowledging that this is not how we should be doing things normally (going rogue and making a million edits SORRY) but i'm striking while the iron is hot and everyone is still hating Unity enough to learn something new!

github-actions[bot] commented 11 months ago

🎉 Please test your changes using this link! ✨👉 https://polite-glacier-037563110.2.azurestaticapps.net 👈✨