Layout Duplication

Discussion and feedback on Construct 2

Post » Wed Dec 19, 2012 9:17 pm

That is weird, I'd suggest posting a bug report then. For the record, I'm using Windows 7 Ultimate 64-bit and running Chrome 23.0.1271.97. Maybe try the same capx on another PC and/or browser, just to reduce the variables?
B
56
S
15
G
10
Posts: 910
Reputation: 11,952

Post » Wed Dec 19, 2012 9:34 pm

Tried with the same Chrome you have and received the same results. I don't have another Windows based PC to try this on. I'll wait and see if anyone else experiences the same issues with the example.
B
17
S
3
Posts: 26
Reputation: 1,972

Post » Wed Dec 19, 2012 9:50 pm

You should post the very capx you do, it's likely there is a slight mistake in it that makes it so that the game is not behaving as expected.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,999
Reputation: 57,793

Post » Wed Dec 19, 2012 9:54 pm

Duplicating the layout doesn't duplicate arrays because they are normally global objects. In that capx the AvailableDirections array is not global but if you change it to global it will work.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,020

Post » Wed Dec 19, 2012 10:05 pm

Kyatric : I did post a link to the example I was using which was a tutorial with a capx I was using.

ramones : Thank you. That indeed corrected the problem. I greatly appreciate you taking the time to find the solution. Many thanks!
B
17
S
3
Posts: 26
Reputation: 1,972

Post » Wed Dec 19, 2012 10:55 pm

Ah, I learnt something new too. Doesn't explain why I had a different result, though, but I guess broken is broken - the fix is the same :P
B
56
S
15
G
10
Posts: 910
Reputation: 11,952

Post » Thu Dec 20, 2012 5:56 pm

I too learned something new. Now I'm going through my own projects to make sure I haven't made similar situations. Thanks for your efforts though
B
17
S
3
Posts: 26
Reputation: 1,972

Previous

Return to Construct 2 General

Who is online

Users browsing this forum: TELLES0808 and 7 guests