Enemy movements; multiple characters; and for each

Get help using Construct 2

Post » Mon Dec 30, 2013 2:36 pm

(I wasn't sure if I should post a new topic since this is a new question, but I'll just post it here for now)

https://www.dropbox.com/s/4wb280i50dyyk8x/Galah%20Panjang.capx

How do I make each characters respond to touch without all of them doing that at the same time? It caused the characters to overlap each other when I test it. Furthermore, how to spawn the characters on certain spots within an area - in this case random spots inside the 'spawnbox' sprite?
B
6
Posts: 35
Reputation: 375

Post » Mon Dec 30, 2013 3:29 pm

I'm not sure what you are trying to do with your characters family and the player. So I don't know how to assist right now.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Tue Dec 31, 2013 1:41 am

Basically, I want each of the characters to respond to my touch individually rather than all of them respond to it at the same time, which caused each of them to overlap each other (I have only 2 characters so far for testing).

The "Player" is the square area where it enables the 'app mobi' touch.
B
6
Posts: 35
Reputation: 375

Post » Tue Dec 31, 2013 5:31 am

on touching sprite
    sprite pick instance by UID      
    sprite.UID                                (do what you want to do)


   
Image
B
28
S
11
G
2
Posts: 139
Reputation: 3,299

Post » Wed Jan 01, 2014 1:58 am

I couldn't get that to work....But I did try the drag and drop behavior. Managed to make the touching the way I want it. PaletteRider2014-01-01 01:58:54
B
6
Posts: 35
Reputation: 375

Previous

Return to How do I....?

Who is online

Users browsing this forum: plinkie, R0J0hound, SERG 04 and 3 guests