How do I Create a enemy on the last platform created ?

Get help using Construct 2

Post » Tue Mar 22, 2016 3:16 pm

Message: robrey91 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
sorry,I have another question for spawn objects,I would like to create an enemy on the last platform I've been created
for example i have 11 max number of platform created,when the 11 platform was created create a enemy on the 11 platform
example image: http://postimg.org/image/81z44y43x/
B
6
S
1
Posts: 8
Reputation: 366

Post » Tue Mar 22, 2016 5:45 pm

Assuming 'Platform' is the name of your platform object, the last one should be Platform(Platform.count - 1). You can pick it this way, and make it spawn at an offset. If you use a tilemap, i have to think some longer. Its very handy if you make a .Cap with the basics covering your question, so someone can alter it for you.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Wed Mar 23, 2016 2:22 pm

i triyed with platform count but don't work, the object spawn in other position...
(I don't post capx file because the forum don't authorise me)
B
6
S
1
Posts: 8
Reputation: 366


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 62 guests