-
Senior Member
ThankZ alot Derek i didnt see the minus. hehe..
_root.walls._x-=x;
_root.walls._y-=y;
thanks alot man that helped alot.
-
x2i
Movement W/ Boundarys
Here's a simple program that moves a character in 8 directions and prevents him from walking through walls.
Just add more walls to create things like mazes, the actual coding that prevents thehero from walking through walls is assigned to the wall MC already on the stage so just copy and paste either the existing walls or the coding.
-
Senior Member
ThankZ
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|