I made a silly applet for our site.

Check it out: http://www.mojang.com/

Mac OS X
java.lang.IllegalArgumentException: Width (964) and height (-2) cannot be <= 0
at apple.awt.IntegerNIORaster.createNIORaster(IntegerNIORaster.java:22)
at apple.awt.CGraphicsConfig.createCompatibleImage(CGraphicsConfig.java:54)
at apple.awt.OSXOffScreenSurfaceData.createData(OSXOffScreenSurfaceData.java:33)
at apple.awt.OSXVolatileImage.createHWData(OSXVolatileImage.java:77)
at apple.awt.OSXVolatileImage.initAcceleratedBackground(OSXVolatileImage.java:87)
at sun.awt.image.SunVolatileImage.(SunVolatileImage.java:86)
at sun.awt.image.SunVolatileImage.(SunVolatileImage.java:77)
at apple.awt.OSXVolatileImage.(OSXVolatileImage.java:52)
at apple.awt.ComponentModel.createVolatileImage(ComponentModel.java:104)
at java.awt.Component.createVolatileImage(Component.java:2682)
at com.mojang.site.SiteApplet.init(SiteApplet.java:171)
at sun.applet.AppletPanel.run(AppletPanel.java:353)
at java.lang.Thread.run(Thread.java:552)

What is it supposed to do? Because whatever it is, it doesn’t seem to do it on OSX.

jinx

Works for me (Win2K). There’s a big C-shaped “Mojang Specifications” logo (like Markus’s personalized picture in his posts) , and when you click it it splits into four half-sized logos that bounce apart a little. When you click any of them, they again split and bounce apart, ad infinitum. (Actually not, after the 5th split the parts vanish after bouncing).

Nice, but an ‘about this site’ would be good too…

Works on XP, very cute.

Kev

I think I’ve fixed that height problem on osx now.

You can scroll around with the RMB, btw.

No crash on OS X now, but all I get is a blank black page.

The Java console shows:

Mac OS X
5610.0
1310.0
160.0
220.0
390.0
300.0
260.0
60.0
60.0
60.0
70.0
60.0
60.0
50.0
80.0
60.0
50.0
70.0
… similar numbers continue to print for as long as I let it run.

Can confirm that it does nothing on OSX. You aren’t using some wacky extensions or something are you?

works on Windows XP, but performs like crap.

Works for me on Linux and Mozilla, but the splitting is weird.

It’s 100% pure java, unless you count that the gage timer tries to load a .dll (and fails) on windows.

Thanks the positive comment, matzon. :wink:

Jens: I think it’s running way too fast on linuxes for some reason. I need to confirm.

hehe, subtle and to the point ;D

It should be fixed on linux now, but I have no idea why it’s running slow for you, matzon.

thinks

Well, actually, I do. :wink:
Gage fails to load the .dll on windows, so it’s running off System.currentTimeMillis().

The annoying System.out.println()'s is the fps, btw.

After staring at the logo for a while and deciding that it really, positively wasn’t doing anything, I clicked on it.

If that’s all it’s supposed to do, yep, works for me!

WinME, JDK1.4.2, Mozilla 1.4.

I would like to suggest a drag mode. If you drag with the left mouse button every image you touch breaks up.

You’re the second person to suggest that. :wink:
YOU JUST WANT MAYHEM!

I’ll add it if I get more free time. =)

Its doing ‘something’ now on OSX. Looks like a terrain piece of some sort. There was a mojang logo out there a while back but as I clicked around it disappeared.

[quote]It should be fixed on linux now
[/quote]
Looks better now. :slight_smile:

[quote]Its doing ‘something’ now on OSX. Looks like a terrain piece of some sort. There was a mojang logo out there a while back but as I clicked around it disappeared.
[/quote]
Strange stuff… Can you scroll around with the rmb, and if so, is that scrolling smooth?