I game, I code, I break things
Technical, constructive, fun.
Menu

Pottering Around with a Raining Sound January 17, 2013

Flixel Flash Game Test

The addition this week was of a bit of animation to bring life to the character, this isn’t intended to be the end movement – just amusing animation. I might split this off as a separate game itself because I was in stitches.

The perhaps less noticeable part is that there’s now audio for the rain which there wasn’t before. This isn’t even a recording of rain, it’s the sound of oil/water boiling/bubbling away with a bit of added effects and hissing removed thanks to Audacity.

We’re getting there, slowly. Part of the experimentation is shaping the game as much as the original concept is.

1 Comment on Pottering Around with a Raining Sound

Game Development Progress November 29, 2012

For a good, long while I’ve wanted to develop. When I was young, I wanted to create – I would sit there, feeling bored, staring at my Commodore Amiga 1200 without the internet, with little guidance and money and not knowing what or how to do things to actually produce something.

I had access to BASIC on the ZX Spectrum 48k and the Amiga, but aside from coding Pontoon and ‘POKE’ing some code into Manic Miner / Jet Set Willy but I didn’t get much further with it than that.

When I studied at University, I met some fine fellows who were on a Games Development course (and Games Design). Which re-sparked my interest in creating something, aside from doing the HND in Computing (Software Development) which almost scratched the itch, meeting these friends meant years afterwards of the words “let’s make a mod!” (mainly aimed at the game Neverwinter Nights) which, like the other intentions of creating and producing something substantial, unfortunately amounted to little.

However, I’ve tried to push on, between groups I’ve started to prototype some small scale work and today, with the work of three of us, we made it rain in Adobe Flash using ActionScript v3.

Rain

It took one persons familiarity with the API Flixel , my understanding, finding and reading of reference documentation along with the IDE and a person who has good programming knowledge to get it working and acting, like rain.

To this project myself and the other two casually dedicate only an hour a week to the development of it and other projects, but in three weeks (three hours) of work. This feels like an achievement and with that we’re so far satisfied.

Comments Off on Game Development Progress

Electronics at Leeds Hackspace with Arduino and Minimus32 November 16, 2012

Update: While this version of the Arduino IDE will work, I have attempted a way of getting the latest version.

Within the past few months I picked up a new hobby, my friend Kai mentioned this place to me once before and I’ve always had an interest in electronics so off I went to the Leeds Hackspace.

To prototype electrical, let’s say, gadgets there is a device called the Arduino which with a little bit of C++ programming, some wires, LEDs, buzzers, chips, etc. You can get up and running into a large or small system to do almost whatever you want.

Typical applications involve constructing an autonomous robot to controlling laser cutters. Lasers are fun.

So along came this device, called the Minimus32 which, I’m told, was originally intended for circumventing the copy protection on the Sony Playstation 3. Turns out, however, that this little device uses the same chipset as an Arduino and can run the same code and behave in the same way, especially when it has been flashed with a new DFU Bootloader. The best part about this, is that the Minimus32 is typically about a fifth the price of the equivalent Arduino (possibly Leonardo model).

To get this to work under Linux is quite straight forward (at least within Debian and Ubuntu). You use the Arduino IDE 1.0.1 and you grab the profile information for the board from Paul Brook‘s github repositories which allow you to upload the code and monitor the serial port. It also interprets some of the default pin-outs and Paul also has a slightly re-worked OneWire library to use the internal pull-up resistor on the board.

When it comes to Windows, however, it gets a little bit tricky.

As it turns out, the latest Integrated Development Environment (IDE) for Arduino comes with an ‘avr-gcc’ compiler, which handles the compilation of the C++ code. However, in the windows bundle from the Arduino site this is grossly out of date. When this is combined with Paul’s hardware profile for the Minimus32 and a flashed Minimus, the compiler doesn’t know what to do with it.

Fortunately, I have scoured about, packaged together the IDE, a ‘sketchbook’ folder (where the hardware profiles/libraries are stored), an updated WinAVR compiler along with a recently compiled avr-gcc compiler (c/o Andy Brown). If you do not change your Arduino IDE preferences to use this sketchbook folder, you will not be able to select the minimus32 as your board (which is required).

I’m happy to say, that using the drivers supplied with the latest Arduino IDE for windows (1.0.2) along with the updated compiler and Paul’s hardware profile I’m quite happily compiling and working with the Minimus32 on windows (version 7, 64bit). Oh, and Paul’s hardware profile also include the DFU Bootloader to turn the Minimus32 into an Arduino.

Download: Arduino IDE 1.0.2 for Windows with Compiler + Paul’s Profile / Library (98mb)

Comments Off on Electronics at Leeds Hackspace with Arduino and Minimus32