00:00
00:00
View Profile Christicle
Mainly focused on Actionscript and game creation, although always loves making a good, violent movie.

Age 34, Male

Student

Riverdale

New York

Joined on 5/11/08

Level:
10
Exp Points:
930 / 1,110
Exp Rank:
70,896
Vote Power:
5.19 votes
Rank:
Scout
Global Rank:
35,276
Blams:
111
Saves:
155
B/P Bonus:
4%
Whistle:
Normal

Games, Games, and More Games

Posted by Christicle - June 1st, 2008


Well between sniper, platformer, and a kind of defence game, I've been making a lot of progress in my re-emergence into Flash.

The only problem is in all three I cant get hitTests to work. Dammit!


Comments

How does one code without hitTest?!

if(this.hitTest(_root.nameOfObejct)){
_root.shitHappens=true;
}

if(_root.taco.hitTest(_root.player)){
woot();
}

if(_this.hitTest(_root.player._x,_roo t.player._y,true)){
trace("That was a shapeflag hitTest, it hitTests on the x inside your movieclip");
}

Yay for coding to you at 6 AM when I haven't slept yet, time to go finish my real coding on my game, good luck with the learning of AS, it's good stuff once you come to grasps with it.

Thanks a lot, and good luck with [whatever you're doing] too! I've tried probably 6-10 variations on the basic hit test, yet nothing worked. Might as well keep trying!