How do I solve this game scenarios?

Get help using Construct 2

Post » Mon Nov 03, 2014 4:21 am

How do I solve this? I had created layout1 and event1, now I created layout2 and event2. How do I link these two together? Thank you in advance.
B
4
Posts: 3
Reputation: 439

Post » Mon Nov 03, 2014 4:25 am

Highlight layout1 in right pane. Now set the Event Sheet choice in the Layout Properties. Repeat for layout2.

If you want to include the events from one in another you can add an #include to reference the other. That works well if you want to make say a GlobalEventSheet or GlobalVariables eventsheet

Hope this helps.
Image
B
36
S
14
G
11
Posts: 142
Reputation: 8,465

Post » Mon Nov 03, 2014 4:54 am

Gillis wrote:Highlight layout1 in right pane. Now set the Event Sheet choice in the Layout Properties. Repeat for layout2.

If you want to include the events from one in another you can add an #include to reference the other. That works well if you want to make say a GlobalEventSheet or GlobalVariables eventsheet

Hope this helps.


Thank you for tips. Precisely what I have in mind is, like layout1 and event1, say world1, that have different background and event, while layout2 and event2, say world2, how do I link this two together. In term of game play, player can move between two world, back and forth while maintaining character attributes.

Thank you again in advance.
B
4
Posts: 3
Reputation: 439

Post » Mon Nov 03, 2014 5:05 am

One way would be to create a solid color 'box' image as an object and set the collision event to "goto layout". Once everything is set change the opacity of the box to 0 so it is invisible. Or you could add a door image. Store any value you don't want to lose in a global variable or global array. Thats it!
Image
B
36
S
14
G
11
Posts: 142
Reputation: 8,465

Post » Mon Nov 03, 2014 7:03 am

Gillis wrote:One way would be to create a solid color 'box' image as an object and set the collision event to "goto layout". Once everything is set change the opacity of the box to 0 so it is invisible. Or you could add a door image. Store any value you don't want to lose in a global variable or global array. Thats it!


Thank you for the tips.
B
4
Posts: 3
Reputation: 439


Return to How do I....?

Who is online

Users browsing this forum: Chris Chan and 27 guests