# BaconGameJam 08

17. October 2014

I am in! I hope to participate in the BaconGameJam; the reddit-organized 48-hour game jam. The 8th event (my first!) will take place this weekend, that is from saturday the 18th of october at 00:00 (UTC+1) and 48 hours forwards (i.e. the night between friday and saturday).

(I do this post in english, since I am participating in an international event. Also, all times in this post are relative to my local time [copenhagen].)

## Preperation

I can't exactly say that I am prepared for this game jam; actually I participate in this event to prepare for the game jam Ludum Dare, in which I have participated before and followed closely for ~2 years now.

I will most likely create my game in Javascript using HTML5 technology using either the canvas-2d-context or WebGL for a 3D game. The base of the game will probably be from some existing game/engine I have used before. If I do 3D I will use code from my most recent game, foxescape. Else, I will probably use something like this car game engine as a base.

My prefered graphics tool is Paint.NET, but I am on Linux so I use the slightly more unstable and buggy Pinta, a Paint.NET open-source clone.

I have very poor experince with sound-effect/music creation, so I'll go for sfxr or bfxr for the sound effects and probably use some free background music from around the web.

I plan on using this blogpost for updates, as I progress through the competition. So stay tuned! You can follow my progress on github.

### Finished! (24 + 23:55:00)

So, I am out of time! I have just submitted the game here: Save Otto Griffis. I will set up the game on my website (so you do not have to download from github, and then I will go straight to bed!)

Also, I'd like to give proper attribution to the authors (or license holders) of the music that I have used in my game:

You can play my game at saveottogriffis.snemanden.com.

### You can now win the game! (24h + 17:05:00)

Yes, you read that right! I just added a line of code that checks whether some condition is fulfilled; if so, you win the game! Well, I must admit, that right now you get that message through a subtle console-message, and yeah, nothing else.

I am quickly running out of time, so I should really focus on doing some simple sound-effects, create the menu/starting screen, create a game-over and a "you have beat the frickin' game"-screen. Gosh, much to do.

Also, the game is becomming quite heavy. The amount of

for (var i in this.game.entities)
// Do something


is greater than I care to admit. (The number of times that I iterate every entity in the game; sometimes done every frame for every entity...)

But here is the most recent screenshot!

### A new character is introduced! (24h + 12:25:00)

So I have spent the first few hours of this day (got out of bed at ~09) by refining the behaviour of the zombies and: created a new character! So please welcome the man in blue. He is supposed to be a VIP character, that the player has to protect; well, that is the plan for now.

### Day 1 over (24h + 02:05:00)

So, that was the first 24 hours! I am not entirely sure that I am happy with the progress, that I have managed so far. Complaints, complaints... At least I have not had any serious bugs or problems.

At some point I realized, that the graphics was crisp, and yes, setting the pixel-scale to "nearest neighbour" fixed that. Although I can still manage to have a decent framerate with >500 entities, implementing a naive collision-detection with obstacles will probably have an impact soon. I guess I use way too much memory and way too ineficient algorithms, but I can't bother optimizing those things. This is an 48 hour game, not a Computer Science project!

I cannot really say that I have figured out the story yet. That should be one of the main goals for tomorrow. And how do you win? Killing all of them?

Here are some screens to show some of the progress I have made:

(The zombie closest to the player can not move any further downwards: it is suppesed to be obscured by the white platform. When I add stairs, that should be more clear, I hope.)

### Grandma zombies? (19:50:00)

After a ~4 hour break with lots of fresh air and social gardening, I have returned to the keyboard.

The game will maybe, maybe not feature zombies and/or cute ponies. The story I'll save for later. But here are some screenshots of the development for the last few hours:

I'll grab a bite, before I'm at it again...

### It begins (12:05:00)

So I have come up with some vague idea. A hack-n-slash game with lots of enemies (original, I know).

Not much time to say so much; have been doing simple setup and begun with animations and player movement.

I will have a break for a few hours and do some gardening: fresh air.

### "Millions of them" (08:10:00)

The theme of this game jam event turned out to be "Millions of them".

I stayed up until midnight, read the theme, brushed my teeth and went to bed. Now that I am up, I will brainstorm a bit and hopefully soon reach some kind of conclusion as to what game I am going to make.