Creating object not twice at same place

Get help using Construct 2

Post » Tue Feb 07, 2012 9:52 pm

Hi

I have an object "ball", that is randomly created on my screen.
How can I create another instance of this object, anywhere but not at the same place like my first instance?

Thanks a lot!
B
20
S
2
G
2
Posts: 34
Reputation: 2,525

Post » Tue Feb 07, 2012 11:21 pm

After a bit of thinking, I came up with the best simple way that I could do it without going into advanced algorithms. There are 2 events.

http://dl.dropbox.com/u/41931267/Ball_spawner.capx

It should work well unless you need to comprehensively cover every spare space on the screen.
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400

Post » Tue Feb 07, 2012 11:25 pm

Haha, that's pretty cool sqiddster. I admit, I ran it and sat there watching the screen fill up completely... twice.
B
20
S
9
G
6
Posts: 607
Reputation: 6,112

Post » Wed Feb 08, 2012 7:27 am

Wow that looks great :D

And works pretty well too
I thought its way more difficult, but you solved it with 3 simple lines >.<

Big thanks
B
20
S
2
G
2
Posts: 34
Reputation: 2,525

Post » Wed Feb 08, 2012 11:48 am

@sulley, it is quite addictive, eh ;)
@Geru, no problem, have fun!
B
90
S
30
G
24
Posts: 3,189
Reputation: 32,400


Return to How do I....?

Who is online

Users browsing this forum: anty21ro, Braus, Zebbi and 6 guests