Pages

Thursday, May 9, 2013

From memory pools to sprites

Recently I was doing some more research on memory pool implementations and algorithms, since once I start developing for iOS and Android, I will definitely need to make sure I have optimal memory usage. At some point I might try implementing a custom one, but right now Boost.Pool is looking very good. I found this article online that talks about a couple types of memory pool allocators your classes can derive from (which use Boost.Pool internally). Looking at the sources it becomes very interesting how simple the code is.

Wednesday, May 1, 2013

Application to Actions

Hi there again :)

I've been working pretty much daily on new updates in the background, so progress has been going great. I have the Application class integrated and working pretty well, as well as resource management and actions support. I'll talk more about resource management when the Sprite class is implemented.

Monday, April 22, 2013

Github, Visual Studio, and Premake

Hey again :)

I figured I would separate out the updates on the blog with the recent stuff I've been working on, so excuse the posts so close together.

Okay so here's some important news. Don't look at the old google code repository for any updates on the engine. I'll keep that around for now (no reason to delete it), but anything current is going to happen in the new github repo I started. I just got tired of the lack of progress in googlecode (like being able to download a zip file of the current tree). I like Subversion, but git is starting to grow on me too now that I've been using it a bit. Besides, I figured I could use a fresh start and hopefully be more social with the development process (or at least that's github is supposed to do heh)

Updates!

Yeah, yeah I know. I'm just bad at updating this blog :p

Lots of things have been going on in the last few months, and I didn't have much time to devote towards Gamestone programming. But, I'm back once again. This time, I hope I have a much clearer path towards a definitive v0.1 release of the engine. I decided to scale things back a bit for one, so all object sorting/management is just done at the python script level. What it basically means is that the gamestates would have a render method in addition to what is already there, and you call the object's render methods whenever and however you want. This should simplify a lot of things with regard to the engine development.

Monday, July 23, 2012

New tool ideas

Some random free art from Lost Garden :)
I've finished up the new object rendering system, and was about to start updating the examples and such, when I realized I probably would be better off creating some of my own tools. So right now I'm doing research on Qt Creator/Designer to make a Sprite editor. I think it should be possible to create something which fits my needs.

Friday, July 13, 2012

Work continues...

I'm still around, working on stuff in the background, really I am :D

I'm in the middle of reworking the object rendering system in Gamestone. One of the problems I was having before was that I wanted tilemaps to be able to show layers at different depths, so that other objects could be between them. After a couple different ideas, I settled upon changing the object lists themselves. Instead of the managers completely holding them (and giving them to the renderer by group), I'm storing all objects first by depth, then by group, and lastly by ID. For tilemaps, I'm simply going to be adding the object pointer in multiple depth zones (in the same group of course). So in a single render it will touch upon them once per layer. Internally, the tilemaps will have a counter on what layer to render next.

Wednesday, June 13, 2012

Sprites!

Howdy :)
Just thought I'd drop by with another screenie from Gamestone. This one is the animated sprites example, though with just a single image you wouldn't see that :p

Sprites that I generated from the Charas Project