Er so confused atm

For questions about using Classic.

Post » Tue Jun 22, 2010 3:20 am

I've learned a lot in construct recently,
but something that still bothers me is having a character and having the layout change and keeping the character instead of having remaking the character..
This goes for variables too..
This is global stuff right??
I think I'm just tired and cant think right now but I really need help..
B
2
S
2
G
3
Posts: 140
Reputation: 1,530

Post » Tue Jun 22, 2010 4:45 am

Everything is global and accessible from any layout you just have to create it on the start of the layout.
B
5
S
2
G
4
Posts: 632
Reputation: 2,829

Post » Tue Jun 22, 2010 5:27 am

Hmm..
So If I was to make a stat go up in one layout,
and switch to another layout..
would It stay the same?

Im gonna just tinker around with construct and test this.
B
2
S
2
G
3
Posts: 140
Reputation: 1,530

Post » Tue Jun 22, 2010 10:36 am

Well there is a big difference between a private variable, and a global.
If you change a global variable that value will be the new value in other layouts. If you change a private variable that value will revert to its initial setting..... unless you make the object that the private variable belongs to global.
You see not all objects are necessarily global, but all are usable across all layouts.
I should mention you will probably need to copy and paste an existing object into another layout in order to use it.
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Tue Jun 22, 2010 6:22 pm

Oh alright that makes sense,
I just found myself copying the character events and stuff over to other layouts and didn't know if that was how I was suppose to do it.
B
2
S
2
G
3
Posts: 140
Reputation: 1,530

Post » Thu Jun 24, 2010 6:29 pm

There is an option to both include event sheets in other event sheets, and there is also an option to change the event sheet that the layout is using. The event sheet for the layout is under its properties window on the left, and in the event sheet editor you can right click include event sheet
B
5
S
2
G
4
Posts: 632
Reputation: 2,829


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests