Wiimote fun

wiimote

Everything is still very much alpha but since I want to create some OpenGL games with my son, I have to move forward !

I am happy to say that I have integrated the code from darwiinremote to be able to use the wiimote to get some live data and funny buttons.

The immediate goal is to use the wii.Remote to create simple games. Then (when I have the record/playback engine ready) the wiimote could be used as a cheap wireless captor device to experiment with movement recognition.

The example below is in the ”.../examples/wii” directory from the sources.

For the adventurous ones you need to know that:

1. You will probably need to talk on the mailing list if the example is not in sync with the codebase.
2. The wii.Browser needs an NSRunLoop to work. If you use a mimas.Application, you are fine but if you don’t, you need to use worker:run().

wii cube

control openGL with the wii

what’s up ?

Before I continue implementing new features, I want to reenable live coding (network access) because the game will probably run on my mini media center with a beamer but no keyboard.

This means that I have to solve my subscription/discovery/zmq code… Instead of going for a full property based system with access to everything and notifications everywhere (which scares me), I will focus on the in-process connections, gui (blocks with links) and script editing.

The goal with the remote GUI is to enable remote scripting and encapsulation through an easy to grok visual feedback.

Gaspard Bucher

comments

  1. leave a comment