Archive

Archive for February, 2008

Guitar Hero “in” Flash

February 14th, 2008

I was writing a new Audio Sync Engine for AS3. The idea is that our Sound Manager is working in Sound Forge, by setting markers he can export an xml file with markers data and positions. I wrote the plug-in in c++ by mashing up some existing plugs.

Then the Flash developers can use the Sync Engine to connect markers to changes for example lip sync, character moods and so much more.

When drinking some beer with the colleges we decided to make our own Guitar Hero game.

By connecting the XBOX 360 Guitar Hero control I could with JavaScript find the control, its movement in X,Y (up and sideways). The only thing that I couldn’t get hold of was the Z (pin to pitch audio).
After getting the JavaScript API to work it is easy to push the data to flash. By ExternalInterface its easier to handle JavaScript handling when not needed to put all handling in root.

hiqhero1

Flash , ,

Wii game in Flash

February 12th, 2008

My company had a recruitment fair in Finland. So for dragging people to the “booth” we created a Flash game for the Wii.

HiQ core business is consulting with advanced developers (flash/flex/c++/java and so on).

We created the game “Monkey goes to Work”. A quick game based from the idea “Wario Ware – Smooth Moves”.

By using the WiFi-USB adapter on a laptop and a simple web server I could easily use the Wii Opera browser to get access to our own application.
Some problem with the connection because Wii console needs internet connection to be able to find the computer. It works so long you don’t try to test the connection again, could help to restart the Wii console a couple of times.

Wii Opera supports Flash Player 7. One big problem could we the performance, just having some moving animations and transparency making the application slow.

To control the Flash it’s possible to use remote 1 as a ordinary mouse. But to really get something out of it I used JavaScript to connect to the browser API, possible to get all 4 remotes.
I extracted control 2 and push changes into flash player. Some things for example that I could control is X,Y,Z (distance), Roll (rotating remote), Connection status.
Couldn’t get the gyro to work, probably because all the browser movement is based on the IR. So moving remote outside screen will loose updated. But the buttons is going through wiresless.
Possible to get hold of all buttons on the remote and on the nunchuck. But the nunchuck joystick doesn’t respond.

Flash ,

Speaking at Speak

February 4th, 2008

Was at the company Speak in Gothenburg and spoke of Flash lite for mobile devices. Some idéas and stuff that we has done for the Wii console, PSP and with a guitar hero controller connected to a computer.

For more of those cases look into the blog.

Life

Conferance lingatan

February 3rd, 2008

The Gothenburg office went to conferance, small little place called lingatan.
Nothing actually of interest, the basic conferance stuff, food and a lots and lots of drinks.

conf_lingatan1

Life ,