Geek Chart

I just added it to the blog. It is supposed to track my geeky activity and show the world how much of a geek I am, and how much time I spend with Internet Novelties. Just signed up for stumble upon just so the chart would be complete. What a total dork.

It’s AAAliveeee!!!…. well sort of.

Yesterday evening I began to inject some life into my entities by coding the Behaviour Class that goes inside the CSimpleAI Component, my first AI component in the game, which, at least for now, is the very basic Brain of my entities. The cool thing being obviously, that not every entity has a that component.

This morning I finished coding the very basic first behaviour to make into the game. BehaviourGoToPosition, which takes an entity, a Vector in the 3D space(target_position), and a speed value. The AI component takes care of passing the parent entity that it belongs to on the the Behaviour it currently has, and the values I passed as the target_position, and speed where totally hardcoded and arbitrary… calm down there! I’m just kick starting the whole thing.

A added this behaviour to the component as the initial Behaviour and voilà!!!

The entity quickly went where it should be going! OH! The joy of creating “life”!

Progress at last

It’s bank holiday Monday so instead of slacking and playing games all day long I played a bit in the morning then had to drag myself to the front of the computer to tackle the problem I have been long stuck on.

I had no idea how to reference the parent Entity inside the components. It was pretty simple really.

All I had to do was to add a function to my IComponent interface (and implement them in the Components).

EntityBase GetParentEntity()
void SetParentEntity(Entitybase entity).

Now when I add the component that I read from the Data I have in the XML file, I also add a reference to the parent entity.

component.SetParentEntity(this)

it was very simple and it was right in front of me all along, but it took a long thread from people from work to get the idea right in my head.

Now on to implementing SimpleAI. Now we are moving into more complex stuff.

A blog by email test

A bit of my desk…

Hiatus

I haven’t been very good lately. Left my project untouched for a couple of months. I hit a road block on my entity building, and my brain froze. That and I had some games to go through.

Prince of Persia: Pretty good, most critics say is far too easy, I say is fluid. I really liked the experience. The Epilogue bit has all the nagging issues of the old Prince of Persia Games that made them frustrating. It’s almost like they tried to make up for the fact that the game was “too” user friendly. The part that I liked. Specially after playing the nearly pixel perfect jumping and thoroughly convoluted experience that is Mirror’s Edge. Don’t get me wrong, it’s a great design and with lot’s of production value but it keeps forgetting why did it came to this world, and what the fun part of the game is “free running”. It’s almost like someone that wasn’t working directly on the project gone and said… hmm… you need more combat, more enemies, there isn’t enough frustration in the game.

Dead Space: I decided that I had “cojones” and chose to play it on Hard from the start, just like I did with Gears of War 2, Halo 3, Bioshock and some other FPS. Damn! Dead Space is hard. Hard and scary, Yatzee forgive me but he is probably suffered from horror desensitization or something. This game scares the crap out of me and I found myself too stressed out to carry on playing. When I come back I will probably put the difficult down… maybe…I want those extra achievements.

And that brings me to the last one, which probably should require a post of it’s own.

Banjo-Kazooie: Nuts & Bolts by my fellow colleagues at Rare: God what a fantastic game! Though you really need to spend more than five hours on it to start enjoying it. It is a meta-linguistic-piece-of-art-of-a-game if ever there was one.

“Hero Klungo Sssavesss Teh World” is the work of a genius.

I know the whole “Are games art?” malarkey depends on a very subjective point of view, and what is your personal conception of art, and blah, blah, blah…  and for most it’s not even worth discussing, but in my opinion, that little “fake” 8-bit platformer touches so many subjects with such subtlety that it can’t be just out of pure luck, it’s true genius. It’s like the game is an very tongue-in-cheek interactive statement about everything that was wrong with pixel-perfect platformers, while touching subjects of game programming, art, design, production, and the whole game development process. It may be that you may need to be a hardcore gamer or actually work in the games industry to get the humour of it. It’s a piece of art directed to a niche, but a piece of art nonetheless.

WordPress Themes