multiple instances

For questions about using Classic.

Post » Thu May 09, 2013 8:34 am

Hi, how I can make multiple instances of the enemy (including his shadow ) and that each one does not move every 3 seconds for example.
I was trying to do with "each for" but i cant do it.
thanks


http://www.mediafire.com/download.php?7lxqn9kg5jqq1xc
B
10
S
4
Posts: 80
Reputation: 1,118

Post » Sun May 12, 2013 6:45 pm

@nihaotomita not sure what you mean, do just want to pause their movement for a certain time?
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Tue May 14, 2013 10:49 am

hello, thanks for reply, I would like to repeat the enemy with his shadow several times and make enemies, and have slightly different behavior between them. They come to the player, will stop every so often and attack. In short, i want to give some variety move to each instance enemy

excuse my English
B
10
S
4
Posts: 80
Reputation: 1,118

Post » Tue May 14, 2013 10:57 pm

Hey! I'd love to help you with your problem, but I have a hard time understanding what are you trying to do exactly (no offense, I know that communicating in English can be difficult for some people :) ) Can you post in points, point after point what would you like to happen in your game? Cheers!
B
4
S
1
Posts: 28
Reputation: 435

Post » Thu May 16, 2013 8:12 am

I want this .Repeat enemy and some random movement of enemies


http://www.mediafire.com/view/?wyz3a413ldg5uyx
B
10
S
4
Posts: 80
Reputation: 1,118

Post » Sun May 19, 2013 2:25 am

You could have a private variable determine their movement, and set it to a random number on spawn time, that way you'd only have to write the code once. I could make a file example if you'd like.
B
6
Posts: 11
Reputation: 272

Post » Sun May 19, 2013 12:45 pm

I would greatly appreciate it. I know that the solution is for private variables but still do not control a lot. Only I make health bars and little more.

B
10
S
4
Posts: 80
Reputation: 1,118

Post » Sun May 19, 2013 9:19 pm

There you are https://docs.google.com/file/d/0B9DuB6trCwQNU1d1VzdWZ0gyOFE/edit?usp=sharing Take in mind it's a little rushed, sorry for the lateness.
B
6
Posts: 11
Reputation: 272

Post » Sun May 19, 2013 9:29 pm

As for changing the movement patterns up, I could whip that up too, but I'm a little very busy (that was a purposeful contradiction used for emphasis), but I could try.
B
6
Posts: 11
Reputation: 272

Post » Sun May 26, 2013 10:15 am

I Know that it is difficult to do and it needs much time but at least I would like to know how repeat the enemy with his shadow correctly. I'm trying with all the possibilities but does not work well
B
10
S
4
Posts: 80
Reputation: 1,118

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests