Properties of spawned objects

For questions about using Classic.

Post » Fri Apr 02, 2010 2:02 am

Construct seems to act weird when spawning new objects.

For example:

I have a Bullet object I created on one layout and I'm using it on another layout too (and it'll be used on pretty much every layout since it's a bullet...). I was on the second layout and changed the properties of the bullet to make it bigger. When bullets shoot from the gun, they are set to the properties of the bullet object created on the first layout and therefore, the bullet size did not change.

This seems...bad. Is there a way to actually control these objects besides remembering which object was originally created on which layout? Maybe there could be added a control thing to change properties of the "Object Base" rather than having the base object contained in one of the layouts? =/
B
2
S
2
G
2
Posts: 372
Reputation: 1,794

Post » Sat Apr 03, 2010 2:59 pm

Why don't you just set the size on creation?
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Sat Apr 03, 2010 4:51 pm

Because they should really spawn the correct size, not make me change it every time one spawns. Anyway, I found a way to work around this whole thing.
B
2
S
2
G
2
Posts: 372
Reputation: 1,794


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 7 guests