How do I Space randomized Objects

Get help using Construct 2

Post » Thu Mar 10, 2016 4:53 pm

I am working on this game:
https://www.scirra.com/arcade/other-gam ... -game-6075

I want a way of spacing the randomized taps. Can anyone help?
B
13
S
3
Posts: 22
Reputation: 1,195

Post » Thu Mar 10, 2016 5:10 pm

Here is a post that should be similar (lower half)
viewtopic.php?f=178&t=169622&p=1021125&hilit=loop#p1021125

  • System > On start of layout | system > load game from slot "brain"
  • System > On load failed | system > scroll to obj_Forum
B
17
S
8
G
5
Posts: 340
Reputation: 4,707

Post » Thu Mar 10, 2016 6:12 pm

Thanks you for your help. I read the post, but, it does what my game already does.

The problem is, the taps overlap sometimes. I need help with randomly positioning the holes in the wall, such that, the taps do not overlap when they are spawned.
B
13
S
3
Posts: 22
Reputation: 1,195

Post » Thu Mar 10, 2016 6:55 pm

You should take a look at the second half of the link above

Here there are two post that give you some clues how you could achieve this.
Basically with a loop, Spawn points or is overlapping

  • System > On start of layout | system > load game from slot "brain"
  • System > On load failed | system > scroll to obj_Forum
B
17
S
8
G
5
Posts: 340
Reputation: 4,707


Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 2 guests