Turrets
Status:Rough idea
Overview
A 3D world, viewpoint limited to be close to your turrets.
Build the world from a grid of cubes, but use subdivision surfaces with different smoothing rules to create geometric diversity. Swap out the geometry style, texturing and décor to give a selection of different areas styles.
Most or all areas are “indoors” which means mostly caves, tunnels, corridors, but some large open areas.
“Runs”
The player enters a portal. Each portal has a limit on which and how many cards the player can bring. The level inside the portal is procedurally generated but from a template that makes it come up similar each time. E.g. the type of environments encountered, the sorts of enemy present, these will be the same but detail will vary: you may know a big “ice cannon” boss is coming, somewhere around midway, but not precisely and not in exactly the same situation every time.
Runs are linear in the sense that there is much more “forwards” than there is “side-to-side”. The route can switchback and curve, but which way is forwards is obvious. Areas encountered are variable (but more variable between portals, reruns of one portal are similarly styled, themed and present similar play/difficulty.)
Progress is by building turrets further forward through the route. This may bring you into conflict with opposing forces. It may also bring you to a point where you can claim rewards. Turrets are build using a special fire mode of existing turrets, so the deployment point must be in range and in sight. Deployed turrets auto-connect via a glowing power conduit which snakes over the ground from the turret which deployed them. If this is subsequently cut, all “downstream” turrets are destroyed, driving you back towards where you came in.
Difficulty scales up over the length of a “run”, has a big reward at the end. Intermediate rewards come in the form of “achievement” unlocks, such as gaining your first flame weapon card after defeating 5 flame-using enemies. Big rewards are either special cards, or more general power-ups such as: +1 cards you can bring through a portal, +1 cards drawn, +1 on some attribute (say armour) for some type of tower you deploy, or fragments which build towards the a later unlock. Rewards are unique. You can revisit a run to achieve something you missed the first time, but you can’t get another copy of a reward you already had.
Unlocking the ultimate rewards depends on reaching the end-run in less than some specified number of moves. This is important as some risk and combat areas may well be trivially achievable to the player with all the time in the world. There are no resource limits, so they can simply burn turns building turret after turret and only moving forwards when they are thoroughly over prepared. Other areas may not allow that due to their basic geometry, but the randomised levels may not be able to guarantee that, so the turn limit is our ultimate protection.
The player’s point of view is limited to the furthest back location where there is an active enemy. You can sneak past enemies, and they do not become active, but if you are fighting them, then you have to completely win before you can move on…
Types of area:
Stealth - there is some sort of concealed route through, at its simplest: an area behind a low wall where you can build a chain of small turrets completely unseen. Other options are:
side-tunnels, possibly populated but with less enemies than the main way
rifts across the floor which can be build in unseen
smoke-filled areas adjoining volcanic areas
certain types of enemy may never look up, so if you have gained the power to build on ceilings you can get past that way
I it is expected than any area you have to stealth, represents somewhere you will want to return to and conquer, once you are sufficiently powered up… So initially stealth areas morph into combat as play progresses.
Combat - this area contains enemies which you cannot avoid if you wish to progress. If defeating them is not yet within your capabilities, try somewhere else first and get more upgraded before trying again.
Combat areas are distinguished by both the types of enemy, and the difficulty they represent. Combat areas are of finite length, punctuated by safe areas.
Challenges presented by combat vary between densely packed areas using weapons you are already equipped to handle, or sparser areas introducing new challenges. Sometimes the challenge may be a combo of things you’ve seen before, but not together, like a mix of enemy repair towers and weapons which scale up with time, making destroying them quickly urgent and difficult.
Enemies come in the form of mobile enemies and ready laid-out arrangements of hostile towers. Towers are hardest when you need to advance along the path of their deployment. Mobile enemies have behaviours which scale their danger: the easiest are solo and, not interested in you, and only fight if cornered, the hardest are aggressive, come in groups, and communicate so that the moment you touch one, they all attack.
Risk - these areas may represent the safe areas between overt combat. The difference is that they present a risk for later which you ignore at your peril. For example:
a (currently) closed portal
or you may have crossed the well-worn migration route of a herd of dangerous robo-critters.
a (again currently) dry river bed
The player may not recognise these when first encountered, and will press on, only to have their supply chain suddenly cut at some later point, forcing them to drop back, or even driving them right back to the portal and defeat. On subsequent passes they will look for a stealth way around the danger point, or spend time fortifying the risky area before pressing on.
Because we control when the player encounters future combat, we’ll schedule the triggering of the risk area to coincide with the player reaching a safe area. That way they won’t have to devote their attention to two combats at the same time.
Opportunities - like risk areas, the idea here is that the player not recognise them at first. The difference here is that there is something the player can do here, later, once they develop the capability. Examples are:
doors, only openable when you have collected all the parts of the key
collectables you can only collect once you have the specialised card/turret to handle them
doors which close after N turns, meaning you need to get to them before that
openings only accessible when you have upgraded the places you can build towers and/or increased your deployment range
The areas revealed by the the doors mentioned here will vary from small areas with extra rewards, to entire alternative ending to the run.
Safe - these areas provide punctuation between combat. Additionally, there may be points in these areas from which a preview of a future challenge, or inaccessible secret area can be seen.
Additionally, once you have some tower with a longer range, you may be able to get a jump start on pacifying the next area from these…
Special geometry - all of the above, within maybe certain limits, can also be created in forms designed purely to add interest to the geometry:
spiral up/down ramp circling the inside of a shaft - long enough ranged weapons may be able to shoot right across and up/down a turn or two
raised bridge above billowing clouds, storm tossed ocean, or burning lava
glass tube through an area filled with terrifyingly upgraded enemies, their munitions will continually splatter against the outside of the tube
as a late reward, the player will get a “portable hole” gun, allowing them to exit the tube, when they think they’re ready…
Spiral ramp up the outside of a tower
Maze
Room filled with columns
Types of turret
(To be more thoroughly worked out…)
Turrets consist of a basic installation which may be upgraded with additional capabilities according to whether it has any free “slots”.
Slots consist of:
weapon slots
armour slots
shield slots
utility slots
Early turrets possess few slots, later more advanced ones have more. Things which can be deployed in slots come from additional cards. The player will have opportunities to play several cards at once, and these can be increased with upgrades. Weapons always fire together, so the cooldown is that of the slowest recharge weapon. If there are multiple shields and/or armour, then they nest in order from outside in.
Turrets come with a base health, some systems dropped in slots bring bonusses to that.
So “types of turret” really consists of types of weapon, plus types of armour, plus types of shield, plus types of utility.
Weapons: do damage, all have ranges
projectile - light, medium, heavy, rapid fire, multiple barrels etc.
light/medium travel in straight lines
heavy shells arc and hence may not be practical with low ceilings, but can cross low barriers
beam - light, medium, heavy, specialisations such as “red” burning and “blue” freeze/slow, also some beams ignore some shields
flamethrower - limited range, area of effect
guided missiles - light with only similar range to bullets/shells, or heavy which you can fire off from a distance
Armour: (absorbs all of some types of damage but is worn down in the process, however heavy armour may is completely immune to light weapons…)
none - turrets take damage as soon as they are hit
light/medium/heavy
fire-resistant - also blocks fire damage
stealth - (add on) reduces the distance you have to keep from enemies to avoid being seen
sealed - (add on) blocks gas
Shields: (block the first instance of some sort of damage before collapsing, regenerate after a cooldown, heavy shields are completely immune to (matching) light weapons, shields have no effect on the wrong sort of weapon)
projectile - light, medium, heavy projectiles blocked
concussion - explosion damage blocked
heat - fire damage blocked
camo - reduces the distance you have to keep from enemies to avoid being seen
atmospheric - blocks gas
Utility
hologram - make your tower appear friendly to an enemy (stealth option)
repair module - turret can regenerate health slowly
repair robot - turret can also regenerate health in nearby turrets
scanner - various sorts, allow the map to display enemy units from some distance away (guided missile may then target them, if unblocked)
damage master - available in a few levels, gives +1/2/3 damage to all weapons
Anatomy of a player round
Basic:
the player plays one card
all cooldowns on all enemies countdown, triggering attacks and other effects if they reach zero
all cooldowns on all friendlies ditto
However, some towers carry an “and immediately fill N slots” bonus.
Some special cards allow playing N cards.
At any time you can discard you hand and redraw instead of playing a card.
(Once you have the upgrade(s)) you can pre-fill a slot, saving turns, but committing you to that combo for the whole run…
Enemies
Turrets - any of the options that the player can use, in a few pre-chosen combos.
Turret networks - already set up when the player arrives, the player has to push through/past them
Single multi-turrets - as mid-run or end-run bad guys, larger turrets with more weapons etc than the player can deploy. Various designs, such as a big turret with several smaller ones mounted on it, or a “weapons tree”
Mobile - like smaller turrets, equipped with similar items, restricted to moving on an area of contiguous smooth surface (the subdivision surface can do that). Mobile behaviour varies on a scale of agressiveness/danger:
running away
running away if attacked
attacking if attacked
attacking if merely in sight
And “attacking” can mean:
returns fire on one turret
returns fire on any turrets it sees
follows connections to destroy all it can
Swarms - swarm behaviour stacks alongside the above, adding:
units in sight join attack
all units join attack
Cards

