How do I respawn bomb at a time I want.capx included.

Get help using Construct 2

Post » Mon Mar 28, 2016 11:16 pm

Message: roxy10 can only post plain text URLS until they have 500 rep. 2 URLS modified. Why?
Hi, I'm new here. I'm roxanne and have been trying to learn construct for the last 2 months.
My problem is this.
I have a basic match 5 game. You match 5 same colors and earn points. once the board is full game is over.
You can view the game here, http://www.dbloops.com/qumee2
The capx is here, http://www.dbloops.com/qumee2/qumee.capx

I have a bomb that when you touch, click on. it destroys my set amount of random tile objects. This works fine.
My problem is that when I use the bomb and make a new move the bomb is back at the same position. I dont want this. I would like the bomb to respawn after anything like a a set mount of Time, Score, ect. Plus I would like it to be randomly placed on the board. Any Ideas are very welcome.
Thanks
B
4
S
1
Posts: 2
Reputation: 304

Post » Wed Mar 30, 2016 6:59 am

It appears you are using a lot of plugins, so I'm not gonna download them to run the CAPX.

I'm guessing that all you need to do though is have the game spawn at a random(0,WindowWidth) and random(0,WindowHeight).

Thisis an example of what I mean, and as for score, just create a variable for the sprite.
Using R243 for all examples
B
69
S
20
G
6
Posts: 379
Reputation: 9,701

Post » Fri Apr 01, 2016 7:01 pm

Couldnt get this to work emoaeded. I'm still playing with it tho.
B
4
S
1
Posts: 2
Reputation: 304


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests