Random movement for a side scroller game [SOLVED]

I read a lot of forums regarding random movement (most of which mentioned the “move to random positions extension”), but every single one is for top-down movement, while i want random movement only on the X axis. Also i want the character to glide to the position, not just straight away. Is there any method to do this?

I’d look at using RandomNumberInRange(min, max) to determine the position, and then using a positional tween to move the character (add Tweening behaviour to your character to get the tweening functions/actions).

1 Like

Thank you! This actually worked :). I never tried to use the tweening behaviour!