[Solved] Stop the view from moving with Player

Started by Stranga, Mon 10/10/2016 13:29:34

Previous topic - Next topic

Stranga

Hello everyone I have another noob question.

Is there a way to stop the view from moving with the player? I want to control the views via code and none of my rooms really need scrolling views but they do anyway because of the size.

also by view I mean like a camera view (if that makes sense)

Thank you an advance

CaesarCub

You can use SetViewport(x, y); to lock the screen and then ReleaseViewport(); to make the screen scroll back to the player character.

Stranga

Worked like a charm! :grin: Thank you very much!

SMF spam blocked by CleanTalk