HTML5 Test – When was the last time I made a website?

Pffft, what a lazy port.

Just a quick post for today. Even though this isn’t my first time uploading an HTML5 demo onto the internet, it is for my own, newly acquired domain name (yay!).  It’s a port of the Android demo that I posted earlier, with a few new features.  Like the Android demo, it only responds to clicks.  You can find it with the following link:

Let the games begin…

Copyright © Quadolor Games. All rights reserved.

My name is BASSGMS, I’ll be your interpreter for today

I’ve for a long time found GameMaker‘s audio engine to be too limiting. particularly in the background music department.  That’s why I choose to use an external audio library to handle the background music.

Long story short, GameMaker only allows you to use MP3s for background music, and the only flexibility you have for it is whether you want it to loop back to the beginning or not when it reaches the end.  That’s why I prefer to use MO3 modules for my background music.  MO3s are tracker modules with MP3- or OGG-compressed samples rather than straight PCM samples.  In simpler terms, MO3s combine MP3- or OGG-compressed samples with data on how to play those samples.  Looping is internal to the MO3 itself and is seamless,  allowing you to theoretically have an infinite-length MP3/OGG quality music in a few megabytes, or even less.


The only library I know of is BASS, whose developer, Ian Luck, also created the MO3 module format.  Getting BASS to work with GameMaker isn’t as easy as just importing the DLL into the project.  They can’t communicate with each other due to incompatible data types used in their functions.

I’m sorry, I don’t understand your funny accent.

(For those coders playing at home, GameMaker‘s only two types, real and string, are equivalent to the C types double and char* respectively.)

The solution was to create my own wrapper library, which I dubbed BASSGMS, that translates the functions in BASS in a way that GameMaker can work with.  In the heart of BASSGMS (and any wrapper DLL I may create in the future) lies these magic words that make everything possible:

What is this sorcery?!

To this day, I still only have a vague understanding of how to code DLLs.  All I know is it works like voodoo magic.

Copyright © Quadolor Games. All rights reserved.

Sticks and Stones – First Test

I’m starting a new project in GameMaker: Studio: a short, text-based exploration game, though not in the traditional sense. Let me explain:

The idea for this came from my experience playing WarioWare: D.I.Y.  One part of the game had Wario hiring you to do the graphics for some pre-made microgames.  I didn’t take that part of the game seriously and drew absurd and non sequitur things.  On a few of them, I got lazy and abstracted the things I was supposed to draw as words:
Oh no!
You’re in for a world of it.

The goggles do nothing!

This gave me the idea to do a whole game like this.  I call it Sticks and Stones, which, as you may have guessed, comes from the nursery rhyme “Sticks and stones may break my bones, but words will never harm me.”  (Or “…but names will never hurt me.”), which I plan on using as a theme for the game.

As for the music, since my muse is tapped out of original tunes at the moment, I decided to dive into the domain of the public.  Maybe it’s because I named my game after a nursery rhyme, but here is a sample of the music.  It’s a tune that goes by many names: When Johnny Comes Marching Home, Johnny I Hardly Knew Ye, The Ants Go Marching and The Animals Went in Two by Two:

Anyways, that’s all I have to say for now.  Check back for more updates!

Copyright © Quadolor Games. All rights reserved.

Best $99 I ever spent

After jumping through many hoops trying to get GameMaker: Studio games to run on my phone via USB, all I got was disappointment.  So I tried another approach, which was slower and more cumbersome.  It involved exporting the game as an APK, uploading it to Dropbox, download it onto my phone and then install it.  And guess what, it worked like a charm!

The iPad filming this must feel a bit jealous.  😛  It will be a while before I dive into trying to get GameMaker: Studio games on the iOS.
Copyright © Quadolor Games. All rights reserved.