Keep the King Alive

Keep the King Alive

This game is from ldjam.com, which is currently unavailable.
You can try viewing the original page on Web Archive (may not load correctly).
overall: 3.80
fun: 3.78
innovation: 3.45
theme: 4.05
graphics: 3.80
audio: 2.88
humor: 2.74
mood: 3.27
Your king is threatened by fellow opponents and YOU are the only one that can keep him alive!

Play here!


As you can see, it's a strategy game, and your goal will be to properly control your units to make sure the King stays safe.

How to play


Sorry, I spent so much time to work on the game that I didn't have time to create an in game tutorial, so I'm doing here instead as I think it's important to understand how to play :sweat_smile:

You start the game with 3 units: the King, a worker and a soldier.

Each unit can be selected, by left clicking on it, and moved around to a specific location by right clicking.

Workers


Workers are the only ones that can collect resources (wood, rock, gold).

Soldier


Soldiers are the only ones that can attack and kill opponents.

New units


When you have enough resources, you can build new units.

Construct walls, worker or soldier using the bottom bar.

Each X seconds, a new world chunk is added with new resources and potential enemy castle(s). Use your soldiers to kill enemies and destroy castles before they spawn new enemies.

All units have health represented by the hearts above of them, if their health decrease to 0, the unit dies. If the King dies, the game is over.

Try to let your King alive as much as possible! Share your score in the comment :wink:

Controls


Camera can move using the keyboard (arrow keys or ASWD) or the mouse by clicking on the screen with the middle mouse button and dragging it in the direction you want to go.

You can zoom in/out using the mouse wheel.

Left click is used to select units and right click to give order to a selected unit.

When you are in "build" mode (you clicked on the bottom bar to build new a unit/wall), left click is used to place the new unit/wall and right click is used to exit the build mode.

In build mode, you can also rotate unit/wall using R or CTRL keys.

Info


- 2nd compo
- Cumulative time spent: 29.5h

- Tools used:

- :tools: Programming:
- Game engine: Unity3D
- IDE: Visual Studio 2019
- VCS: Git (with SmartGit client)

- :art: Art:
- 2D: Inkscape, Paint.NET
- 3D: Magica Voxel, Blender
- :control_knobs: Sounds: Bfxr, Audacity
- :musical_score: Music: Bosca Ceoil

Screenshots



Timelapse


https://www.youtube.com/watch?v=eDe4au5_2DA

Post jam changes


v0.2


- Reduce music volume
- Fix a bug where ghost units could attack enemies
- Fix a bug where we couldn't place new unit/wall for no apparent reason
- Fix a bug where enemies could be stuck if no valid path exists to the king
- Fix an issue where workers couldn't collect resources close to them
- Tweak difficulty
- Reduce camera speed and make sure it depends on the zoom when using keyboard controls
- Fix issue where enemies was spawned during new world chunk animation
- Make sure we can't select item from bottom bar if we can't purchase it
Found a bug?
Tell us on Discord