# Questions about random character movement and hit detection for game \[renamed\]

**URL:** <https://forum.kirupa.com/t/questions-about-random-character-movement-and-hit-detection-for-game-renamed/165584>\
**Category:** flash\
**Created:** [October 12, 2005, 9:42am UTC](https://forum.kirupa.com/t/questions-about-random-character-movement-and-hit-detection-for-game-renamed/165584 "2005-10-12T09:42:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![estreal](https://avatars.discourse-cdn.com/v4/letter/e/eada6e/32.png) [@estreal](https://forum.kirupa.com/u/estreal)\
**Post date:** [October 12, 2005, 9:42am UTC](https://forum.kirupa.com/t/questions-about-random-character-movement-and-hit-detection-for-game-renamed/165584/1 "2005-10-12T09:42:18Z")

</div>

Hey every one i was thinking of making a new game where there are rebel smiley men( because i love smileys) and you just kill them and get as high a score as you can.

What i need to know is how i can make them have random movement.  
Not just normal random movment but when it decides to walk up it will change to a different frame within the rebel and make it face the direction of its movment.

i also ened to know if when a mc moves into a invisable barrier or the rebels sight that it will try and kill the mc.

Thanks in advance
