Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Is there an equivilant for 2d?

(1 edit)

not exactly, but camera 2d has the 'limit' property (https://docs.godotengine.org/en/stable/classes/class_camera2d.html#class-camera2...) which wont let it move past the limit assigned. you can set up a system to get your levels limits and pass it to the camera, if thats what your asking. (this only gets you one giant cube the camera cant get through) otherwise, you will have to code your own camera system and detection (which probably already exists via assets). you could do this with a character body node acting as camera manager, and getting the velocity to point towards where you want the camera to be. again, the point being you are asking for a solution to problem that you can already solve very easily. if you do want to make a proper feature request however, you can always go to https://github.com/godotengine/godot and submit.    (tutorial to help you out a bit 

)