How do I make common event sheet that work in all Layouts?

Get help using Construct 2

Post » Sat Dec 27, 2014 9:49 am

How do I make common event sheet that work in all Layouts?
Its all what I want say: How to make that???
I mean like some events are in just one layout and some are in all.
Please help me!!! :(
Sorry for my bad english. :roll:
B
8
S
1
Posts: 41
Reputation: 550

Post » Sat Dec 27, 2014 10:07 am

just create a new event sheet with the functions or events you want to share
then just "include" the event sheet.

https://www.scirra.com/manual/82/includes
B
7
S
3
G
1
Posts: 184
Reputation: 1,352

Post » Sat Dec 27, 2014 10:19 am

Thanks!!!
But how to make that with objects?
B
8
S
1
Posts: 41
Reputation: 550

Post » Sat Dec 27, 2014 4:21 pm

copy-paste the object to the new layout, if you make changes on the object on layout 1 it will change the object on layout 2 too
Read this:
yeah, i really like to say that you should "Read this:"
B
13
S
6
Posts: 138
Reputation: 1,615

Post » Sat Dec 27, 2014 4:24 pm

ok
B
8
S
1
Posts: 41
Reputation: 550

Post » Sat Dec 27, 2014 5:49 pm

yup, as long as the objects exist in the layout, then the included events will work. if they do not, you can get weird effects as the object will not exist and thus event checks on those objects will always return false

R
B
7
S
3
G
1
Posts: 184
Reputation: 1,352


Return to How do I....?

Who is online

Users browsing this forum: Felipiwi and 25 guests