Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> Sphere Complete Documentation
Rukiri
post Apr 22 2009, 05:30 PM
Post #1


emerge -avt awesome! Wait... it brings me.... HERE?!
Group Icon

Group: Revolutionary
Posts: 1,723
Type: Scripter
RM Skill: Advanced




Event: Sphere doc
When?: The first week of may, basically when I finish my college finals.

This document will contain.

-Sites that cover sphere
- My own tutorials
- How to build a simple RPG"No battle system"
- 2D Math
- Drawing images when a map is active, and yes I know weird"If you come from another engine"
- RPG Maker like dialog boxes

Sphere is a RPG editor that allows you to create RPGs such as RPG Maker allows you, but unlike RM you're free from limitations as you write your own functions, create your own collisions, animations etc.
But it's editor is very straight foward.


__________________________
Xeilsoft
- Follow your dreams to the very end..

Kits that I'm working on.
[Unity3D 4.0] LTTP/Minish Cap - I don't have time for custom gfx like what the pze folks are doing but I will try and work on some enhanced LTTP graphics.

Main PC
Core i7 3820 overclocked @ 4.8GHZ
Galaxy: Nvidia Geforce GTX 680 GDDR5 2GB
Asrock X79 Extreme9 w' creative sound
64GB corsair platinum @ 1600MHZ
Muchkin 128GB SSD(boot), OZKIN 2TB SSD, Western Digital GREEN 1TB HDD.
Rosewill Lightning 1000W PSU
OS: Funtoo Linux, Windows 8 (Virtual Machine)

iMac (March 2013)
3.4GHz Quad-core Intel Core i7, Turbo Boost up to 3.9GHz
16GB 1600MHz DDR3 SDRAM - 2X8GB
1TB Serial ATA Drive @ 7200 rpm
NVIDIA GeForce GTX 680MX 2GB GDDR5
Go to the top of the page
 
+Quote Post
   
Rukiri
post May 5 2009, 02:26 AM
Post #2


emerge -avt awesome! Wait... it brings me.... HERE?!
Group Icon

Group: Revolutionary
Posts: 1,723
Type: Scripter
RM Skill: Advanced




Tutorial 1: Fading images in/out on the screen.

Note: If you have the map running add
CODE

if (IsMapEngineRunning())
{
   RenderMap() // Allows you to blit images to a map.
}
before you blit the image.

How to use, just add Intro(); before your game begins.
You need 5 images, 0-5, just add the number to the name of the _intro.png image.

CODE
EvaluateSystemScript("time.js");
function Delay(ms)
{
   var until = GetTime() + ms;
   while(until < GetTime());
}

function Intro()
{
   // Intro images
   var intro = []; // JS arrays can be dynamic.
    for(var i = 0; i < 5; i++)
    {
       intro[i] = LoadImage((i).toString() + "_intro.png");
    }

// loop le images
     var tcolor = CreateColor(255,255,255,0);
   var time = GetTime();
   var delay = 500;
     for(var i=0; i < 5; ++i)
     {
     while (tcolor.alpha < 255)
     {
       tcolor.alpha += Math.random(delay+1000*255)
       intro[i].blitMask(0,0,tcolor);
       FlipScreen();
     }
     Delay(1000);

     while (tcolor.alpha > 0)
     {
       tcolor.alpha -= Math.random(delay+1000*255)
       intro[i].blitMask(0,0,tcolor);
       FlipScreen();
     }
     Delay(1000);
   }
    
}


__________________________
Xeilsoft
- Follow your dreams to the very end..

Kits that I'm working on.
[Unity3D 4.0] LTTP/Minish Cap - I don't have time for custom gfx like what the pze folks are doing but I will try and work on some enhanced LTTP graphics.

Main PC
Core i7 3820 overclocked @ 4.8GHZ
Galaxy: Nvidia Geforce GTX 680 GDDR5 2GB
Asrock X79 Extreme9 w' creative sound
64GB corsair platinum @ 1600MHZ
Muchkin 128GB SSD(boot), OZKIN 2TB SSD, Western Digital GREEN 1TB HDD.
Rosewill Lightning 1000W PSU
OS: Funtoo Linux, Windows 8 (Virtual Machine)

iMac (March 2013)
3.4GHz Quad-core Intel Core i7, Turbo Boost up to 3.9GHz
16GB 1600MHz DDR3 SDRAM - 2X8GB
1TB Serial ATA Drive @ 7200 rpm
NVIDIA GeForce GTX 680MX 2GB GDDR5
Go to the top of the page
 
+Quote Post
   
Rukiri
post May 5 2009, 02:38 AM
Post #3


emerge -avt awesome! Wait... it brings me.... HERE?!
Group Icon

Group: Revolutionary
Posts: 1,723
Type: Scripter
RM Skill: Advanced




How to use the random function in sphere.

CODE
var ranattc = Math.floor(Math.random() * 3);
var isintown = false;
var canattc = true;
//actual coding
if isintown=false {
switch (ranattc) {
   case"0" //show attack here; break;
   case"1" //show attack here; break;
   case"2" //show attack here; break;
  }
}
if isintown=true {
   canattc=false;
}
else if isintown=false {
   canattc=true;
}
//end random code


__________________________
Xeilsoft
- Follow your dreams to the very end..

Kits that I'm working on.
[Unity3D 4.0] LTTP/Minish Cap - I don't have time for custom gfx like what the pze folks are doing but I will try and work on some enhanced LTTP graphics.

Main PC
Core i7 3820 overclocked @ 4.8GHZ
Galaxy: Nvidia Geforce GTX 680 GDDR5 2GB
Asrock X79 Extreme9 w' creative sound
64GB corsair platinum @ 1600MHZ
Muchkin 128GB SSD(boot), OZKIN 2TB SSD, Western Digital GREEN 1TB HDD.
Rosewill Lightning 1000W PSU
OS: Funtoo Linux, Windows 8 (Virtual Machine)

iMac (March 2013)
3.4GHz Quad-core Intel Core i7, Turbo Boost up to 3.9GHz
16GB 1600MHz DDR3 SDRAM - 2X8GB
1TB Serial ATA Drive @ 7200 rpm
NVIDIA GeForce GTX 680MX 2GB GDDR5
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 22nd May 2013 - 01:45 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker