Introducing myself to jME

So, Erlend got me into jME, and as such I started by reading the tutorials on the wiki. After one day of jME, I came up with this mini-game. It’s basically a spin off from one of the tutorials. Now this is done, I’m going to continue with the tutorials and try to learn more. This mini-game is made with knowledge up to tutorial 8, so anything after this tutorial I haven’t learned yet. See a video of it here:



http://codeninja.me/SimpleGamejME.mov



The code follows. The code probably contains a lot of errors and bad practices, and as such I’d like to ask you on what I could improve on, if you feel like giving me some feedback. Anything is appreciated!



Here’s the code! (on pastebin, otherwise the post would exceed maximum character length. Because of this, also added it as attachment)

http://jmonkeyengine.pastebin.com/yBmGyDZs



Thanks,

Lars

Uh, this is jme2? Its cool anyway :slight_smile:

I love the title of the window with the "Includes explosions!"



Are you planning on making it more 3D in the future?


normen said:

Uh, this is jme2? Its cool anyway :)


I'd say the sources demonstrate that pretty well :)
sbook said:

I love the title of the window with the "Includes explosions!"

Are you planning on making it more 3D in the future?

normen said:

Uh, this is jme2? Its cool anyway :)


I'd say the sources demonstrate that pretty well :)

That's actually a pretty good idea! Once I get through some more tutorials, I'll surely give that a thought :) Thanks!

I saw a few people discuss Wiimote's and such, and I know it has been achieved already but I thought it'd be fun to implement movement with the wiimote and nunchuk in my test environment (jME2). Good practice :slight_smile: It's done, smooth and everything:



http://codeninja.me/WiimoteNunchuk.mov



One small problem is when I move backwards…well, you can see what's wrong there. Don't know why.



Now I'm going to switch to jME3 and try to implement it in my test environment there. Is surely going to be easy since I'm using some jME3 code in the current jME2 implementation.

cool! jme running on a mac controlled by a wiimote :slight_smile: thats cross-platform :smiley: