Save-Point
Smooth Scrolling Script - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Material Development (https://www.save-point.org/forum-8.html)
+--- Forum: Scripts Database (https://www.save-point.org/forum-39.html)
+--- Thread: Smooth Scrolling Script (/thread-2442.html)



Smooth Scrolling Script - Toby Zerner - 03-07-2008

Smooth Map Scrolling
Script by Toby Zerner
Gives scrolling a 'smooth' effect (deceleration).

This script allows the map to in a way slowly move to adjust to your location when you move. To setup the maps just put the map id's in this line def setup(map_id).
Were map_id is you can put say like 001 for the starting map or 265(i hope someone will not try to make a game with more than 260 maps) to make it smooth scroll.

Just pop this above main and below the default scripts.

Smooth Map Scroll Script