for gravity you should just do...
if(this._y>400){
this.__y = 400
}
then for walls, you should do something like...
if (this.hittest(_root.wall)){
this._x -= 2
}
|
Results 1 to 4 of 4
Thread: [F8] Gravity/Ground and WallsThreaded View
|
Click Here to Expand Forum to Full Width |