An iPhone Game in One Day?

So – it’s Easter Day – and I have nothing planned. I am going to make a video game!

I’ve had an idea for an iPhone game going round and round in my head for a couple of weeks now, and so I thought I would see if I can make it in one day.

I should clarify that before I started I knew I wouldn’t get it in done in a single day – I’m too much of a perfectionist – however I would like to try to get a prototype completed so that I can decide if I want to spend more time finishing it off.

The begginings

I decided to build the game in Corona by Ansca. Using Corona means that I can write the game using Lua, and then publish it for iPhone, iPad, Android, Nook, and Kindle Fire. Lots of potential gamers right there.

I built the first part of the game last night (using Corona Project Manager) – I wanted to see how hard it would be to get going and so made the introduction. This morning I started the menu, and now I am ready to start writing the actual game.

For the menu I used the Corona ui.lua from Pixel Vision – I’ve already found a few spots that I can improve ui.lua but I will save them for later (once I have completed the prototype).

12:30

So the game is going to be an arena shooter. Essentially there will be a big character in the middle of the screen that you have to protect. You will control a smaller character that flies around the outside of this big character. The small character shoots the enemies that are flying in from the edges of the screen. The small character can also act as a shield to protect the larger one.

That’s what I am about to start making!

14:53

Had some hiccups with various movement things but now have a little character that moves around the screen. I’m not quite ready to show anything else but hope to have another video ready in the next hour or so.

15:50

The maths for 2d movement is harder than I remembered. I guess I’m out of practise 🙂 I have the character moving roughly as I want him now. I want to restrict the movement to within a radius of the circle – and that’s not currently set but it will look a lot better once it’s working. I’m going to take a break from the character movement for now and try to get some bullets going.

18:20

So the hero now shoots bullets – and the movement is limited to a radius around the central circle. I need to clean up the bullets, at the moment they live forever. After that I am going to create something for the hero to shoot at.

21:20

I spent some time tidying up the bullet code, and then I added some enemies that now come into the screen from random directions. I think the next thing to do is add collision between the bullets and the enemies. After that I would add collision between enemies and the central object that I am trying to protect. Once that’s done there will be a ‘lose condition’ – ie, a way to lose the game. This would set the levels objective.

Midnight

So – it’s the end of the day. I don’t think I did too bad. In the final sprint I added the ability to kill enemies and a super simple particle system. The particle system was made considerably easier with Corona’s very hand Animation Transitions (which also helped with the intro animation).

Conclusion

Unfortunately I didn’t have time to add in some objectives, or scoring, or currency, or upgrades. I had loads of ideas for making this a more complete game – but I am pleased with what I ended up with. I think my idea is justified and so I am going to continue working on it with a view to one day finishing it off.

Let me know what you think on Mastodon, or BlueSky (or Twitter X if you must).

Related Posts

27 Oct 2017

Pixel Peak – a Teeny Weeny Skiing Game

The start of August this year brought with it the #LowRezJam. A game jam where game developers make games with a size limit of 64×64 pixels. That’s really small. Really really small.I took part last year, and really enjoyed it,...
20 Apr 2012

iPhone Game in More than a Day

So I continued experimenting with my experimental iPhone game from over a week ago.In the video below you can see the progress I have made. I added a very simple graphic for the character you are protecting. I thought this...
30 May 2005

My Next Game

I have been working on my next game for a while now. It’s going to be an updated version of Bubble Bomb. This may seem like a strange choice since Bubble Bomb is essentially ‘Yet Another Colour Matching Game’ (YACMG?)....
03 Aug 2016

Legend of Dad – A HTML5 Game made with Phaser

In April I entered the #LowRezJam, a game jam about making a game in a limited resolution. I had to make a game that fit within a screen that was 64×64 pixels. Quite small. I spent 5 days on it....
15 Mar 2006

Prototype number 1

I’ve been very busy recently so the dev diary has been the thing that takes a back seat (again). Also I have never liked releasing things this early in case people aren’t impressed/ interested, or simply because I don’t want...
12 Oct 2007

Roll – Flash Game

My blogging has been rather slow for the last few weeks. I have a number of small posts lined up for publishing but haven’t had the time to finish any of them. Thankfully it hasn’t just been laziness – I...