00:00
00:00
4everZer0
Games? no I have no given up on them, but... trying to make it perfect does a number on one's sanity... so I have resorted to drawing manga to retain said sanity :D

Ron Stafford @4everZer0

Age 34, Male

Installing Clowns

Stamford Collegiate

Niagara Falls

Joined on 5/12/08

Level:
8
Exp Points:
675 / 710
Exp Rank:
> 100,000
Vote Power:
5.06 votes
Rank:
Portal Security
Global Rank:
23,365
Blams:
67
Saves:
362
B/P Bonus:
8%
Whistle:
Normal
Medals:
207

CODE!

Posted by 4everZer0 - November 10th, 2008


I'll try again, I need code for action script 2.0 *fuck 3.0*
I can get collision detection when I have my "character" touch a wall, the only problem is that nothing I try will actually stop him from going through the wall, could you help me out?

ps. IF YOUR GONNA GIVE ME SOME DUMBASS INFERIOR REMARK, GO HEAD, PROVE WHAT MY LAST POST SAYS ABOUT YOU!

thank you.


Comments

try watching porn. always helps.

Nahh

if(this.hitTest(wall))
{
if (this._x < wall._x)
{
this._x = (wall._x - wall._width/2) ;
}
}

its unchecked as im temporarily away fomr flash, but theoretically, it wont be able to walk thru the wall if its on the left side of it. Easily fixed with another if statement. There are better ways of course

thats for the flash...and the advice >.>
:D