Tuesday, July 3, 2012

Back again, a lot has happened

I've finally returned to the blog and I plan on staying this time.
There are a lot of changes since the last post, I've switched from C#/XNA to Unity!

Everything is so much faster and I really like the workflow, before it was struggling getting things on screen, now the biggest challenge is getting ideas.

Currently I'm working on this adventure game:

I have some lightmapping going on, the level is made in blender and there are several animations.
Compared to my previous screenshots, this is a HUGE improvement and it's 3D now instead of 2D.

I'm not sure where I'm heading right now, but I'll keep tinkering in Unity, and hopefully something cool will pop out!
Some tutorials etc. would be nice to add to this blog if I find some time, that would be handy to check back on.


Saturday, April 28, 2012

Screenshot Saturday 64 :D

(Posted on Reddit for screenshot saturday!)

Full Album

This is my first Screenshot Saturday and I'm happy I got some stuff to show I've made using XNA!
First of all, I finally completed a game two weeks ago: Ball Vanquisher.
It's a 2D run 'n shoot type of game, you can read more about it here.
Screenshot 1 Screenshot 2 Screenshot3 Screenshot4

After that, I remembered having so many unfinished projects with helper classes in them that could be handy in other games I make too so I've started making a library full of helper classes/methods/components with all those pieces cleaned and tied together as base.
It's starting to turn into a really handy library with an animated sprite class, per-pixel collision detection, a simple particle engine, a 2D camera, extension methods for commonly used classes, primitive drawing for debugging, and lots more.

I also made a small game in 3 days using the library, and it helped me to improve the library some more, especially the Sprite class.

Now I've just started yesterday on making a game again, but this time a little bigger and more fun. I've had fun drawing the "crossbow", and I plan to do to everything in the same style.
I really like this flow between making games and adding stuff to the library at the same time to speed the process up next time, I'm having tons of fun with it!


Sunday, April 1, 2012

Game progress video #1

I recorded the platformer game a few days ago, this was how I tweaked the collision checking code.
I'm not very far yet, but at least the movement and states are acting correctly (most of the time).
The level generator almost works how I want to now, it's creating simple levels, the player start position and the next step is enemies.

What I'm working on now though are some classes for loading in Spriter Beta .SMCL files and spitting out animations.

It's not finished yet, I've got the loading done but I'm creating the classes now that will be made public in the code that will allow easy animation.

Hopefully I can show some big progress next time.


Thursday, March 29, 2012


The new game is finally starting to feel like a game, the player can run, jump, attack and fall down now.

The tile collision code was a challenge because my code was really unclear, not using the states right and using direction and speed instead of velocity.

I've cleaned it up completely after failing for about 5 times trying to get the falling right.
After that, it all became much more clear to me what exactly I had to do to make it work!
Also the code is readable now even by non programmers, and a lot smaller.

This game is really teaching me a lot, not only for game programming but programming in general.
Refactoring is a good idea when you're stuck!


Saturday, March 24, 2012

I'm back!

It's been a while since my last post, and that's because dark souls and skyrim came out and gobbled up all my free time in November.
I haven't picked game programming up since then but I'm planning on picking up where I left.

It seems I forgot most of the stuff I learned though...
Luckily for me I have this blog and it's posts to reread and refresh my mind.

I've started a small project to learn everything again, I'll keep you updated how it goes!