Containers spawning without reason

Bugs will be moved here once resolved.

Post » Tue Sep 23, 2014 6:37 pm

Hello,

Problem Description
Containers outside of the layout are replicating inside of it without reason. Is there an evil leprechaun inside Cs2 ? :twisted:

Attach a Capx
http://ovh.to/hK6JMTE

Description of Capx
This is a simplified version of a level. Two exemples of the first container are replicating themselves.

Steps to Reproduce Bug
swipe up a few

Observed Result
There are two "beacons" spawning in middle of the screen with the "stone" blocks from their containers.

Expected Result
Nothing, of course.

Affected Browsers
  • Chrome: YES
  • FireFox: YES

Operating System and Service Pack
Windows 7 sp1 into Virtualbox 4.3.16.
Virtualbox running on top of Ubuntu 14.04

Construct 2 Version ID
Release 178 64bits
B
12
S
2
Posts: 29
Reputation: 813

Post » Thu Sep 25, 2014 5:38 am

From the manual:
What containers do

Placing objects in a container has the following effects:

If one object in a container is created, every other object in its container is also automatically created.


Isn't this what is happening?
B
86
S
43
G
71
Posts: 601
Reputation: 43,619

Post » Thu Sep 25, 2014 8:52 am

What object ? Did I make something spawn here ?
B
12
S
2
Posts: 29
Reputation: 813

Post » Thu Sep 25, 2014 10:09 am

Specifically, you have two 'boost0' objects on your layout. When they get spawned during layout creation, the other contained objects will also get spawned, i.e. a Beacon0 and Boost0 for each Stone0. You could move them off screen (in C2 actions) if you wanted to.
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Thu Sep 25, 2014 2:51 pm

Closing, please follow the bug report guidelines and only attach a minimal .capx demonstrating the problem with minimum events and objects. Also as other posts have pointed out it is by design that objects in containers must have one of each instance at all times, and the engine will create any missing instances on startup if necessary.
Scirra Founder
B
395
S
232
G
88
Posts: 24,371
Reputation: 193,762

Post » Thu Sep 25, 2014 6:17 pm

Argll sry, now I understand !
Thank you everyone.
B
12
S
2
Posts: 29
Reputation: 813


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest