Skip to main content

Radial menus

A lot of work this week, but you can't really see any of it.
I've been setting up the interface between the player and all the controls. Now I have a way of entering any kind of command I need in a way which is (IMHO) pretty easy to get to grips with.

Here's the early concept:

[radial menu with two levels]
This was my first concept, that you would use the radial menu to switch to a non-game state and from there you could use direction keys and space to set up various parts of the game.

But I thought it would be better if the radial menu could be expanded with multiple layers to handle things directly in game without entering a non-game state.

So now you can control the camera, perform actions and feats, give orders, switch characters, set default AI behavior and other things right in the game.

[8 level radial menu]

And all layers lead back to the main layer, so hopefully you can't get lost in the menus.

Some interactions though still need to enter a non-game state. For example organizing your inventory or resting and eating.

In that case you'll still be able to use the radial menu to exit back to the game. it will always be there.

The radial menu looks kind of crappy right now because it's just a placeholder. Later it'll have proper graphics and probably have special icons.

[like this]

For now I'm concentrating on getting a game that works, then making it look good later.

[Try to think around the problem]

A few days ago I was stuck with a big task to do and nothing small which I could work on until it was finished. These kind of bottlenecks in development are a real problem for me, since I don't get a lot of time for the project and it sucks to get half an hour but not be able to do anything. That's just not enough time to clear the bottleneck and it only confuses things to leave a task half completed.

Anyway, now the menu structure is in place there are a million ways in which I can move forward, many of them will take less than 30 minutes to do, so I can be more productive and less stressed by the project.

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.

Rockets

I finished working on the code for adding foliage and having some extra time I decided to experiment with the code for rockets.

The original idea I had was that rockets would be large vehicle components that can be fired very quickly, regardless of how much manpower is used for reloading.






They would use up a lot of ammo, so they would run dry after a short but devastating barrage.
The problem here is that it's easy to take advantage of this by adding a lot of ammo, which is much smaller than in bulk than the rockets.

There's also the problem of firing large caliber rockets. In real life rockets of up to 30cm were used, but I think that will be too powerful for the scale of combat in this game.



lol. Somehow that one trooper survived the mother of all explosions...

A 30cm rocket could contain nearly 30KG of explosive. That would be a very large explosion.

I've tried to balance the game by using a simple equation to make bigger guns more powerful, but hopefully not too powerf…

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…