Skip to main content

Marging a FX Tetris at JavaOne!

Posted by brunogh on April 27, 2008 at 6:10 PM PDT

Marge (Java Bluetooth Framework) got a mini talk in Community Corner. It will be on Wednesday at 3:30 pm. If are you interested in Bluetooth, JSR 82 (Java Apis for Bluetooth) and Marge, do not miss that! We have integrated a Bluetooth mobile controller for a nice James Weaver's compiled JavaFX Script tetris game! Thanks, Jim!

Here is a preview (updated):

The old video is at http://www.youtube.com/v/ZvVx6RGjCjM

It will be easy to find Marge:

margeinthebackpack.jpg

Here is the last tip, keep an eye on the Mobile and Embedded Wiki page for JavaOne!

I am very excited to meet new people! See you in San Francisco!

Bruno Ghisi

Related Topics >>

Comments

 <a ...

<a href="http://www.freesolutionstore.com/computer/configure-windows-7-firewall.html">Configur Windows 7 Firewall </a>

<a href="http://www.freesolutionstore.com/computer/enable-task-manager.html">Enable Task Manager</a>
<a href="http://www.freesolutionstore.com/computer/filecure-removal.html">How to uninstall FileCure </a>
<a href="http://www.freesolutionstore.com/computer/install-windows-vista-using-pendrive.html">install WindowsVista from Pendrive </a>
<a href="http://www.freesolutionstore.com/computer/install-windows-xp-using-pendrive.html">install Windows XP from Pendrive </a>
<a href="http://www.freesolutionstore.com/computer/re-install-Windows-7.html">Re-install Windows 7</a>
<a href="http://www.freesolutionstore.com/computer/remove-spyware-manually.html">Remove Spyware Manually</a>
<a href="http://www.freesolutionstore.com/computer/configure-windows-7-firewall.html">Configur Windows 7 Firewall </a>
<a href="http://www.freesolutionstore.com/computer/enable-task-manager.html">Enable Task Manager</a>
<a href="http://www.freesolutionstore.com/computer/filecure-removal.html">How to uninstall FileCure </a>
<a href="http://www.freesolutionstore.com/computer/install-windows-vista-using-pendrive.html">install WindowsVista from Pendrive </a>
<a href="http://www.freesolutionstore.com/computer/install-windows-xp-using-pendrive.html">install Windows XP from Pendrive </a>
<a href="http://www.freesolutionstore.com/computer/re-install-Windows-7.html">Re-install Windows 7</a>
<a href="http://www.freesolutionstore.com/computer/remove-spyware-manually.html">Remove Spyware Manually</a>
<a href="http://www.freesolutionstore.com/computer/run-time-error.html">Fix Run Time Error</a>
<a href="http://www.freesolutionstore.com/computer/tazebama-dll-virus-fix.html">Manually deletion of tazebama.dll virus</a>
<a href="http://www.freesolutionstore.com/computer/install-windows-vista-using-pendrive.html">install WindowsVista from Pendrive </a>
<a href="http://www.freesolutionstore.com/computer/windows-7-driver-issues.html">Windows 7 Driver Issues</a>
<a href="http://www.freesolutionstore.com/computer/windows-7-restart-problem.html">Windows 7 Restart Problem </a>
<a href="http://www.freesolutionstore.com/computer/windows-7-vpn-setup.html">setup Windows 7 VPN Connection</a>
<a href="http://www.freesolutionstore.com/computer/run-time-error.html">Fix Run Time Error</a>
<a href="http://www.freesolutionstore.com/computer/tazebama-dll-virus-fix.html">Manually deletion of tazebama.dll virus</a>
<a href="http://www.freesolutionstore.com/computer/install-windows-vista-using-pendrive.html">install WindowsVista from Pendrive </a>
<a href="http://www.freesolutionstore.com/computer/windows-7-driver-issues.html">Windows 7 Driver Issues</a>
<a href="http://www.freesolutionstore.com/computer/windows-7-restart-problem.html">Windows 7 Restart Problem </a>
<a href="http://www.freesolutionstore.com/computer/windows-7-vpn-setup.html">setup Windows 7 VPN Connection</a>

Sweet. I'll have to take a few minutes and get it working with WiimoteJ. (http://www.wiili.org/forum/wiiremotej-f68.html)

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

Cool. I'd like to see if I can use a wiimote as a control. do you have this source anywhere yet?

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

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?

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!

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...

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

To answer myself - yes it looks like the daily JavaFX plugin only uses daily NB.6.1 builds...:)

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!

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! :)