Scripts for Top Down Arcade in Unity C#
Script to move a block horizontally back and forth. Has public variables for left boundary, right boundary and speed.
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.
Enemy Movement script with shoot at player
Includes boundary for chase distance, and values to add multiple bullets for a spray gun effect.
Level Change from death screen
Script has a delay on death screen, then loads player back to the level they have died in.
Level Switch file from tutorials
Player key shoot
Player key shooting from the tutorials
Player movement script from the tutorials
Player health script from the tutorials
Player Health with Data Manager
Player health that updates health between levels to the data manager, also includes text and slider for the canvas.
Camera follow script from the tutorials
Mouse shooting script uses mouse button to fire at the pointer location on the screen.
Spawns enemies from the location of the object in the scene. Has a distance variable to activate when a player is in range.
Data Manager from tutorials with other values added