Enemy is not moving as I expected, any help?

Get help using Construct 2

Post » Sun Aug 04, 2013 5:15 am

So, here are the events I setted up for my "Enemy",
is just really random and basic, to see how it works.



I created a sprite called "Mob",
then created an instance variable called "MobMov" and setted to start with the value "derecha" (right).
The sprite also got platform behaviour with default control set to off.



So my intention was to generate a mob near my character every second (just to see if they spawned), and that was the first problem, it just spawns 1 mob. Not more.

Then the idea was to randomly move left-right every 1 to 10 seconds,
so if the mob was walking to right, every 1 to 10 seconds it would change and walked left.
But it appears, go right, a second later go left, and then never goes right again.

So..
what am I doing wrong? xD

Thanks! :)

EDIT:

"Mover" is the playable character,
and "Block" is the ground.
So Mover.X is where my character is on X range.
And Block.Y-100 is to generate it above the ground,
and fall to ground.martinx092013-08-04 05:20:08
B
6
S
1
Posts: 67
Reputation: 636

Post » Sun Aug 04, 2013 5:26 am

I feel so stupid,
saw the picture of the events,
and notice that there's just 1 "every x seconds" event,
and the others are "set time".
There's my error,
so sorry for making a non-sense thread. xD
B
6
S
1
Posts: 67
Reputation: 636


Return to How do I....?

Who is online

Users browsing this forum: Goomba, Zaksoid and 10 guests