Page 1 of 1
Programming while bored
Posted: Sat, 25 Jun 2011 11:46:32
by Chasbo00
Try to place your cursor on his head...
http://www.selfcontrolfreak.com/slaan.html
So, what language was used to code this?
Re: Programming while bored
Posted: Sat, 25 Jun 2011 11:57:03
by Unkn0wN
This is done in Flash. This could be done really simple. a few short clips and then just a basic script to tell it to place the cursor at a random spot when it goes over the head area.
Something like:
Flash plays normal clip of him sitting there looking around, when the cursor goes over the area (predefined) of the head, flash plays one of the clips of him swatting and executes the script to relocate the cursor.
Now, what language is the script using? Probably JavaScript. When scripting in flash, you can use different languages. It recognizes Javascript, VBScript and I believe JScript.
Re: Programming while bored
Posted: Sat, 25 Jun 2011 12:51:10
by Chasbo00
Thanks UnknOwN.
Re: Programming while bored
Posted: Sat, 25 Jun 2011 17:57:46
by Jakeiscrazy
Cool!
Re: Programming while bored
Posted: Sun, 25 Sep 2011 13:06:17
by frankD
It doesn't like the thermostat either.