Waridley / hack-and-slash

WIP Hack-and-slash game made with Bevy
European Union Public License 1.2
2 stars 0 forks source link

Player parameters and assets as resources in a Scene file #37

Closed Waridley closed 9 months ago

Waridley commented 9 months ago

I didn't need to use Assets to make PlayerParams hot-reloadable, since Bevy 0.11.0 added the resources field to the scene file format. Resources I want to be able to tweak while the game is running can now be saved in globals.scn.ron. PlayerSpawnData is now loaded from assets defined in PlayerAssets in the globals scene as well.