NanoMachinez

[quote]I just noticed an irretating thing >:(. in the root of my c: harddrive I found this directory “_NanoMachinez_Cache”. You should at least put any data like this in the users home directory, which you find with System.getProperty(“user.home”).
[/quote]
well… you’re right. seems like i didn’t spent too much thinking on that. sorry for that. i will change it in the next days if i can find some time.

the cached files are now put into the user’s home dir.
btw. a new track is online! 8)

you can now view the lap and race records on a new highscores page.
thx to all who played NanoMachinez and made the highscore list become longer and longer.

You might have all the other records, but I just made a new one, at least!

19.017 ah-yeah this!
(track: Chicanery, vehicle: hovercraft) 8)

…but, it displayes your name on top, even though your record is older than mine. Better watch that bro! :-/

sorry, but i’m not able to reproduce that error.
… and btw. i’ve beaten your record. :stuck_out_tongue:

I cannot run this game under JDK 1.5 RC1 (and I’m not able to use earlier JDK for applets in mozilla - plugin panel seems to detect only 1.5 installed ???). In console, I can see the following error:


instantiated DrivingVehicle object ...
initializing vehicle ...
initializing collision detection ...
Exception in thread "AWT-EventQueue-2" java.lang.IllegalArgumentException: Unsupported control type: Sample Rate
      at com.sun.media.sound.AbstractLine.getControl(Unknown Source)
      at Vehicle.initialize(Vehicle.java:249)
      at NanoMachines.loadDataUntilItHurts(NanoMachines.java:840)
      at NanoMachines.update(NanoMachines.java:269)
      at sun.awt.RepaintArea.updateComponent(Unknown Source)
      at sun.awt.RepaintArea.paint(Unknown Source)
      at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)

hmm … strange error. it works fine with my mozilla firefox 0.9 and jdk 1.4.2_05.

btw. a new vehicle is online. it is the first vehicle not created by a NanoMachinez team member.

I suppose that JDK 1.5 has changes some internals of com.sun.media.sound.AbstractLine - and it seems that NonoMachinez use that class. Bad, bad…

do you have any suggestions for a workaraound?
… something that works with 1.4.2_x and 1.5?

Use LWJGL for your sound :slight_smile:

Cas :slight_smile:

ahh, one more thing where i have absolutely no knowledge about. and the collision detection and handling is still not working properly …
so much to do, so less time … :frowning:

i’ve added track and vehicle ratings. and since so many guys told me that they closed the browser window because only “loading data…” is displayed and “nothing happended”, i’ve added a loading progress bar too…

a new space track is online! 8)

http://www.cocktailz.org/nano.html

the graphics are really awesome. thx to gue who did a great job!

i’m planning to add gravity forces to the two planets which will affect the spaceship’s movements. harr

why don´t u release the source code?

I think that u should share your knowledge!

i’m not completely happy with the way the code is written. it was one of these projects where i just started coding not knowing how many features i want to put into the game. the result is that the code is now really ugly.
so the reason why i don’t release the sources is just because it’s embarassing for me. :-[

ok,I just wanna know how did u build the game because it is very nice I like it very much, it remembers me MicroMachines and I would like to make a similar game

i’m glad to help you with specific problems. but i don’t think it’s a good idea if you design your code the way i did. i’m sure you can do better. at least you should … :wink:

I just wanna get your source code as a starting point.