AS3, line from corner follow mouse tut
oleh Userguy
Add to your home screen for quick access
Install this game
Tap the Share button, then "Add to Home Screen" to install this game for quick access.
AS3, line from corner follow mouse tut
Tag untuk AS3, line from corner follow mouse tut
Deskripsi
Make a line that is following your mouse.
Cara Bermain
Use your eyes.
Komentar
cyber6
Apr. 24, 2010
It's not meant to be a game, as pointed out below me. It's actually quite an interesting idea, so before rating it badly, try it out yourself.
YaGames
Apr. 21, 2010
This is not a game. (That doesn't warrant flagging.) At least the other tuts have some interactivity. (This does.)
symiily
Jun. 27, 2010
To all those guys who says this is not a game, there is actually a own category for tutorials....
gulli_boy
Jun. 24, 2010
just write this:
graphics.lineStyle(2, 0x000000, 1);
stage.addEventListener(MouseEvent.MOUSE_MOVE,moveMouse);
function moveMouse(evt:MouseEvent){
graphics.clear();
graphics.lineStyle(2, 0x000000, 1);
graphics.moveTo(0,0);
graphics.lineTo(mouseX,mouseY);
}
gulli_boy
Jun. 24, 2010
works perfet! ty! userguy!;)