I fancied a go at a 3D game in java and here it is. It needs Java 1.4.2 or later and the page will ask to fetch it if you haven’t got it. Mozilla/Firefox users additionally ideally need a plugin to play the MIDI soundtrack. Firefox will suggest Quicktime, but it is a manual install.
http://homepage.ntlworld.com/alan.d.waddington/demo/GameEngineDemo.html
A couple of questions, while I’m here.
- While this app requires 1.4.2, it’s really only the use of BufferedImage, some Collections & built in (but unused) support for in-game midi that uses it. Oh and the sound samples are at 11kHz & would have to be resampled. So it probably could be made to work under 1.1 if I wanted (which I don’t really, since this is really for my amusement). However I wonder whether the loss of the JIT compiler would make the app crawl with 1.1. I have seen elsewhere that the old microsoft VM was quite fast. On the other hand, with broadband penetration rising rapidly, maybe the days of users with really old VM’s are on the way out.
- Is it me, or does playing midi in java work (if it can be called that) really badly. Even if a soundbank is installed, the sound is awful and the auto-install doesn’t load one; hence putting the track in the html instead. Maybe a 15 second PCM loop in java would be a better bet instead. Repetitive and somewhat large yes, but at least it should be reliable.
Cheers
Alan