AS3, line from corner follow mouse tut

AS3, line from corner follow mouse tut

by Userguy
Report a bug
Flag Game
โญ Top
SAS: Zombie Assault 4
โญ Top
Kingdom Rush
โญ Top
Retro Bowl
โญ Top
Fleeing the Complex
โญ Top
Learn to Fly 2
โญ Top
Mutilate-a-Doll 2
โญ Top
Kingdom Rush Frontiers
โญ Top
Learn to Fly 3
โญ Top
The Enchanted Cave 2
โญ Top
Bloons Monkey City
โญ Top
Escape Game - Computer Office Escape
๐Ÿ”ฅ Hot
NGU IDLE
โญ Top
Epic Battle Fantasy 4
โญ Top
Bloons TD 5
โญ Top
Bit Heroes
โญ Top
The King's League: Odyssey
โญ Top
Swords and Souls
โญ Top
Epic Battle Fantasy 5
โญ Top
UnpuzzleX
โญ Top
Incremancer
Loading ad...

AS3, line from corner follow mouse tut

Rating:
2.1
Released: April 21, 2010
Last updated: April 21, 2010
Developer: Userguy

Tags for AS3, line from corner follow mouse tut

Description

Make a line that is following your mouse.

How to Play

Use your eyes.

Comments

0/1000
cyber6 avatar

cyber6

Apr. 24, 2010

3
0

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 avatar

YaGames

Apr. 21, 2010

2
0

This is not a game. (That doesn't warrant flagging.) At least the other tuts have some interactivity. (This does.)

symiily avatar

symiily

Jun. 27, 2010

1
0

To all those guys who says this is not a game, there is actually a own category for tutorials....

gulli_boy avatar

gulli_boy

Jun. 24, 2010

1
0

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 avatar

gulli_boy

Jun. 24, 2010

1
0

works perfet! ty! userguy!;)

โญ Top
Effect Compilation
โญ Top
Kongregate Tour
โญ Top
Kongregate Stats API Tutorial: ActionScript 2
โญ Top
Kongregate Stats API Tutorial: ActionScript 3
โญ Top
Paintorial
Desktop Tower Defense Map Editor
Tutorial: How to make a basix Maze Game without any experience
How To Solve A Rubik's Cube!!
โญ Top
Flash Games Tut2
โญ Top
Flash Tutorial For Beginners