Spellcaster Studios

Make it happen…

Category Archives: Technology

AI issues fixed!

Finally managed to fix the AI issues with the “large scale battle”. There was a lot of small mistakes, but one was the real culprit – The Line-Of-Sight (LOS) functions: the “lost LOS to target” and “regained LOS on target” functions weren’t exactly “symmetric”, which meant that I would lose the agro correctly, and would […]

AI issues

Still working on the AI issues I’ve found yesterday, although I’m getting closer to the problem… I’ve built some rudimentary debug tools to track this issue, and I found the culprit… Basically, the AI twitches because it acquires and loses LOS on the current agro target. The idea of the AI is to track the […]

More AI trouble

For the cutscene I’m currently building, I need an epic battle feel between a lot of cultists and corporate hit men… The basic code for it works fine (they have a faction and all the aggression code is based on that). To make the fight never-ending, as soon as one dies, another spawns. The problem […]

Bugville, part deux!

More bugs on my way back to where it all started, where the final showdown will take place… Most of it was fairly small, small mistakes, typos, etc, but I had a nasty one… By accident, instead of loading the game I pressed new game, and a lot of errors there, when running the initialization […]

Bugville!

Today I had full intention of starting the last area of the game, but I got sidetracked with small stuff, mainly related to bugs I’ve introduced in the latest refactoring rounds… This is what my evening was like: But I killed a lot of bugs, and added some more functionalities, namely quick save/load. Quicksave was […]

Sewer lights

Today was a bit frustrating… I thought I was going to be able to start the last custom area of the game, but instead I was struggling trying to make the sewers look good… The sewers are an area with some glowing gloop, and I wanted that to be the only light, so do a […]

Gas vents

Today I added the gas vent element to the game: It’s a nifty gameplay element, although I’ll probably only use it in a couple of places… Frequency, phase, length, etc, all of those can be configured in the editor, which is good from a game design perspective (can see how will they behave without loading […]

New enemy!

Today has been an horrible day in terms of work, and that translated in a terrible game development process… But, after a lot of grief with (yet again) the pathfinder, here’s the new enemy: These spawn from nodes (until they’re destroyed) and hunt the player down… If they reach him they either hit him, or […]

Lighting system

Finished the lighting system I started yesterday… The results are rather good and easy to use (and no more silly crashes). The light generation is fast enough that I can do it in runtime, when the level loads, which is easier to manage in terms of files (no need to keep an unlit file). Now, […]