Archive for January, 2009

Try IGF Mobile Finalist Smiles for Free

Wednesday, January 28th, 2009

Yep, it’s been in the pipeline since Saturday. Free Smiles is now available. It gives you both games to try (Zen and Drop).

freesmiles

Zen is the patience game. A unique game that’s like the combination of Solitaire and a Match 3. Free Smiles includes a single puzzle.

Drop is both a relaxing and action puzzler. It’s unique combination of timerless play, with various optional easy twitch gaming features like making multiple matches while other clear, twisting the iPhone, and floaters.

Free Smiles includes a special challenge mode of Drop. The game ends after 200 matches, except for combo’s. You can keep a combo going as long as you can, but as soon as it ends, the game ends. My best during testing was about 360 matches. Give it a try.

Smiles an IGF Mobile Finalist!

Monday, January 26th, 2009

OMG! The IGF Mobile finalists reads something like this.

IGF Mobile Best Game:
* Cubic Republic (IKS Mobile) – Flash Lite
* Smiles (Sykhronics Entertainment) – iPhone/iPod touch
* Fieldrunners (Subatomic Studios) – iPhone/iPod touch
* Edge (Mobigame) – iPhone/iPod touch
* Wardive (And-or) – Nintendo DS

http://www.igfmobile.com/02finalists.html

Freaking awesome. So much for getting to sleep tonight. 😀

Smiles 1.1 Available, others en route

Friday, January 23rd, 2009

As the topic suggests, Smiles 1.1 is now available. Smiles Zen and Smiles Drop 1.1 were sent earlier this morning, so they should be available in the coming days.

Made a minor website update, since I didn’t win the “Best Casual Game” award, and to point out I’m in IGF Mobile. IGFM finalists to be announced Monday.

One more little something for Smiles, then back to the scripture.

Busy Busy… Smiles 1.1

Tuesday, January 20th, 2009

A bit swamped with stuff at the moment. Writing and some “OMG Smiles needs update now!”. Smiles 1.1 has been sent to Apple, hopefully to show up in the next couple days. After some lunch, I get to prepare Smiles Drop and Smiles Zen 1.1, then back to writing like there’s no tomorrow. Yee haw.

The Development of Smiles, Part 0

Friday, January 2nd, 2009

I know my track record for completing a blog series is pretty lousy, but this one should be easier. I kept a personal log with pictures during the development of Smiles, so most of the work is done for me. I just need need to go through it and regurgitate my notes.

To start, I’m going to give a bit of insight in to what happened when I stopped writing my Engines, Names and Evolution blog series last year.

I apologize, but I am going to skip a significant follow up to that series for now (the Hammer engine), but this series should bring us back up to date.

Here we go.

– – – – – – –

Late 2007 and early 2008 were spent working on libraries, and foundation for my new engine Playground.

Playground was the successor to Hammer (PuffBOMB HD… will talk about this another day), which in turn succeeded Freedom.

– – – – – – –

Before PuffBOMB HD was shelved in late 2007 (Hammer engine), I was working alone on the project. Amicably, but that’s a series for another day.

The core issue with Hammer is that it wasn’t very reusable. As a whole, you could certainly build a new project based on it, but it’s elements were poorly isolated. Triangulation and collision testing code was embedded right in to the physics engine, so I couldn’t use the same code elsewhere without a lot of waste.

I prototype games regularly, and the product of this year of development (2007) wasn’t as useful as it could be.

– – – – – – –

Late 2007, I was at a crossroads. I still had savings left, but only enough to support myself. I needed a break from PuffBOMB HD, so I coined a new project. A suite of libraries and tools I could personally use for prototyping and developing games faster and more efficiently. The end goal may have been to build a Metroidvania derivative, but the core of the project was to build me some tools. If the project was going to fail again, at least I’d have a foundation to try the next thing. This was the Playground project.

Here’s where I get technical.

