gdquest-demos / godot-platformer-2d

2d Metroidvania-inspired game for the 2019 GDquest Godot Kickstarter course project.
MIT License
623 stars 74 forks source link

Add ability to travel through portals from level to level #149

Closed razcore-rad closed 5 years ago

razcore-rad commented 5 years ago

from Discord:

The way it works is: if there's no next_level_portal_name set it uses the first checkpoint under Checkpoints node, to position the player in the new level, this has the benefit that it immediately visits the checkpoint so it gets saved for the dying state and if next_level_portal_name is set then it uses that specific portal to place the player in the new scene/level

closes #145

NathanLovato commented 5 years ago

Seems good to me, is it good to merge? I'd test it in practice and make more changes later

razcore-rad commented 5 years ago

Yeah, good to merge, it isn't WIP, it's just that I think we can possibly improve the system, it seems a bit more complex than it should, but I think it gives a good test bed for later updates

NathanLovato commented 5 years ago

Got it, I'll merge and we can review it later!