Sorry to threadjack a little, but I threw together a Greasemonkey script for those of you who use that instead of Stylish. It's fairly customisable, so if you want a different size/person sleepwalking that's easy enough to change by changing the image source, and you can change the speed at which they float across the screen and the amount they bob up and down by playing around with the variables.
Code:
// ==UserScript==
// @name Sleepwalker
// @namespace agnomen
// @description Sleepwalks an image across the top of the browser window.
// @include *mspaintadventures*
// ==/UserScript==
function sleepWalk(sleepwalker, steps){
var speed = 1
var height_from_top = 20
var bob_frequency = 0.3
var bob_height = 7
steps += 1
sleepwalker.style.left = speed*steps
sleepwalker.style.top = height_from_top - Math.floor(bob_height*Math.sin(bob_frequency*steps))
t = setTimeout(function(){sleepWalk(sleepwalker,steps)}, 100)
}
var newPic = document.createElement('img')
newPic.src = "http://i.imgur.com/yM3QX.gif"
document.body.appendChild(newPic)
newPic.style.position = "fixed"
newPic.style.top = 0
newPic.style.left = 0
sleepWalk(newPic, 0)
It works on Firefox 11 with whichever version of Greasemonkey I'm running. No promises if it'll run anywhere else since it's been cobbled together through various dark arts.
Got the Java program, it worked like a charm. Excellent.
I just updated it so that now Roxy can appear at any side of the screen instead of just the right side, the images are embedded in the JAR so you can now run the jar from anywhere, and roxy behaves properly at the top and left edges of the screen. FOR SCIENCE.
I seem to be having trouble getting it to work, well, at all! I use Google Chrome and I make sure to install to the right browser, but after that, nothing! I've tried 'managing' and 'editing' the style but I can't figure any of this out! What is it that I'm missing?
DANI IS THE COOLEST AND SO IS CANDY CORN
READ THIS SHIT MOTHERFUCKERS
Also FantrollsV
Hardes Skylia, anonymous indigo with a passion for hatred and roleplaying. Vyconi Beilun, studious, intelligent, and a douche.
Originally Posted by MythicalWashrag
Land of Cotton and Candy.
Good Quote, Best Ship.
Originally Posted by ArmsAreLoud
This isn't sweaty evidence. This is cold, hard fact. Like a mallet that I've left in the freezer just so I can smack somebody with it later.
Yes, good.
Originally Posted by wrinklefudger
should this happen at the end of homestuck, yes or no?
I seem to be having trouble getting it to work, well, at all! I use Google Chrome and I make sure to install to the right browser, but after that, nothing! I've tried 'managing' and 'editing' the style but I can't figure any of this out! What is it that I'm missing?
I am having the same issue. Is there a certain amount of time that counts as "hover" or something?
Identifying myself with Candy corns!And now for my dramtic coming out that does not matter because nobody reads signatures! Have you any interest at all in TvTropes? Click on this thing and several of your wildest dreams will come true.
I got fed up with the spoiler dungeon in my previous signature. It was confusing and I did not like it. The basics boil down to this: The guy in my avatar is some variation on the work of stock photographer Gilles DeCruyenaere, probably edited insanely by a person who is super awesome. There is a fifty percent chance that that person is Ash, but sometimes other people get in on it too. AVATAR BY NIMZ WHO IS AMAZING
Also I made a tumblr because I hate myself. And now these days you will find me mostly on the tumbr. I do love you much forums. We had a good go of it. But tumblr fits a person with my attention span so much better. I still check here often, but I do not post as much. Fell free to contact me where ever, and if unsure, assume I love you.
I made a thing in Java (yes, I know using Java for this- or pretty much anything actually- a massive waste of resources, but I just wanted to throw something together really quick) that makes Roxy sleepwalk across your screen every 2 - 10 minutes. To close the program, double right-click Roxy.
Screenshot:[link]
Download: [link] (REQUIRES JAVA 7. If you don't have Java 7, you'll just get a black box moving around the screen.)
It won't work properly if you don't have compositing enabled. If you're using basically any non-ancient version of Mac or Linux, you're fine unless you're using a window manager with compositing off. Window Vista and later should have the necessary support as well. Probably.
How smoothly Roxy moves accross the screen is entirely up to your window manager.
EDIT: Updated program. The roxy sprite is now embedded in the JAR, so you can run the jar file from anywhere and it will work. Roxy also now comes from any side of the screen and behaves properly at the top and left sides of the screen, though there is a bit of flicker when she is partially offscreen on the left or top edge of the screen since Java doesn't allow vsync with Graphics2D for some stupid reason.
I can't right-click on her to get her to stop!
HEEEEEEEEEEELP
There's a black box around her, and I'm using java 7 RE.
I am having the same issue. Is there a certain amount of time that counts as "hover" or something?
Originally Posted by Violet CLM
Replace left: 820px; with left: auto !important; and you should be good to go.
lalala
(I'm still using this. It works better for some panels than others -- if the panel is more zoomed in than the Roxy sprite, things look weird -- but overall it's pretty silly to see her flying around everywhere.)
Last edited by Violet CLM; 05-13-2012 at 08:09 PM.
There's a black box around her, and I'm using java 7 RE.
Are you using Windows XP or eariler? If so, it's window manager doesn't support transparency among other things (kind of ironic considering the OS is named Windows isn't it?). Actually, it might not work on Vista either. I haven't actually tested it on Windows.
Also, you need to double right-click to make it stop, not just right click.
Are you using Windows XP or eariler? If so, it's window manager doesn't support transparency among other things (kind of ironic considering the OS is named Windows isn't it?). Actually, it might not work on Vista either. I haven't actually tested it on Windows.
Also, you need to double right-click to make it stop, not just right click.
I'm using Windows 7 and I have this problem as well.
Yes. This is amazing. She is sleepwalking across my screen right now
Your name is cautiousValidity, but you are mostly known by VALID or VALIDITY. Today is not your birthday - no, thats a little over a month away, and certainly not anything anyone would care about.
You have an obsession with MULTIPLAYER VIDEOGAMES, mostly of the types centered around CHATTING and such activities. You tend to get addicted to them, though only really one at a time, and you currently aren't really playing any. You have what some would consider talent in the variety of ART, both on paper and digitally. You almost always have AT LEAST 1 drawing in the process, usually open on files for gimp - though quite often you have up to SEVEN.
You also love to WRITE. This is a much less common activity for you than ARTWORK, but you do it occasionally. Unfortantly, you aren't really the type to ever FINISH A STORY. You always run out of ideas and inspiration after a couple of pages, leaving you to go back to other activities.
Your favorite animal is known as the CAT. This is fairly obvious to anyone who knows you, as there are cat-related objects scattered all over your MESSY ROOM. Most of them weren't even bought by you - people never stop giving you cat stuff, and you are starting to get SICK OF IT.
Your username for pesterchum is volatileBeckoning and you tend to make a lot of typos when you get excited, and you never shut up. Ever.
Huh. Once I'm done with my current programming project, I'll whip up a sleepwalking Roxy in C++ that will hopefully work on Windows since apparently the Java one only works on Linux and Mac?