Saturday 31 August 2019

Sopwith - A playable demo of Day 17

Today the js13k contest is half way through of so - My Sopwith game is just about playable.
 I've mostly been checking off the basic game play features:

  • The player's plane is full featured allowing a flip, guns and bombs.
  • The world has smoke billows to show when planes go down.
  •  The AI can fly a bi-plane (not well, but aggressively and fearlessly) and shoots me down often enough. 
Use , (comma) and / (forward slash key) to fly up and down.
Use Z and X to control the throttle.
Use Space to Fire
Use B to drop a bomb
Use . (period) to flip the plane



Wednesday 28 August 2019

Sopwith - Day 15 - Progress

I've been working on the Sopwith game for js13k for a week and am making some progress. I have not been able to allocate the all the time I would like but I have scrolling graphics; a few game objects and a pilotable bi-plane. It has a working keyboard interface and collision detection is working (although I'm not using it currently).

The system is rendering in pure SVG which seems to be working very nicely even when full screen scrolling chrome seem to be hitting 50+ fps.This is the first project I have seriously tried to use SVG and am pleasantly surprised by its flexibility, rendering speed and the general way it can interact with CSS.

Why SVG? I need two different teams using the same graphics with different colour schemes. Additionally I have several requirements to slowly change the appearance of objects to style them in different ways to replicate different era's of computer graphics. The ability to animate line widths, filters and gradients and modify line joins and line endings will all be required to smoothly switch the graphics during game play.

Currently my compressed file size is 3.4kb which I think is okay given that I have the terrain and most of the graphic objects encoded.

Here is a demo version - you can control the cyan plane using the , and . keys to go up and down and the z and x keys to control the speed.

Monday 19 August 2019

JS13k Again - Sopwith calls me back to 1984

Its js13k time again and for 2019 the theme is 'Back'.

For the uninitiated js13k is a game contest which requires that you create a game in 30 days that runs in a browser and all told is less than 13kb of code - a very small amount.

This year I would like to do a homage to a video game first released in 1984 - BMB released the incredible, immortal 'SOPWITH'. I was 11 years old at the time and 4 (yes four) colour 320x200 CGA monitors were cutting edge technology.

The game looked exactly like this:
I played it a lot. (here are a whole lot of videos if you want to see or remember)

So this year I would like to make a cover-version of Sopwith in 13kb showcasing the original brilliant game play and expressing the amazing changes in video and audio between 1984 and 2019.

That's the inspiration; I think the theme of 'back' is going work nicely with some of the ideas I have in mind. The game has quite a few different moving parts: lots of sprites side scrolling terrain; some physics for the planes; collision detection; sound and chiptunes and an AI player capable of fighting tactically. So every byte is going to count as I go.