Mario World Map - Flying Style

Get help using Construct 2

Post » Wed May 22, 2013 12:18 pm

Hey guys, I am having trouble getting node based level select functioning. I want the spaceship to move from when node to another when the dpad is pressed.

CAPX

KSLR2013-05-22 12:26:08
B
32
S
9
G
3
Posts: 275
Reputation: 8,063

Post » Wed May 22, 2013 12:48 pm

Easeh , you could put a variable to each node , as the level...

Then , you make a global variable curlevel , and if curlevel = node.level
Player move toward that node !

You can add and substract curlevel at your will
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Wed May 22, 2013 1:02 pm

try the moveto behavior !
B
18
S
6
G
3
Posts: 197
Reputation: 4,129

Post » Wed May 22, 2013 1:12 pm

OK will test out now. Thanks guys.
B
32
S
9
G
3
Posts: 275
Reputation: 8,063

Post » Wed May 22, 2013 1:24 pm

[QUOTE=Whiteclaws] Easeh , you could put a variable to each node , as the level...

Then , you make a global variable curlevel , and if curlevel = node.level
Player move toward that node !

You can add and substract curlevel at your will[/QUOTE]

I have updated the capx with what I think is this method and it does not seem to function for me. Can you take a look and let me know if this is what you mean?


CAPX
B
32
S
9
G
3
Posts: 275
Reputation: 8,063

Post » Wed May 22, 2013 1:27 pm

Ahhhhh I just reversed the variable comparison and now it functions. Thanks for the help White Claws.!!!! :)KSLR2013-05-22 13:27:47
B
32
S
9
G
3
Posts: 275
Reputation: 8,063

Post » Thu May 23, 2013 12:10 am

Call me Whiteclaws , Plain Whiteclaws ...
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589


Return to How do I....?

Who is online

Users browsing this forum: BipolarMike, Televangelist, totoe and 23 guests