Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > Zelaron Gaming > RPGMaker

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next

 
Male and Female characters long-winded teleporting codes. Any way to cut them down?
Reply
Posted 2004-08-30, 05:52 AM
At the start of my game I have the option to change the main character from male to female, depending on your preference. Each gender has 4 different sprites. These 8 sprites are copied and made smaller for use on the World Map. This means though, that my code when teleporting to different places from the world map is extremely long-winded, using 8 different branches with 8 different switches:

<>Branch if Switch [0001:Azrael Male 1] is ON
<>Change Sprite Association: Azrael Hero 1-1
<>Teleport: 0003:Forest(0003,098), Retain Facing
<>
: Else Handler
<>Branch if Switch [0002:Azrael Male 1] is ON
<>Change Sprite Association: Azrael Hero 1-3
<>Teleport: 0003:Forest(0003,098), Retain Facing
<>
: Else Handler

...and so on.

Is there any way to cut this down, without actually creating 8 different characters for just the one main character???

Last edited by Lenny; 2004-08-31 at 06:42 AM.
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 01:52 PM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.