Help w/ my RPG

Get help using Construct 2

Post » Wed Aug 15, 2012 10:46 am

so I was making an Isometric RPG
my problem is how do I make my sprite to go to the next layout

http://img825.imageshack.us/img825/3916/87559516.jpg
B
8
S
3
G
2
Posts: 23
Reputation: 2,066

Post » Wed Aug 15, 2012 10:47 am

Easiest solution, put a invisible or visible sprite to the location where the end of your level is, if your character is overlapping the sprite, run the event to go to the next layout.
B
42
S
9
G
6
Posts: 437
Reputation: 5,626

Post » Wed Aug 15, 2012 10:51 am

I'm new here could you make a step-by-step procedures?
B
8
S
3
G
2
Posts: 23
Reputation: 2,066

Post » Wed Aug 15, 2012 10:57 am

but it will appear in vertical center even if you go right on top of previous layout.

the more complex solution is to store your hero's y position in a global value and make something like this:[code]player.x > LayoutWidth - 20
     set global value lastPlayerY to player.y
     go to layout "lay2"[/code]
and in the lay2 layout you should have:[code]on start of layout
     set player.Y to global value lastPlayerY
     set player.X to 20[/code]
ranma2012-08-15 10:59:12
B
81
S
50
G
10
Posts: 555
Reputation: 13,009

Post » Wed Aug 15, 2012 11:56 pm

I don't get it where do I put those codes?
B
8
S
3
G
2
Posts: 23
Reputation: 2,066

Post » Thu Aug 16, 2012 12:01 am

In the cheat code section
B
13
S
3
G
1
Posts: 44
Reputation: 1,152


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 33 guests