The Daily Click ::. Forums ::. Klik Coding Help ::. Wave Direction Change
 

Post Reply  Post Oekaki 
 

Posted By Message

Bjoern



Registered
  08/04/2013 19:51:09
Points
  8
15th May, 2013 at 15/05/2013 20:02:20 -

http://www.mediafire.com/?zy2y6yi6yck9z41

Hello! I can't for my life figure out how to solve this. This is just another version of the "Smooth Direction Change" object and the idea is that the Wave-enemy should "wave-around" like it is doing but he shouldn't go through any blocks on the way up or down. It works horizontal but not vertical. What am I doing wrong or what can/should I change? I've tried with both changing the "Y Start"-value when it is on it's way up and down and I have also tried to change the "Degree"-value, I also tried to change the "Y position" as can be seen in the file but it's just not working at all. Any insight to this problem would be really wonderful.

 
n/a

Bjoern



Registered
  08/04/2013 19:51:09
Points
  8
15th May, 2013 at 15/05/2013 20:03:56 -

Sorry, forgot to say that it shouldn't change direction instantly if possible, only after the usual "time" that it changes up/down.

 
n/a

Bjoern



Registered
  08/04/2013 19:51:09
Points
  8
16th May, 2013 at 16/05/2013 09:36:00 -

http://www.mediafire.com/?c1d92s6dd7y8zz2

It should only move in a wave-like pattern. I have encountered difficulties when using the included sinweave movement and it would be awesome if it could work with the other example because it would probably be very easy to use too!

It should pretty much work like in this example, only that in this example it changes direction very "laggy". Otherwise everything works just as intended.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click