Enemy movements; multiple characters; and for each

Get help using Construct 2

Post » Tue Dec 17, 2013 12:18 pm

You mean like this?

B
6
Posts: 35
Reputation: 375

Post » Tue Dec 17, 2013 12:45 pm

No, that's not it, That's an event without any actions attached, so essentially useless for it doesn't do anything.

Right click on the x<charavters.x and add another condition enemy boolean has target and do the same for the x>characters.x

That should help with having only having the enemies with target set to true follow the player.
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 17, 2013 12:47 pm

Also you probably shouldn't deactivate the group has no target, for there are still enemies that don't have target, right?
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 17, 2013 1:34 pm

Wow!! It finally worked like the way I wanted!! Thank you so much!

I tested with the not deactivating group has no target but somehow no difference. I'll test that again tomorrow. Calling it a night. :)
B
6
Posts: 35
Reputation: 375

Post » Wed Dec 18, 2013 3:04 am

Is it possible to make the third enemy to move in the directions of those red lines using pathfinding? (At the same time, I don't want to complicate myself with so many Behaviors... :P )
B
6
Posts: 35
Reputation: 375

Post » Wed Dec 18, 2013 2:38 pm

Been working on my file the whole day; I finally managed to make the third enemy move in the pattern I wanted - sort off.

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

Anyway I can make the movement and events for it smoother?
B
6
Posts: 35
Reputation: 375

Post » Wed Dec 18, 2013 2:59 pm

Hi PaletteRider!

Are you from Indonesia? Your game is an Indonesia traditional game! Galah Panjang, yeah!

Gamenya keren! Tapi, maaf ya saya kayaknya ga bisa bantu. Soalnya masih baru juga, hehe ini saya lagi proses pembuatan game rasa indonesia juga, bernama "Pemulung". Maaf ya ga bisa bantu, tapi mungkin sobat bisa bantu saya scirra.com/forum/how-to-make-the-ai-cars_topic83004.html
Creating games makes your imagination realized
B
14
S
4
G
1
Posts: 55
Reputation: 1,130

Post » Wed Dec 18, 2013 10:29 pm

Hi!

No, I'm Malaysian. And Galah Panjang is also one of traditional Malaysian (kampung) games.

(I'll see what I can do to help you; I'm still new myself).
B
6
Posts: 35
Reputation: 375

Post » Thu Dec 19, 2013 3:28 am

@PaletterRider: Oh, sorry.
Creating games makes your imagination realized
B
14
S
4
G
1
Posts: 55
Reputation: 1,130

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

PreviousNext

Return to How do I....?

Who is online

Users browsing this forum: mcscooter and 25 guests