Monster Racer Rush
Select between 5 monster racers, upgrade your monster skill and win the competition!
4.18 / 5.00 3,534 ViewsBuild and Base
Build most powerful forces, unleash hordes of monster and control your soldiers!
3.80 / 5.00 4,200 Viewsi can't seem to figure out how this should work. What i'm trying to do is create a hittest that's a certain length and not just a single coordinate.
if(this.hitTest(_root.box._x, _root.box._y>0, true)&&this.hitTest(_root.box._x, _root.box._y<50, true)){
this.dosomethingcool("pls");
}
with this script, instead of the guy hitting the coordinates of the box, it's only reacting to the coordiantes of the stage. How do i use greater than and less than for stuff like that?
You can't.
You need to define certain points at a distance apart, or use a for loop.
Song of the Firefly is on Steam Greenlight and Kickstarter. Give them a look and support the project!
------------------------------
damn there goes my plans for the hittests. It'll probably work better if i use invisible mc hittests rather than having a bunch of loops running though