Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

anthonymendez/Vector-Shot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vector Shot

Game Objective

The main objective of the game is to collect all 8 keys in the level without dying. Don't get hit, or else you'll have to start over.

Controls

Key Snappy Action (Default) SpaceLike Action
W Move up Move forward
S Move down Move back
A Move left Rotate Left
D Move right Rotate Right
R Reload Reload
Ctrl Shoot Shoot
Left-Click Shoot Shoot

About this game

A 2D Game made with Unity Personal Edition.

I set out to make and finish a game rather than prototype a mechanic by trying it out and never finishing it. And so, with a week's worth of commitment, Vector Shot was born. My first ever finished game that is playable.

This game is meant to be challenging but at the same time fun.

Can I use your game's code?

Yes! By all means go for it. This game was just a fun project. Some of code I had to google because of I wanted to do XYZ but couldn't figure out for the life of me how to do it. For example, this piece of code I have in Player.cs:

transform.up = player.transform.position - transform.position;

This is to point the enemy towards the player if they're in sight. I want to say I came up with this line of code but I didn't. It came from this answer.

TLDR: Yes, use my code, my awful sprites, do whatever you want with it.