error
in the release script the "startDrag" it was "startdrag" this won't work if keep like this
error
in the release script the "startDrag" it was "startdrag" this won't work if keep like this
This and That
I give you an eight because not much was explained, but most of the scripts did work for me. Nice job!
meh
I could get them all to work except the last one. I really don't like how you just gave us the code and was like "you did it!!!!" I mean, at least tell us what it means so we can actually learn it.
Something wrong
I tested to move the thing i draw and it Don't move Its just rotating!
For all having trouble moving object with keys...
THe code on this tutorial does not work. Here is the code to make a moveable object:
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
_y -= 15;
}
if (Key.isDown(Key.DOWN)) {
_y += 15;
}
if (Math.abs(speed)>20) {
_y *= .15;
}
if (Key.isDown(Key.LEFT)) {
_x -= 15;
}
if (Key.isDown(Key.RIGHT)) {
_x += 15;
}
x = Math.sin(_rotation*(Math.PI/180))*_sp eed*-1;
y = Math.cos(_rotation*(Math.PI/180))*_sp eed*-1;
if (!_root.land.hitTest(_x+x, _y+y, true)) {
_x += x;
_y += y;
} else {
speed *= -.8;
}
}
For more speed, mess around with the speed*= -.8; or the _x or _y parts and you should be okay