Rough idea of a turret card🙂
(empty circles need not be shown)
up to 4 weapon slots (right)
up to 3 shield slots (top)
up to 3 utility slots (bottom)
1 armour slot (left)
Text area for any special capabilities.
Other attributes would come from how the slots themselves are filled, e.g. the cooldown time of the whole turret is that of the slowest weapon.
To display these, would need to zoom out the contents of a slot with a view of their card contents (simpler!) if you hover/tap/whatever it…
Just a rough grab of ideas for actual cards (roughly increasing level down table)
Turrets | Weapons | Shields | Armour | Utility | Special |
Fixed armour, 1 weapon | Light projectile - slow | Flame - adds igniting effect to any weapon, boosts damage + duration of flamethrower | |||
Fixed armour, 2 weapons | Light projectile - medium rate | Ice - add slowing effect to any weapon, stops most damage of flamethrower but slows with AoE | |||
Fixed armour, 1 weapon, 1 utility | Light projectile - rapid fire (in bursts, when cooled-down) | Shock - add stunning to any weapon, stunned towers/mobile units lose all capabilities for a round or two | |||
Fixed armour, 2 weapons, 2 utilities | Repeat last three, but medium projectile | Homing
| |||
(better armour unlocked, armour cards won from opponents using that armour, armour slot unlocked on all the above) | Heavy projectile (flies in a parabola, can cross a wall but may hit low ceilings…) - slow | Acid - adds hugely increased armour damage rate to any weapon | |||
(shields unlocked, shield cards won from opponents using that shield, one shield slot unlocked on all the above) | Ditto, medium rate | Piercing
| |||
1 armour, 3 weapons, 1 shield | Very heavy projectile - slow (explosive, moderate AoE) | Double barrelled - whatever the weapon fired, it now fires two… | |||
1 armour, 2 + 1 weapon (giving two different cooldown times), 1 shield | Beam - low power | Defender - stops the weapon firing after the turret’s cooldown, and instead reserves it for automatic fire on applicable incoming munitions (heavy projectiles and missiles are targetable…) | |||
As above + 1 utility | Beam - medium power | ||||
1 armour, 4 weapons, 1 shield | Beam - high power | ||||
As above + 1 utility | Flamethrower - moderate range, wide AoE | ||||
1 armour, 2 + 2 weapons, 1 shield | Missile launcher - light - slow | ||||
(multiple shields unlocked, following turrets won from enemies using that) | Missile launcher - medium - slow | ||||
<repeat last block with +1 shield> | Missile launcher - heavy - slow | ||||
<repeat same block with +2 shield> | Missile launcher - light - rapid | ||||
Missile launcher - medium - rapid |