Computer Science KSS
  • Home
  • About
  • Contact
  • Track and Field
  • Top Down Arcade Template
  • Platformer Template
  • Unity TD Script Library
  • Home
  • About
  • Contact
  • Track and Field
  • Top Down Arcade Template
  • Platformer Template
  • Unity TD Script Library

Unity TD Script Library

Scripts for Top Down Arcade in Unity C#

Moving Block

Script to move a block horizontally back and forth. Has public variables for left boundary, right boundary and speed.
mover_script.txt
File Size: 1 kb
File Type: txt
Download File

Flipper (for pinball paddle or other rotating feature)

Script to rotate an object. Must be placed on the object to be rotated, has public variables for start and finish angle, and moving time to adjust speed of the rotation.
flipper.txt
File Size: 1 kb
File Type: txt
Download File

Enemy Movement script with shoot at player

Includes boundary for chase distance, and values to add multiple bullets for a spray gun effect.
enemy_movement_and_shoot_at_player.txt
File Size: 4 kb
File Type: txt
Download File

Level Change from death screen

Script has a delay on death screen, then loads player back to the level they have died in.
level_change_from_death_screen.txt
File Size: 0 kb
File Type: txt
Download File

Level Switcher

Level Switch file from tutorials
level_change.txt
File Size: 1 kb
File Type: txt
Download File

Player key shoot

Player key shooting from the tutorials
player_key_shooting.txt
File Size: 2 kb
File Type: txt
Download File

Player Movement

Player movement script from the tutorials
player_movement.txt
File Size: 1 kb
File Type: txt
Download File

Player Health

Player health script from the tutorials
player_health.txt
File Size: 1 kb
File Type: txt
Download File

Player Health with Data Manager

Player health that updates health between levels to the data manager, also includes text and slider for the canvas.
player_health_with_data_manager.txt
File Size: 1 kb
File Type: txt
Download File

Camera Follow

Camera follow script from the tutorials
camera_follow.txt
File Size: 1 kb
File Type: txt
Download File

Mouse Shooting

Mouse shooting script uses mouse button to fire at the pointer location on the screen.
mouse_shooting.txt
File Size: 2 kb
File Type: txt
Download File

Enemy Spawner

Spawns enemies from the location of the object in the scene. Has a distance variable to activate when a player is in range.
enemy_spawner.txt
File Size: 1 kb
File Type: txt
Download File

Data Manager

Data Manager from tutorials with other values added
data_manager.txt
File Size: 0 kb
File Type: txt
Download File

Powered by Create your own unique website with customizable templates.