NanoMachinez

[quote]I just wanna get your source code as a starting point.
[/quote]

  1. It’s his code.
  2. Your tone is pretty annoying and unfriendly. Really.
  3. If you write a game by yourself, you’ll learn much more.

yeah I know. I am really bored today…sorry! :-[

[quote]yeah I know. I am really bored today…sorry! :-[
[/quote]
Then take a look at Kev’s Space Invaders 101 tutorial :slight_smile:

http://grexengine.com/sections/externalgames/ (under articles)

There is so much code floating around in the net… you can also search for collision detection and the like. You’ll need that sooner or later.

yeah, the tutorial is a good starting point and btw it’s really great. my next game will have the structure proposed by kev.

… anyone noticed the new NanoMachinez email notification feature?

I couldn’t load the game. I got this in an infinite loop:

instantiated FlyingVehicle 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.loadDataUntilItHurtsPart4(NanoMachines.java:903)
      at NanoMachines.update(NanoMachines.java:339)
      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)
setting steering strength to 5
setting speed max forward to 20
setting forw acc 1st gear to 0.4
setting forw acc 2nd gear to 0.5
setting forw dec 1st gear to 1.0
setting forw dec 2nd gear to 0.8
setting drift strength to 7

Gave me one heck of a time just to capture it. My machine bout locked up when I tried to get the console up :wink:

sorry for the loop. exception handling within the game loop could be done better but i’m currently very stressed with other things. :’(

i hope that one day i can find a little bit of time to fix all that annoying bugs…

for those of you who haven’t noticed yet: a new track has been added (thx to j! and Gue)