Change camera position

● ARCHIVED · READ-ONLY
Started by Karffebon 4 posts View original ↗
  1. Is it possible to change the camera position and set the camera to focus on an event or x,y position

    or a way to instantly scroll map without the animation.
  2. There is a Scroll Map command, but you do see the map scrolling.


    If you wanted it to immediately snap to that position, you could take a look at what the Scroll Map command does (look in Game_Interpreter) and see if you can do something similar, but without the visual scrolling.


    If you don't know how to script, just hold on and see if someone will do it for you.


    Note scripters - this request is for XP, not Ace.
  3. One way to get around the limitations of the Scroll Map command is to make the player invisible and then simply move them around to move the camera. So, as an example if you wanted to move the camera to a particular x,y then you'd do the following.

    >Save the player's current X, Y to variables

    >Make the player invisible/transparent

    >Move the player to the desired X,Y using no fade this will scroll it instantly

    >Do whatever else

    >Move the player back to their old X, Y using the variables from earlier

    >Make the player visible

    It gets a little more difficult if you want the player to show up in between, but it can be done. Just think outside the box :)
  4. i can program, but i'm new to rpg maker, what i'm trying to achieve this http://www.himeworks.com/2013/04/camera-target/ (but for rpg maker xp), a script to make the camera focus on another event instead of the player, or a way to manually set the x,y of the camera.

    I can't do the invisible player thing, because i want to control the player while the camera is not focused on him.

    I can't find in the scroll map command in scripts, how they control the camera, i think it is hard coded, but thanks for your help.

    i found a way to do what i wanted, thanks for the help