Comments are listed in date ascending order (oldest first) | Post Comment
wsnyder6: No problem. If you got time, let me know... if I got a wiiremote, I will try that too.
davjoh: that would be awesome!I t is possible to use a phone with an accelerometer.
If anybody is reading this comment, I am accepting wiiremotes or phones with accelerometers! :)
Posted by: brunogh on April 30, 2008 at 06:41 AM
VERY cool!
What I'd like to see now is Marge + Sensor API for controlling something. e.g. Tetris control by physically tipping phone left, right, forward, backwards, etc...
Could be a world of fun!
Posted by: davjoh on April 30, 2008 at 12:51 AM
Bruno, I wont be able to do anything with this - getting the new compiled plugin running on my machine (a mac) is turning out to take too much time that I have at the moment. Wish it could be easier to get up and running with Java on the Mac...
Posted by: wsnyder6 on April 29, 2008 at 05:55 PM
Hmmm, no problem! This is compiled JavaFX and you need the daily builds to make it work in NetBeans 6.1 and the JavaOne compiler branch.
Basically download all the nbm files from http://deadlock.netbeans.org/hudson/job/JavaFX_NB_daily/ and install via NetBeans Plugins. After that, download javafxc.jar and javafxrt.jar from http://openjfx.java.sun.com/hudson/job/openjfx-compiler-javaone/ and substitute in NETBEANS_PATH\javafx\modules\ext\compiler\lib dir to make it work.
Thanks,
Bruno Ghisi
Posted by: brunogh on April 29, 2008 at 06:14 AM
To answer myself - yes it looks like the daily JavaFX plugin only uses daily NB.6.1 builds...:)
Posted by: wsnyder6 on April 29, 2008 at 06:12 AM
I am not going to JavaOne. :( This is compiled JavaFX, right? Does the new JFX plugin work only with NB 6.1, or just the newer daily builds?
Thanks!
Posted by: wsnyder6 on April 29, 2008 at 06:06 AM
Due to a new version of the Tetris game with new cool stuff, the video was updated:
http://www.youtube.com/watch?v=e5qh5ESOjkA
Old video:
http://www.youtube.com/v/ZvVx6RGjCjM
Posted by: brunogh on April 28, 2008 at 09:59 PM
Awesome! WiimoteJ rocks! Let me know when done, so we can promote it in the Marge demo tab (https://marge.dev.java.net/servlets/ProjectProcess?tab=3). I forgot to tell you, the application is running a default service (D0FFBEE2D0FFBEE2D0FFBEE2D0FFBEE2) that Wiimote will have to connect, otherwise we can make the Tetris app inquiry for the devices and connect them. Also, later today I gonna commit a jar lib snapshot of Bluecove BlueZ (http://code.google.com/p/bluecove/) to make it working on Linux too. Are you going to JavaOne?
Posted by: brunogh on April 28, 2008 at 11:29 AM
Sweet. I'll have to take a few minutes and get it working with WiimoteJ.
(http://www.wiili.org/forum/wiiremotej-f68.html)
Posted by: wsnyder6 on April 28, 2008 at 11:21 AM
Hello! I think you can! The protocol is very simple and basically you will have to change the receiveMessage(byte[] b) method in the TetrisBluetoothServer for moving right, left, rotating and starting the game or reimplement CommunicationListener interface and set your new class. The code is in the SVN demo folder, called BluetoothJFXTetris. We are still updating some stuff as we sync with Jim Weaver, but take a look and please let us know if you have problems or when you have done! Very nice idea! I would love to see that or do that, but I do not have a Wiiremote. Are you going to use that java libs available?
Cheers,
Bruno
Posted by: brunogh on April 28, 2008 at 09:44 AM
Cool. I'd like to see if I can use a wiimote as a control. do you have this source anywhere yet?