Important Note!:
The higher your "shootLimiter > x" 'x' is, the slower the bullets will be released (the more frames it will have between each bullets).
@Hitandrun
1. Save!
2. Make sure your Ship.as is in the same folder with the Ship.fla
3. Make sure that the class Ship is the exact same (caps) as the .as file.
4. else, pm me
All right, i got this code: class Ship extends MovieClip { var velocity; function onLoad() { velocity = 10; } function onEnterFrame() { _x += velocity; } } Note that the _x is += (adding) velocity, and not becoming itself + velocity, Try this. then try to make the ship as an instance name (SHIP). If nothing works. pm me.
KEEP THE COMMENT ALIVE! [+].
PM me for help ^^
All right, i got this code:
class Ship extends MovieClip
{
var velocity;
function onLoad()
{
velocity = 10;
}
function onEnterFrame()
{
_x += velocity;
}
}
Note that the _x is += (adding) velocity, and not becoming itself + velocity,
Try this. then try to make the ship as an instance name (SHIP).
If nothing works. pm me.