Save-Point
SLOLS: Snake Look-alike on Load 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: SLOLS: Snake Look-alike on Load Script (/thread-2486.html)



SLOLS: Snake Look-alike on Load Script - Zeriab - 03-06-2008

Snake Look-alike on Load Script
Version: 1.0

Introduction

The SLOLS has been made by Zeriab.
Thanks goes to RMXP for making this possible
Credits should be given.

The purpose of SLOLS is to provide the player an opportunity to interact with something during loading sequences. I think the loading time will not seem as long as normally if the player as something to do while the program is loading.
They don't experience the time it takes to load as bad even though the script reduced the loading speed.
In the game itself the principle is to collect dots by moving a bigger dot into them. There is no time limit. There is no way to die or get stuck or etc. Steering is done by the arrow keys.
When the loading is finished a sound will be played and visual aids will be used to let the player know that the loading is finished.
The player can then continue by pressing a trigger key (fx. ENTER)
There is no need to press enter. The player can play the game as long as he or she wants unless the script loaded does something that changes this.

Screenshots

[Image: screenbq7.th.png]

Demo

The demo has been combined with my Letter Ninigame to show a example of use.
If the Letter Minigame is used credits mentionen in the Letter Minigame should be given.

Download: http://bb.xieke.com/files/SLOLS.rar

Script

Scene_SLOLS

Window_SLOLS_Bar

Window_SLOLS_Game

Window_SLOLS_Info

I have collected them all in 1 file which can be downloaded here: http://paste-bin.com/view/4e3b2236

Instructions
You must have these pictures in your graphics\pictures folder or the arrow keys shown on the picture will be missing:
[Image: Down_Arrow.png] [Image: Left_Arrow.png]
[Image: Right_Arrow.png] [Image: Up_Arrow.png]

The Script:
This script used the global variable $loader.
It can run without $loader being initialized in which case the script considers the loading as done.
To use $loader you must set it to a Thread. The syntax is:
Thread.new( [arg]* ) {| args | block } -> aThread (Reference)

An example:
$loader = Thread.new { MyClass.new }

To get the SLOLS scene use this syntax:
$scene = Scene_SLOLS.new(scene=Scene_Map.new)
scene will be used to set the scene that comes after Scene_SLOLS. The scene to be used after finished loading and player pressing trigger.

An example; syntax for standard scene: (Scene_Map)
Code:
$scene = Scene_SLOLS.new
# or
$scene = Scene_SLOLS.new(Scene_Map.new)
The script will store the amount of dots in the variable number specified by Cheese_Variable in Scene_SLOLS. (Near top)
There also are the Margin (in pixels) and the Border_Thickness (in pixels).
Changing these may break the design. The info bar with the instructions is a bit fragile.

FAQ

None yet

Compatibility

Should be independent which increases compatibility.

Credits and Thanks

I would like to thank everyone using their time to try and use SLOLS.
I would like to thank everyone reading this topic.
Thanks.

Author's Notes

I don't recommend letting the script being 'loaded' change the $scene as makes the SLOLS stop rather suddenly from my point of view (Players position).

And finally: ENJOY!

- Zeriab


SLOLS: Snake Look-alike on Load Script - neonjosa123 - 10-29-2009

Is this Plug and Play?


SLOLS: Snake Look-alike on Load Script - Zeriab - 10-29-2009

You have to use a script like
Code:
$scene = Scene_SLOLS.new

But otherwise it's plug and play ^^

Note that variable 25 is used if you simply plug it in.

*hugs*


RE: SLOLS: Snake Look-alike on Load Script - LiTTleDRAgo - 05-14-2017

Just want to share...
I edited this script so it will load windowskin arrows if no arrow images in Graphics/Pictures.

[Image: lilERLXs.png]
http://i.imgur.com/lilERLX.png

SLOLS XP

Also..... VX ACE version :

SLOLS VXAce