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
> [SSS] Balloon Switcher, Use multiple balloon sheets.
Shanghai
post Jun 1 2010, 02:19 PM
Post #1


Level 31
Group Icon

Group: Revolutionary
Posts: 747
Type: Developer
RM Skill: Skilled




Shanghai Simple Script - Balloon Switcher
made by Shanghai



Link/Script
Click here

Introduction
Use this call script event to change the balloon sheet:

CODE
name = "BlueBalloons"
$game_system.balloon_sheet = name


It will change the current balloon sheet to the new one and the next balloon that's used will use the new balloon sheet.

Here's a sample balloon sheet.



Balloon sheets must be placed inside of the Graphics\System folder.

Compatibility
This script is not compatible with needles or cactrots or cactrots with needles.

For more Shanghai Simple Scripts
Visit Here.


__________________________
Go to the top of the page
 
+Quote Post
   
archeart
post Jun 2 2010, 03:04 AM
Post #2


Level 8
Group Icon

Group: Revolutionary
Posts: 118
Type: Developer
RM Skill: Intermediate




ah this looks nice but one question lets say I want to change the color of the balloon?

do I need to script it or just change the color of the balloon?


__________________________

Go to the top of the page
 
+Quote Post
   
Garlyle
post Jun 2 2010, 12:26 PM
Post #3


RRR's little gay boy
Group Icon

Group: Revolutionary
Posts: 3,375
Type: Developer
RM Skill: Advanced




QUOTE (archeart @ Jun 2 2010, 04:04 AM) *
ah this looks nice but one question lets say I want to change the color of the balloon?

do I need to script it or just change the color of the balloon?
Assuming I'm understanding the script itself right, the color has nothing to do with what's actually written in the script. It's jsut a title.

Here's the deal: What the script does is change what file sheet the game's looking at. In this case, the file sheet with the blue balloons is "blueballoons.png". When the script call is done, it tells the game to look for an image named "blueballoons" from now on, instead of just the normal one. You can change it back by telling it to look for the original, simply by changing the name in quotes.

If you wanted to have a third sheet that was, for instance, a bunch of green balloons, you could save it in your system folder as "greenballoons.png", and then the call script would look like

CODE
name = "greenballoons"
$game_system.balloon_sheet = name


...I hope I got that right?

This post has been edited by Garlyle: Jun 2 2010, 12:26 PM


__________________________
RRR 2006 Awards: Best Topic Starter, Ultimate Debater, Most Likely To Bail You Out of Jail, and Most Likely To Become Ruler of the World.
RRR 2007 Awards: Master Debater, Elite Gamer, and Uber-Nerd
RRR 2008 Awards:
Former staff member - VG Hub & General maker discussion
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: 23rd May 2013 - 02:53 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker