On-Screen Spawn Problem (SOLVED)

Get help using Construct 2

Post » Tue Jun 18, 2013 7:27 am

Hello, I'm trying a basic shoot em up game, there a problem it can spawn 5 enemy ships from first spawner, then second and third spawners won't work.

Would you give me an explanation why is not working? It seems a reasonable logic, but it gave me neck pain.


Here is .capx

https://dl.dropboxusercontent.com/u/76227787/spawnProblem.capxJoannesalfa2013-06-18 21:28:56
B
91
S
31
G
29
Posts: 3,129
Reputation: 27,789

Post » Tue Jun 18, 2013 8:22 am

I'd do it something like this:



Spawned is a boolean instance variable that starts as false.
B
24
S
8
G
7
Posts: 756
Reputation: 7,242

Post » Tue Jun 18, 2013 9:28 pm

@vee41 Thanks!

I didn't know about the booleans are nice workaround than numbers.
B
91
S
31
G
29
Posts: 3,129
Reputation: 27,789


Return to How do I....?

Who is online

Users browsing this forum: Kyatric, oddreal, oosyrag, waguilar and 3 guests