Skip to main content

Concept: Footprints.

Today I did some work to try to improve the single texture graphics mode. It's already looking much better, The character shadows follow the nearest light source which makes them look very real.

I did some other experiments which didn't work out, and I also did some work on footprints.

I've done footprints before with a different game and there are two approaches, one is just a basic approximation, adding footprints space the player moves and orienting them towards the last square they came from. The other way needs me to get data from the player's skeleton and can place footprints very realistically but it does make things much more complex and over complexity is something I want to avoid if I can.



I tried it out, walking around the map for about 15 minutes, leaving a trail of little black footprints all over the place. It didn't slow down the game at all. It's a nice effect, though I may make them a little bit more transparent, It shows you quite quickly where you've been, and also where monsters have been. If you wandered in to a new area of the map and found lots of footprints on the ground you could expect that a group of wandering monsters is nearby. If you see some footprints avoiding some tiles for no reason, you might have discovered a trap!

They would be very useful indeed if you've chosen to play without an in game map. Kind of a trail of breadcrumbs. The only problem I can see is that they would rather build up over time, and if you did a lot of backtracking the whole map would soon be full. Also if you leave a level and then come back, all the footprints will have to be saved and loaded again, which seems a bit much.

Comments

Popular posts from this blog

Back to Vinland.

I'm going back to my real time tactics project, Vinland 1936.
While working on the other project I overcame the problems which were stopping me from saving/loading the game and also cleaned up the base code a lot.

After a few weeks I'm getting near the the state I was in before.


Infantry are back to their previous state, and vehicles are running OK.
This time I'm going to push ahead with mocking up the combat system though before I work any more on the vehicle builder or graphical aspects of the game.

Map screen designs

I've been working some more on the map window. Right now you can only see the base, it doesn't show items, enemies or even doors on the map yet. These would be decals.


In the top window you can see the modified result of last night's tile based map. It looks good but there are some visual artifacts related to the problems I encountered yesterday, and as well it takes much more code and time to calculate.

The second window uses a cheap trick to fake an beveled look from a smoothed version of the 32x32 map. It uses black to mask unexplored areas.

Finally the third version is meant to look like a had drawn map. I'm using a cross hatching texture to distort it and unexplored areas are shown as blank map paper.

There's going to be a mechanic in game where you need to use some paper every level in order to activate the map for that level. From there it will fill it in automatically. Paper will be pretty rare so it might be worth keeping it safe for the more complex level…

Infantry combat and entering buildings.

I've been working a lot on the game recently and I've nearly rebuilt it to the level it was before. Past that maybe, since now I have the beginning of a working combat system and the ability to save and load the game.


Infantry can now occupy a building. It's quite an abstract representation, since they stay at the door and turn invisible. But they can then fire from one of the windows and take damage from shots at the windows too. I think I've set it up well so that when building damage and destruction is working then the system should continue to work.

For combat I tried some new ideas, but they didn't work out that well. It seems that it's important that viewing range should be further than shooting range. Now shooting range is pegged at 18 units of distance, while viewing range can extend out past that.

In the above image one unit has an officer, so has further viewing range. The other can only see as far as they can shoot, a dangerous situation since the en…