As mentioned, Playground is a suite of libraries and tools. It started with me collecting what usable parts I could extract from Hammer, and my Ludum Dare games and framework.

I should also mention that by library I’m referring to an element. A directory of files. Either copy the directory in to a project, or set up an SVN External for it. Only a crazy person would compile their work in progress library to a .lib/.a file and install it. If that’s you, you’re crazy! 🙂

One of the first and most useful elements I built was the Data and Serialization library. I decided to finally stop using C++ streams for binary File I/O, but wanted my file reading syntax to be nicer than fopen. The syntax for loading an arbitrary binary file from disk is as follows.

DataBlock* MyData = new_DataBlock( “Data.bin” );

Nice and easy. A DataBlock is an incredibly useful and lightweight basic type. It represents an arbitrary block of memory with a size stored in the first 4 bytes. It’s defined as followed.

struct DataBlock {
    size_t Size;
    char Data[0];
};

Pretty simple. For completion, the Data and Serialization library includes similar calls for normal non DataBlock data, but they’re so lightweight and flexible I use them anyways.

The great part about writing your own I/O wrapper is you can seamlessly integrate things like compression, munging, CRC’s and checksums. For example, load and decompress a file in 3 lines (one cleanup).

DataBlock* Compressed = new_DataBlock( “CompressedFile.zlib” );
DataBlock* Uncompressed = unpack_ZLIB_DataBlock( Compressed );
delete_DataBlock( Compressed );

The library is also written in such a way that, while it supports many compressors/hash methods, they are not required to be built or linked against the project unless explicitly used. In other words, if I don’t use BZIP2, I don’t need the BZIP2 headers or C files. As lightweight as you can make a library.

The vector math library is borrowed right from Hammer, cleaned up and isolated to be vector, scalar, and matrix math only. Types for rectangles and simple primitives are a library. Coding niceties like template types containing a,b,c or r,g,b,a components are a library. Strings, parsing a whitespace delimited file, and debug console logging as well.

Collision tests, and everything you do between primitives is a library of functions. Extremely long names, but they’re now modular in such a way they can be used in a physics engine, in a primitives library or a GUI/Menu system.

if ( Test_Point_Vs_Polygon2D( ... ) ) ...

Where this one returns a boolean value. I wont bother listing the arguments, but it’s a global C-like function. It takes direct types and pointers where appropriate. The functions follow the form “Action_What_Relationship_Who( … );”. Action is the operation, What and Who are the terms being tested, and the Relationship is the rest of grammar required to describe the operation.

Nearest_Point_On_Chain2D( ... );
Nearest_CornerPoint_OnEdgeOf_Polygon3D( ... );

Where the Smiles story begins is the Grid library.

Grid was a library created for a Ludum Dare game Pillar Caterpillar.

Here’s some concept art.

pillarmockup

Pillar Caterpillar wasn’t playable within the compo timeline. It however still featured some great pre-production work, and a useful chunk of code that became it’s own library in Playground. Further work was done on the project, but that mock-up is the coolest looking part.

For the time being, only minor changes were done to Grid.

– – – – – – –

Shortly after the iPhone SDK was official announced in March 2008, I started prototyping some game concepts. The first, Magtraction (since Magnetica was taken, by a game completely unrelated to magnets).

magshot04

A prototyped game concept deemed “too boring“.

The second, Dungeon Legion.

legionshot04

A prototype game concept deemed “too awesome“. Too awesome to finish in a short period of time. 😀

Both of these prototypes were the projects used to get the geometry tests up and working again.

You might hear more about Pillar Caterpillar and/or Dungeon Legion in the coming months (both projects are on my list I’m considering).

For the 3rd prototype, I wanted to revisit Grid.

Why iPhone Audio support in Apps is poor

Thursday, January 1st, 2009

iphoneaudio

3x 2″ binders full of documents. Looks like I have some reading to do.

PS: Happy new year. 🙂