Sunday, November 25, 2007

HOLY %*#@&

Wow... Just found out something about the new language I've been using that blew my mind. Linked lists can be embedded into custom objects! That means DIRECT access to other objects pulled from other lists during previous iterations. And you can imagine in a real-time strategy game, where everything makes a target out of something else and with collision checks and whatnot, there is plenty of nested iteration to go around. This could pave the way to enormous increases in game speed. I wish I could bring this improvment back to the old version of the game to satiate those waiting for the new version, but alas, this is a result of some of the reasons I moved away from that language. :)
I won't rush into anything and probably won't modify my code to take advantage of this new discovery until it's all been converted, but based on preliminary testing I expect this to open a lot of doors; higher unit counts, better speeds, and possibly even larger board sizes.

1 comment:

Ghost Bear said...

Wow! Nice :)