The Daily Click ::. Forums ::. Klik Coding Help ::. enemy falling from a platform (ball movement)
 

Post Reply  Post Oekaki 
 

Posted By Message

MasterM



Registered
  02/01/2002
Points
  701

I am an April Fool
1st September, 2005 at 11:30:00 -

my enemies use the normal ball movement and can walk left and right. they will turn the other way when they touch a detector that lets them either go to the left or right.
NOW i want them to fall down if they walk over a platform. that sounds simple, right?
so i said negate if group enemy is overlapping a backdrop set Y of group enemy + 3
so it should do Y +3 the whole time until the enemy is on the ground again.
for some reason nothing will happen-the enemy won't fall at all but he will ignore the detectors and keep on moving in one direction. why?
i only have ONE single line of code which is the negate overlapping a backdrop Y of group enemy +3 one.


 
Image

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
1st September, 2005 at 11:37:03 -

Are you using behaviours? It might be that, or something to do with the qualifiers

 
n/a

MasterM



Registered
  02/01/2002
Points
  701

I am an April Fool
1st September, 2005 at 11:39:30 -

okay i fixed it
negate overlapping value D = 1
if value d = 1 set y of group enemy to y +5
if overlapping a backdrop D = 0


 
Image
   

Post Reply



 



Advertisement

Worth A Click