Flash submissions are emulated via Ruffle. Ruffle is currently in development and compatibility is not guaranteed. Click here for more info.
Just a little actionscript I whipped up to help Jaggers.
Here's the FLA: http://www.savefile.com/files/1768671
Actionscript for the paw:
***
moveUp.onPress = function() {
paw.onEnterFrame = function() {
this._y -= 4;
};
};
moveUp.onRelease = function() {
delete paw.onEnterFrame;
};
moveDown.onPress = function() {
paw.onEnterFrame = function() {
this._y += 3;
};
};
moveDown.onRelease = function() {
delete paw.onEnterFrame;
};
moveRight.onPress = function() {
paw._x += 4;
};
moveLeft.onPress = function() {
paw._x -= 4;
};
rotateCW.onPress = function() {
paw.onEnterFrame = function() {
this._rotation += 3;
};
};
rotateCW.onRelease = function() {
delete paw.onEnterFrame;
};
rotateCCW.onPress = function() {
paw.onEnterFrame = function() {
this._rotation -= 3;
};
};
rotateCCW.onRelease = function() {
delete paw.onEnterFrame;
};
***
(the instance name is paw)
Here's the FLA: http://www.savefile.com/files/1768671
Actionscript for the paw:
***
moveUp.onPress = function() {
paw.onEnterFrame = function() {
this._y -= 4;
};
};
moveUp.onRelease = function() {
delete paw.onEnterFrame;
};
moveDown.onPress = function() {
paw.onEnterFrame = function() {
this._y += 3;
};
};
moveDown.onRelease = function() {
delete paw.onEnterFrame;
};
moveRight.onPress = function() {
paw._x += 4;
};
moveLeft.onPress = function() {
paw._x -= 4;
};
rotateCW.onPress = function() {
paw.onEnterFrame = function() {
this._rotation += 3;
};
};
rotateCW.onRelease = function() {
delete paw.onEnterFrame;
};
rotateCCW.onPress = function() {
paw.onEnterFrame = function() {
this._rotation -= 3;
};
};
rotateCCW.onRelease = function() {
delete paw.onEnterFrame;
};
***
(the instance name is paw)
Category Flash / Paw
Species Skunk
Size 550 x 400px
File Size 4 kB
FA+

Comments