Spellcaster Studios

Make it happen…

Pirate Lairs

Today I revisited the pirate lairs, adding a lot of new stuff, like rock walls, props, loot at the end and fixing a lot of small bugs.

screen145

In the screenshot above, I removed the roof to be able to look inside.

I’m having a performance issue somewhere on the lairs… Not sure if it is the props (don’t think so), the AI (more likely, since there’s a lot of them running) or the rendering (working on my laptop, so that might cause it). Weirdly enough, when I started removing elements, the turrets were the ones that impacted performance the most (at least it felt that way), but the turret code is very straightforward, nothing there that should cause this slowdown.

Need to add some profiling code to the game to be able to see where is the slowdown.

Now listening to “When Love Evokes the Curse” by “Autumn”

Link of the Day: Because of my day job, I work a lot with Javascript, so understanding how the garbage collector in a managed language works is very good for optimization purposes… Here’s a nice link as an introduction to garbage collectors: http://www.gamedev.net/page/resources/_/technical/general-programming/modern-garbage-collectors-under-the-hood-r2995

Comment