Advanced screen pan script

● ARCHIVED · READ-ONLY
Started by Rave 10 posts View original ↗
  1. I need a script that would allow for advanced screen panning.

    By advanced I mean that you can choose direction of pan in degrees (0-359, floating point numbers acceptable), speed (in pixels per seconds) and length of pan (in pixels).

    Could someone write such script for me?
  2. There's probally a few scripts out there that can do this more or less, but digging them up would be a chore(they're buried somewhere in the masterlist I'm sure), however since I'm always whoring Hime's site, you can use his camera target, combined with his camera control techniques script.

    http://www.himeworks.com/2013/04/16/camera-target/

    http://www.himeworks.com/2014/02/22/camera-control-techniques-for-your-game/

    It can do what you want I'm sure, just not using the method you had planned.

    What you would do is lock target the Camera onto a graphicless event, and then use a move route to move it around the map as you please.

    If that doesn't work for you, I suggest scrolling through the master list, I'm pretty sure there's atleast a couple of other camera control script out there.
  3. I've browsed through masterlist and none of the script does exactly what I need. I need to move camera not straight to top-left, not straight to top, but something in between. How much in between, that remains to be seen.

    Because of that I need ability to set custom direction in degrees and speed in pixels per second (again, default speed choice doesn't satisfy me. One is too fast, next, slower one is too slow). I just need that kind of fine control.
  4. Rave said:
    I've browsed through masterlist and none of the script does exactly what I need. I need to move camera not straight to top-left, not straight to top, but something in between. How much in between, that remains to be seen.

    Because of that I need ability to set custom direction in degrees and speed in pixels per second (again, default speed choice doesn't satisfy me. One is too fast, next, slower one is too slow). I just need that kind of fine control.
    Hm ok.

    May I ask why you want to move the camera less then 32 pixels a time, because unless you have a really weird mapping design going on, I really don't see the point(just design your walls or whatnot proportionate to your liking, to give you the effect you want when scrolling, I don't see a reason why you would need a special camera system for that).

    Example, make a 32x32 tile only have a graphic on 1/3 of it, while the rest of the tile is transparent.
  5. There's this: Lune Smooth Camera Slide


    Customized camera scrolling/panning/manipulation options are useful, but I only focused on being able to set camera targets (as the name suggests).
  6. Yeah, that was one of the first camera scripts I've looked into but it doesn't fit my needs. My map is on the verge of lagfest if I add any more events so any script that require "dummy" events to work is no good for me. Any chance you'll add functionality I ask for to your script?

    //edit:

    Zoltor said:
    Hm ok.

    May I ask why you want to move the camera less then 32 pixels a time, because unless you have a really weird mapping design going on, I really don't see the point(just design your walls or whatnot proportionate to your liking, to give you the effect you want when scrolling, I don't see a reason why you would need a special camera system for that).

    Example, make a 32x32 tile only have a graphic on 1/3 of it, while the rest of the tile is transparent.
    The thing is that if I'd move camera in other direction than multiples of 45 degrees and set "length" of the movement in tiles, I'd move either too far away or too close. I've already tested it with other game making tool called Game Develop (great if you are making non-rpg game) and it turns out that I need to set "length" of pan in pixels if I want to aim precisely where I want, even with standard tile grid.
  7. Bump.
  8. Bumpity-bump!
  9. Bump. Need help on that.
  10. Bumpy bump is bumpy. Why no one wants to help?