How do I spawn multiple objects at given locations

Get help using Construct 2

Post » Thu Aug 14, 2014 8:28 am

I have an array filled with X and Y coordinate and I want to spawn one object at each of these coordinate at the start of the layer. I did not found a way spawn an object at a given position, is there a way to do it ?
B
4
S
1
Posts: 6
Reputation: 594

Post » Thu Aug 14, 2014 8:40 am

Isn't the System Action 'Create Object' of use? https://www.scirra.com/manual/125/system-actions
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Thu Aug 14, 2014 8:51 am

Yes exactly ! Thank you for the quick answer, that was a rather simple issue now that I think about it :oops:

I have another one though, this allows me to spawn it in a specific location (as I asked) but is there a way to set more than just the position ? for instance set variable or make it spawn with a specific frame ?
B
4
S
1
Posts: 6
Reputation: 594

Post » Thu Aug 14, 2014 8:56 am

wouldn't adding actions to set variable and/or frame do that job?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Aug 14, 2014 9:12 am

Yup everything works. :D
You guys are awesome !

Thanks for the quick reply and the help event though it was realley basic stuff.
B
4
S
1
Posts: 6
Reputation: 594


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go and 7 guests