View Full Version : help for a game i am making
cxn926
04-09-2005, 10:36 PM
i want to make it in my game so when it can exit a place by walking sideways into a new room....or something
i hope you understand cause it is hard to explain for me
snapple
04-09-2005, 10:50 PM
Are you serious?
cxn926
04-09-2005, 10:54 PM
yea..im new so ya
snapple
04-09-2005, 10:54 PM
How the hell is anyone supposed to answer, or in anyway help with a statement (because you have not asked a question) that doesn't even come close to making sense?
cxn926
04-09-2005, 11:10 PM
pretend you are the player. you start walking right. i want it so when you get to the edge of that frame i go to another frame
jsebrech
04-09-2005, 11:21 PM
You test if you hit the edge by comparing the coordinates of your player movieclip with that of your room movieclip. Then you hide the current room movieclip, show the new room movieclip, and move your player to the other side of the room.
If you don't know what I mean, read up on actionscript first, because you're in way over your head.
Update:
Just noticed you wanted to do it with frames, that means instead of hiding the current room's movieclip, you simply move to the new frame with gotoAndPlay and you move the player movieclip there to where ever you need it (possibly keeping track of where to enter into the room in a global variable)
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.