Skip to main content

Features Features Features

It feels like I have added a new feature to my game engine almost every night this week.  These are some important features that have been added too such as halting user input and turning it back on, drawing images and animations without being linked to objects and just a few moments ago I finished adding custom cursors.

It's interesting to see how many new things have been added to the engine and hence the data structure I originally designed.  Each new feature was first added to the data structure first.  Doing this always seems to get me thinking about how the feature is going to be access and what it should actually store.

An example of this was the cursor.  At first I just thought I would need to point to an image and that would be that.  But when thinking more about it realized that the most common case would be changing the cursor to different images and some of the different images would need offsets.  So I put together a dimple dictionary of cursors with each cursor storing its image pointer and offset values.  Then I just have the main cursor store the pointer to the cursor definition that I want.  Now I don't have to worry about cursors from the engine side, full control of the cursor is handled on the data side.

I'll try and get some video or screen shots taken to show progress very soon.

Comments

Popular posts from this blog

Balance

Right now I am in the throws of balancing.  Not game balance but life balancing.  At work we are currently trying to wrap up our game and so things are rather busy.  At home both my kids AND my wife's birthdays are coming up in the next couple of weeks.  So things feel rather difficult to balance properly.  I was on track to get a simple blog post every week day for almost two months but I was only able to get through last month. At first I was pretty bummed that I missed a few days and then the old habits started to kick in again so it seemed like a good time to post something to keep the juices flowing.  I doubt anyone really comes here on a regular basis, I assume most people that find their way here do so from one of my posts somewhere else.  But I'd like to spend some more time putting things here instead of scattered all over the place so I will try and keep posting things as often as I can but for the next month or so the posts might have a fe...

Level Buddy | Blender Addon

An old-school CSG inspired level editor add-on for Blender 3D. The add-on is still very much a work in progress but fairly solid for blocking spaces super quickly.  Just because graphic fidelity has gotten insanely good and hyper detailed doesn't mean we shouldn't look back how older games were put together, at least that is my opinion.  One thing I always come back to is how quickly the tools in the first 2 versions of Unreal Ed 2 and Doom level editors allowed anyone to block out a level, iterate on feedback or try an idea out.  So I just took some time to put together a similar pipeline right in my 3d package of choice.  I wanted to keep it simple and quick to try out level design ideas.  You can use it for simple white boxing of your level, break it up into multiple static meshes and import them into your game engine of choice or  you can use that as your starting point to start more detailed modeling ....

Mike Acton "Data-Oriented Design"

This video is amazing and I can't recommend it enough to anyone that is writing code.  Hearing this stuff from someone like Mike Acton should really echo the importance of what he is talking about.  The core ideas he shares here can be applied to EVERYTHING including art and design.  Do your self a favor and really watch this video preferably multiple times to really drive the ideas home.