This is an example of setting up a Metroid/Castlevania style Camera, where the camera does not move outside of the current walls of the "room". 

Arrow Keys to move

Space or Shift to jump.

StatusReleased
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorSilver-Streak
Made withGDevelop, PixiJS

Download

Download
Metroidvania Camera Example Project Files.zip 164 kB

Comments

Log in with itch.io to leave a comment.

Thank you so much!

Hey, I just found this linked from an old Gdevelop5 forum, but this is EXACTLY what I was looking for!  thank you for posting this

Glad this helped! Please note that a rad member of the community made an extension that simplifies this process somewhat. Check out the "Room-based camera movement" extension in the main extension list in the engine.

nice!