Enter Next Layout? (Event Error/Glitch)

Get help using Construct 2

Post » Wed Feb 20, 2013 6:04 pm

Hey there!

Can't reach next layout. Upon collision with transport object, canvas displays upper-right corner of original layout. See .cap

(Hopefully these work.) /nooblife

Layout 1

https://www.dropbox.com/s/3ra1t3c0s5h35h9/RA%20Game.capx.backup1

Thank you! <3
B
3
Posts: 3
Reputation: 543

Post » Wed Feb 20, 2013 6:05 pm

(And here's the second layout)

https://www.dropbox.com/s/utr6713htmyc5tg/ra%20game%20level%202.capx.backup1
B
3
Posts: 3
Reputation: 543

Post » Wed Feb 20, 2013 10:46 pm

Zizi - it is actually working correctly. If you look at layout 2, you'll see a box surrounded with dotted lines--that's the visible area being shown when you go through the transport. It's defaulting to that position because no events are telling it otherwise.

Also you may want to use the System expression "scroll to object" tied to your Sarah character to keep the focus (use on every tick event). When the game goes to layout 2, there's no events as event sheet 2 needs to contain the same info pertaining to your character. If you look at that layout properties on the left, you'll see it was using "event sheet 2" which is blank.

I made the basic changes for ya.

Here's the modified capx so you can check out the concepts: https://dl.dropbox.com/u/125327365/ragameproj.capxSpace Ape2013-02-20 22:48:18
B
16
S
6
G
2
Posts: 152
Reputation: 3,764

Post » Thu Feb 21, 2013 7:03 pm

[QUOTE=Space Ape] Zizi - it is actually working correctly. If you look at layout 2, you'll see a box surrounded with dotted lines--that's the visible area being shown when you go through the transport. It's defaulting to that position because no events are telling it otherwise.

Also you may want to use the System expression "scroll to object" tied to your Sarah character to keep the focus (use on every tick event). When the game goes to layout 2, there's no events as event sheet 2 needs to contain the same info pertaining to your character. If you look at that layout properties on the left, you'll see it was using "event sheet 2" which is blank.

I made the basic changes for ya.

Here's the modified capx so you can check out the concepts: https://dl.dropbox.com/u/125327365/ragameproj.capx[/QUOTE]

Wow! Thank you so much! You rock. :D
B
3
Posts: 3
Reputation: 543

Post » Thu Feb 21, 2013 7:57 pm

@Zizi - anytime, bro--that's what we're here for, right? If it helps you make better games, then it's worth it.
B
16
S
6
G
2
Posts: 152
Reputation: 3,764


Return to How do I....?

Who is online

Users browsing this forum: Muini, Yahoo [Bot] and 14 guests