Forum Topic: The Angry Face, How Do They Do It?

(265 views • 7 replies)

This topic is 1 page long.

<< < > >>
Angry

Fullsteel

Reply To Post Reply & Quote

Posted at: 5/5/09 02:19 AM

Fullsteel DARK LEVEL 14

Sign-Up: 05/19/08

Posts: 354

Alright, when your cursor is over an angry face for a while, a bit face goes, "WHAT ARE YOU LOOKIN AT!?"
I want to know how it's done.


None

yhar

Reply To Post Reply & Quote

Posted at: 5/5/09 03:17 AM

yhar NEUTRAL LEVEL 03

Sign-Up: 04/02/08

Posts: 1,769

Javascript, check the NG Source.

function InitAngry()
	{
		angrystuff = document.getElementById('angry').style;
		angrystuff.visibility = "visible";
		document.onmousemove = GetMousePositionAbs;
		yoffset = faryoffset;
	}

	function ShowAngry()
	{
		var flash_writer = new FlashWriter("/bbs/assets/angry_face.swf", 600, 600);
		flash_writer.SetTransparent(true);
	
		document.getElementById('angry').innerHTML = flash_writer.ToString();
		angrystuff.display = "";
		yoffset = defaultyoffset;
	}

	function ImAngry()
	{
		angrytime = window.setTimeout('ShowAngry();', 2000);
	}

	function RecallAngry()
	{
		if(angrytime)
		{
			window.clearTimeout(angrytime);
		}
	}

	function HideAngry()
	{
		// BAD BAD BAD
		// document.getElementById('angry').innerHTML = ".";
		angrystuff.display = "none";
		yoffset=faryoffset;
	}

THIS IS CITRICSQUID POSTING


None

DannyIsOnFire

Reply To Post Reply & Quote

Posted at: 5/5/09 05:08 AM

DannyIsOnFire DARK LEVEL 19

Sign-Up: 04/14/05

Posts: 7,211

OH WOW. I never knew that before.


None

yhar

Reply To Post Reply & Quote

Posted at: 5/5/09 05:26 AM

yhar NEUTRAL LEVEL 03

Sign-Up: 04/02/08

Posts: 1,769

At 5/5/09 05:08 AM, DannyIsOnFire wrote: OH WOW. I never knew that before.

I shit bricks the first time I saw it... in 2007 ;D

THIS IS CITRICSQUID POSTING


None

Jon-86

Reply To Post Reply & Quote

Posted at: 5/5/09 06:51 AM

Jon-86 NEUTRAL LEVEL 13

Sign-Up: 01/30/07

Posts: 3,905

At 5/5/09 05:08 AM, DannyIsOnFire wrote: OH WOW. I never knew that before.

I was hovering over the icon on this page yesterday and it didnt work. Tryied it on the forum page just now. Thats class loooooool

PHP Main :: C++ Main :: Java Main :: irc.freenode.net

BBS Signature

None

Wonderful

Reply To Post Reply & Quote

Posted at: 5/5/09 06:53 AM

Wonderful FAB LEVEL 13

Sign-Up: 07/27/08

Posts: 854

At 5/5/09 05:26 AM, yhar wrote:
At 5/5/09 05:08 AM, DannyIsOnFire wrote: OH WOW. I never knew that before.
I shit bricks the first time I saw it... in 2007 ;D

I still do :C

Posted from Linux. Distro may vary.


None

Nano256

Reply To Post Reply & Quote

Posted at: 5/5/09 07:35 PM

Nano256 DARK LEVEL 13

Sign-Up: 02/12/05

Posts: 1,473

SHIT! I did not know about this, fucking scared my ass off.

Move on to ActionScript 3.0 already!
The third post below this one is a lie.

BBS Signature

None

WoogieNoogie

Reply To Post Reply & Quote

Posted at: 5/6/09 04:17 AM

WoogieNoogie LIGHT LEVEL 14

Sign-Up: 06/26/05

Posts: 3,284

I never knew HOW that actually happened. I just noticed it randomly once. Didn't know it had to do with cursor over the face.


All times are Eastern Standard Time (GMT -5) | Current Time: 02:24 PM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!