container

For questions about using Classic.

Post » Fri Aug 12, 2011 10:09 pm

I created 2 sprites and placed them above each other on the canvas.
Then I clicked on sprite 1, created a container, together with the 2nd sprite.

I added the event: on start of layout: create sprite 1.
Sprite 1 appeared in the preview, but sprite 2 didn't.
Isn't that supposed to happen, when a container is used?

If it's not, my wish is to place some sprites on the canvas in a way I want them to be displayed (with the correct positions, compared to eachother, kind of like an inventory).
And then when the right event comes along in runtime, I would like the group of sprites to be displayed on the layout, as I placed them on the canvas.
B
16
S
5
G
7
Posts: 599
Reputation: 5,000

Post » Fri Aug 12, 2011 11:02 pm

That's expected behavior. The other objects in the container a simply created, not positioned. That has to be done manually.
B
79
S
24
G
54
Posts: 4,743
Reputation: 40,749


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests