Advanced screen pan script

Rave

Veteran
Veteran
Joined
May 10, 2013
Messages
99
Reaction score
29
First Language
Polish
Primarily Uses
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?
 

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
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.
 
Last edited by a moderator:

Rave

Veteran
Veteran
Joined
May 10, 2013
Messages
99
Reaction score
29
First Language
Polish
Primarily Uses
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.
 

Zoltor

Veteran
Veteran
Joined
Jan 18, 2014
Messages
1,550
Reaction score
211
First Language
English
Primarily Uses
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.
 
Last edited by a moderator:

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
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).
 
Last edited by a moderator:

Rave

Veteran
Veteran
Joined
May 10, 2013
Messages
99
Reaction score
29
First Language
Polish
Primarily Uses
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:

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.
 
Last edited by a moderator:

Rave

Veteran
Veteran
Joined
May 10, 2013
Messages
99
Reaction score
29
First Language
Polish
Primarily Uses

Rave

Veteran
Veteran
Joined
May 10, 2013
Messages
99
Reaction score
29
First Language
Polish
Primarily Uses
Bumpity-bump!
 

Rave

Veteran
Veteran
Joined
May 10, 2013
Messages
99
Reaction score
29
First Language
Polish
Primarily Uses
Bump. Need help on that.
 

Rave

Veteran
Veteran
Joined
May 10, 2013
Messages
99
Reaction score
29
First Language
Polish
Primarily Uses
Bumpy bump is bumpy. Why no one wants to help?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,981
Members
137,563
Latest member
cexojow
Top