Save-Point
Graphics Slider - 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)
+---- Forum: RPGMaker XP (RGSS) Engine (https://www.save-point.org/forum-116.html)
+---- Thread: Graphics Slider (/thread-236.html)



Graphics Slider - Kread-EX - 05-11-2010

Graphics Slider

Version: 1.0 Initial release

Author: Kread-EX

Release Date: 11/05/2010


Introduction
This is a simple scripting tool to move easily windows and sprites across the screen. It works for XP and VX and is easier to use than Trickster's Moveable Module (included in the MACL). Also, this script will never give you a ZeroDivision error, since no division is performed.

Instructions
Four methods to know:

Code:
x_slide(new_x, incrementation) # Horizontal sliding
y_slide(new_y, incrementation) # Vertical sliding
bi_slide(new_x, new_y, x_incrementation, y_incrementation) # Horizontal + Vertical
is_sliding? # Query to check if there is a slide in progress

Script
Just here.

Compatibility
If you're not using the SDK or the MACL, you shouldn't have any compatibility problem.

Terms and Conditions
You are free to adapt this work to suit your needs.
You can use this work both for commercial and non-commercial work.
Credit is appreciated.