assuming coins are also in the _root, try changing
toPHP Code:if (_root.player_mc.hitTest(this))
PHP Code:if ((Math.abs(_root.player_mc._x - this._x) < 100) && _root.player_mc.hitTest(this))
|
Results 1 to 11 of 11
Threaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |