Rogue Runner v0.10.0 - Room Editor Take 2
Roight.
Struggled with my approach to using prefabs for the room generation so I decided to bite the bullet and learn how to do this properly - with data. As usual, I went the googling route but got a bit frustrated that I couldn't find a simple step-by-step guide that explained it simply. So I decided to ask ChatGPT :D
The first thing was my struggle to understand the saving of objects into json and loading them back up again.
So I asked "How save positions of objects in a Unity project?" and then it explained how that works... despite my broken English there.
Then I asked "In unity I want to save positions of objects in a json file and then load them in and spawn them." and it gave me clear step-by-step instructions on that.
Then I said "Cool. Now how do I implement a UI to save a json file and enter the name of it?" and it showed me how to present UI to do that.
There was a little bit of tweaking to tie it all together obviously, but now I have this...
I spawn some things, save that configuration as a json file, clear the objects then load the configuration from a list of saves.
Next, tying it up to the room editor that already exists.
Rogue Runner
Go North!
Status | In development |
Author | Projector Studios |
Genre | Role Playing |
Tags | 8-Bit, Action RPG, Endless, infinite-runner, Roguelike, Runner |
More posts
- Rogue Runner v0.11 - Room Editor Take 2 (v)Dec 17, 2023
- Rogue Runner v0.10.3 - Room Editor Take 2 (iv)Dec 16, 2023
- Rogue Runner v0.10.2 - Room Editor Take 2 (iii)May 27, 2023
- Rogue Runner v0.10.1 - Room Editor Take 2 (ii)May 25, 2023
- Rogue Runner v0.9.0 - EndlessMay 06, 2023
- Rogue Runner v0.8.2 - Room Editor IIIMay 06, 2023
- Rogue Runner v0.8.1 - Room Editor IIApr 30, 2022
- Rogue Runner v0.8 - Room EditorApr 23, 2022
- Rogue Runner v0.7.1 - Updating the StatsApr 20, 2022
Leave a comment
Log in with itch.io to leave a comment.