Spawn does not pick?

Discussion and feedback on Construct 2

Post » Sun Apr 22, 2012 10:33 pm

Hey guys,

If this was asked before, I couldn't find it.

Quick question: does the "Spawn another object" action pick that object? If not, why not? (seems to me it's not picking it, and the manual says nothing about it)

Thanks!
B
14
S
5
G
7
Posts: 235
Reputation: 5,175

Post » Mon Apr 23, 2012 6:35 pm

I am 99% sure it does.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Tue Apr 24, 2012 6:05 pm

It does, yep. If you spawn a second object though, only that one is picked.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,528

Post » Tue Apr 24, 2012 9:20 pm

I am 99% sure I found a bug, but can't isolate the repro easily and would have to post a big capx. If I get some time later or these days I'll start removing stuff one by one and then take it from there. But the jist of it is this:



To my understanding the disabled line (Spawn) should be equivalent to to the System.Create. However, if I disable the Create and enable the Spawn, the Set bullet angle of motion does not work on the created rocket.

It took me a while to come up with the workaround, please let me know if you have any idea why it wouldn't work with Spawn.

As I said, I cannot repro this on a clean capx.
B
14
S
5
G
7
Posts: 235
Reputation: 5,175


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 15 guests