Replies: 1 comment
-
See these lines from sample project: Metroidvania-System/SampleProject/Scripts/Game.gd Lines 29 to 33 in 386e417 Metroidvania-System/SampleProject/Scripts/Game.gd Lines 50 to 51 in 386e417 I tried to make project setup as easy as possible, however it still does require coding skills. If you still have trouble making a fresh project, you can start from the sample project instead (remove the existing rooms, replace assets etc.). It's not recommended approach, but it's still valid way to start. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I thought this would be more simple because when I read it, I felt like it clicked. But after setting it up and fooling around for a couple of hours, I haven't been able to set up transitioning between scenes, and the minimap doesn't update either.
I think it has something to do with what I am doing at the start, but I might also just be missing code I don't know or understand.
I started by creating the sample so I could see how it was supposed to work.
Then I made a new project, and added the Addons part of the file to it.
I enabled it in project settings.
I looked over the syssettings.tres thing, didnt see anything I wanted to change.
I went to the map layout, created two rooms. I assigned one as the starter room and the next as room2, and connected both by bordering paths.
I made designed both rooms the same with ground. This is also when I made a player, making sure all that worked out fine.
I made a main scene, and attached the MetSysGame.gd script to it. I then attached player and map (from the starter room) to it.
I don't know what it means by "Whenever you start the game, you should call MetSys.reset_state() and MetSys.set_save_data() to make sure the singleton is in the initial state and save data exists. Then register your player node for the MetSysGame with set_player() and use load_room() to load a scene." SO I think that is where some problems might be.
I did add the transition module to the setup (I think) but I probably misunderstood how to do that, too.
Beta Was this translation helpful? Give feedback.
All reactions