C++ Time!

I feel terrible because of not posting anything for such a long time,
quick overview:

last two weeks was extremely busy at work, Christmas.. was pretty cool.. chilling out with my lovely girlfriend and wasting time on Heroes of Might and Magic 4.. well wasting a time because our Internet connection is approaching on 31.. well.. we need to wait.

yesterday I have decided to do little bit of University stuff.. so I have decided to start with Game Engineering..

yest that means C++!! .. that was my thought at very beginning.. after couple hours on sample code.. I have realized I can do nothing without Internet.. I hate to say that but set up DirectX in Visual studio 2010 is a freaking pain.. and you have to do that for every project..

is there any way of making it automatically? or once for all projects?
Continue reading “C++ Time!”

Last Weekend before Christmas Issue

was really lazy.. cup of tea book.. couple episodes of friends – honestly I need to get internet at my place.. I am so out of good movies..

Amazon and other online based shops keep spamming great deals for useless stuff for Christmas.

Next week gift hunting will start.. I ll track it, I ll hunt it down..
The perspective of new xBox360 is great but I think it needs to wait until new year.. :S well.. I ll get it at some point.

the book.. I am reading great one. Game Coding Complete 3rd Edition.

Well I am not about to make a good revision of the book but “mr Mike” know how to explain.

This is good position to have on the shelf.

I have started to creating C++/DirectX game framework but to be honest I can’t decide which DirectX should I use. I am using 9 because Napier teaches this one, but in my personal opinion.. why are they learning old stuff? New DirectX API has been changed.. so in fact this is pointless.. well not really pointless but.. if I learn 9 one I will have learn to new one as well.. I think that’s just waste of time.

I will share the simple structure of “Engine” when I ll reach first milestone.. some object in 3D – yeah box.. so what! I bet it will be  Tuesday or Wednesday.. finger crossed.. and yes it will be DirectX9 but I ll prepare alternative version for DirectX11 by end of the year.. I hope.

Software Development 3 – MP’s management System

Below is full code for my SD3 assignment – or you can download it from here – zipped project or here – .jar


“You should write a report about your software (max 2 sides A4) in the report you should discuss the strengths and weaknesses of the Strategy pattern and discuss how you would have implemented your code not using the strategy pattern.”

How is it working?

Current solution as a first thing checks files for serialized data and if there are any it adds MP to arrayLists  – so in a sec it will allow us to operate on this objects.

After adding MP’s to lists my program creates new instance of Program Class which is basically engine that interacts with user (displays communicates, gather inputs), process events, and deal with MP objects.

Program Class is divided to flexible layers which are

  • Display Communicates – Methods that are called only to display information
  • Logic  Processors – Methods that manage whole input/output processed – heart of the program
  • Object Factories – Methods that are creating objects or  changing  attributes of already existing ones

Continue reading “Software Development 3 – MP’s management System”

Global Game Jam 2011

December 7 at 6:07pm Report
“Want to join our team for the Global Game Jam in January?”

damn yeah!!

Account created, now I am reading stuff..

Global Game Jam Edinburgh’s edition will be hosted by Napier – cool news actually.

I need to arrange some meeting to get know my team better and as well I need to figure out what are we aiming for and what set of tools will we use.

head full of questions and ideas.. I love it!

My morale are quite high right now and I have this feeling that with some preparation before event we could manage to do kind a AAA game in less than 2 days ;P

Deffme – 2D Terrain Protection Game

At this stage I can’t say I have done much – Uni, work, life :), but I have something:

First of all I have spent about half an hour on thinking how to write this game, mechanic and engine..

so the idea of game is pretty similar to famous “Plants vs Zombie”

2D game, we can place “tower/flower/anything that shoot” on a map, and there is horde of evil things trying to bypass our things – lets be clear at this stage this can be anything.. that’s just matter of sprites/sounds. hope that will be enough.. but if not – changing to 3D should be fairly easy anyway.

Our “things” can shoot bullet goes from left to the right and horde is going from right to the left.
every object at the map has life points.

My game is future proof and I have thought about different types of objects – eg slowing down bullets, faster enemies, more life points – upgrades etc,

lets remember about simple rule – everything on a map has to move with some speed.. and we need to make that the same for all devices – delta time 🙂

I am thinking about adding some sort of currency – sun, gold, points,tokens – whatever that will allow player to buy upgrades or new things and place it on the map

anyway.. lets see some code!
Continue reading “Deffme – 2D Terrain Protection Game”