Posted By
|
Message
|
en kerro
Registered 21/10/2004
Points 578
|
15th February, 2005 at 11:18:58 -
I wanted to add a new feature to my recent project, Forgotten Legends but I need help. Problem is this:
Example: When character leaves play are on right, you go to next level. When character leaves play are on left, you go to previous frame. BUT, when character goes to previous level, it starts from play area's Left side, not in right side where character have to be. Understood? I want to set a new position to character when it RETURNS to previous level, but NOT when goes to level from other side. I tried to use global values but I failed. HELP!!!!!!
aargh
Current Projects: The Artillerys 10% Forgotten Legends 8% Earth Defender 20%
|
Deleted User
|
15th February, 2005 at 11:33:55 -
Use counters or Ini. That should work.
|
Al
Registered 03/01/2002
Points 110
|
15th February, 2005 at 14:36:21 -
I usually use Global Values but you can use an INI like Dark Templar suggested.
n/a
|
Klikmaster Master of all things Klik
Registered 08/07/2002
Points 2599
|
15th February, 2005 at 14:55:41 -
use a global value, do something like set the value to 1 if you leave on the left, or 2 if you leave on the right. Then in the next/previous frame, set the players position to the left if the value is 2 or to the right if the value is 1
n/a
|
ChasetheCheese
Registered 17/08/2004
Points 83
|
15th February, 2005 at 17:57:46 -
What killmaster said, use a global value to determine wether a character is leaving the frame on the north east south or west. example: 1=north, 2=east,3=south,4=west.
Now at the start of the level, do something like: Global value 1=1: set position to (north), 1=2 set pos east etc.
Now when it leaves on the west for example, it needs to be made clear where the position in the next frame will be. So: Player leaves play area on the left: next level + set global value 1=2 (2 being the east define thingy)
Hope this was of any extra help
Why, Creativity is my middle name!
|
en kerro
Registered 21/10/2004
Points 578
|
16th February, 2005 at 02:38:14 -
Thanks. I succeed that...
Current Projects: The Artillerys 10% Forgotten Legends 8% Earth Defender 20%
|
|
|