View Full Version : another RPG question
Reginald
01-16-2004, 12:03 PM
right, when the guy i have enters the battle screen and then wins, he goes back to the running around screen
how do i get it so his postion in the running around screen is the same as before he entered a battle?
thanks
SeiferTim
01-16-2004, 02:44 PM
That's easy. At the point when you are switching from Map mode to Battle Mode, set two variables (like PointX, and PointY) to the current X, Y of the character. When coming back from battle, set your Clip's X, Y to the variables you set earlier. I would make a PreBattle, and PostBattle function to handle these, and other variable changes.
It would probably be a good idea to make a whole other Frame, or use LoadMovie to seperate the battle Mode from the Map mode, but it's up to you.
Reginald
01-16-2004, 03:32 PM
i tried that but couldnt get it work, now ive tried again and got it to work, mad.
Cheers btw
SeiferTim
01-16-2004, 05:20 PM
Cool. I forgot to mention that you'd probably want them to be Global Variables. If you have a sample of your game, I'd like to take a look at it this weekend. :)
Reginald
01-16-2004, 05:22 PM
i havnt done that much so far, when ive done enough, ill post it
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.