-
Notifications
You must be signed in to change notification settings - Fork 0
Tiny Kingdom: Tower Defense
Nate River edited this page Aug 24, 2026
·
2 revisions
All you need to build a Tower Defense game! Animated creatures, towers, tilesets, effects and more. Get on the Asset Store.
- Open and run
Creaturesscene to play with creatures. - Open and run
Gameplayscene for the gameplay demo. - Open and run
Towersscene to play tower shooting animations. - Open and run
Weaponsscene to see all weapons.
You will find all scripts inside the Scripts folder. There are 5 script groups.
General-purpose scripts.
Creature-related scripts.
- CreatureState - a list (enum) of all possible creature states.
- FaceExpressions - a list (enum) of all possible creature face expressions (when applied).
- SoloAnimationState - used in Animator to block state transitions.
Demo scripts are used in our gameplay demo.
All demo scripts are just basic examples, they don't cover all possible gameplay logic and mechanics. You can use demo scripts for learning and creating your own implementations based on them.
- Builder - a basic script to build towers based on the cursor position.
- CreatureController - can be used to control creatures manually, with a keyboard. Used in
Creaturesscene. - Cursor - a basic cursor implementation to select world grid cells
- MagicTower - represents magic towers.
- MechTower - represents mechanical towers.
- Monster - represents creatures.
- Projectile - represents projectiles (arrows, fireballs and other).
- ShooterTower - represents towers with shooters (archers, wizards).
- Spawner - a simple script that creates creatures from prefabs and handles checkpoints.
- Tower - a basic script for all towers.
- TowerDemo - used in
Towersscene. - WeaponRotationTest - just for testing tower rotation.
Scripts related to projectiles, magic and other effects.
- FxManager - contains links to all effect prefabs.
- ProjectileFade - used to fade in projectiles.
- SpriteSheetAnimation - plays spritesheet-based animations.
Scripts used in scene setup.
- CustomGrid - used to reposit game objects in a grid.
- GridSnap - used to snap (attach game) objects to the grid.
- SortingOrder - sets sorting order based on Y-position.
- TimeScale - used for testing.