In the first part of this series we set the stage by putting together our framework and then getting a simple background on screen. This article will add our rendering loop to the code and let us actually get some bubbles out there.
Read More →
“Bubbles” canvas tutorial part 2: Getting animated
“Bubbles” canvas tutorial part 1: Getting started
When I started this little project I had only a vague idea of how it would look and even less of an idea how it would be written or structured. As it turned out I just slapped down a quick gradient background, came up with a simple Bubble
class and set a timer to move the bubbles up the screen. That gave me a basic core to work from, but as I started to tweak and add I realised just how messy it was, even for a simple project like this.
So this tutorial is going to ignore all my mistakes and lead you gently to the finished version with something resembling logical sense. This entry in particular will focus on giving us a basic framework to work within, and go as far as putting a background on screen. Part 2 will introduce the render loop and actual animation.
Read More →
“Bubbles” canvas tutorial: Introduction
After my early forays into canvas and Javascript I commented on Twitter how good it felt to be learning something new, something that felt like it opened up a whole new toolbox to me and the attendant possibilities.
The main upshot of this is that I finally have the tools at my disposal to make the game I’ve been promising my two-year-old son for a while now. This project is ongoing but “functionally usable” now. It hit a few bumps along the road so I’m writing this series of articles to describe the development of the game, the problems I encountered and how I overcame them.
Read More →
Game music: Megaman 5
With Mighty No. 9 around the corner I got to thinking about Megaman. And the music to the Mighty No. 9 trailer likewise got me thinking about Megaman’s music.
Read More →
A whole bunch of HTML 5
The last animation I posted was just a work in progress, halfway to something a little more complex. As promised, here’s the fruits of that work. I’ve put together a page of my little collection of animations.
Mostly this was an excuse to put up another of my HTML5 logos with the stolen XKCD people.
More fun with the HTML5 canvas
Oh go on then. Here’s another canvas animation. It’s pretty simplistic but so far it’s just a work in progress of something more fun. And after that, some thoughts on what comes next on a technical level.
Read More →
First steps in HTML 5 – Getting to grips with the canvas
Today I discovered r/loadingicon and promptly spent an unwise amount of my precious free time staring mesmerised at the screen. When I finally snapped out of it I finally resolved to actually sit down and learn how to use the HTML5 canvas element. I’m not claiming to have the arty chops of the people posting those icons, but it seemed like a really fun way of getting into the spirit of things.
And you know what? Basic canvas drawing with Javascript is easy. Really, really easy. An hour later I had something I’m going to call halfway fun to sit and stare at.
Read More →
My little Oni, Part 2: So, we meet again
Having been distracted suddenly by Child of Light and then by Dark Souls I wasn’t sure if I was going to carry on playing Oni. It’s fun, but so is Child of Light. I know, I thought, I’ll have another session and see how I feel after. So I played the next mission, and you know what? I still don’t know.
Read More →