Skip to content

Latest commit

 

History

History
7 lines (7 loc) · 701 Bytes

README.md

File metadata and controls

7 lines (7 loc) · 701 Bytes

This is a simple game made using the RaylibGo library In the game there are two rectangles, a red one and a blue one, the blue one is the player, the red one is the enemy. You can move the player using the wasd keys, run using the left shift key, activate the sword using the left mouse button and activate the shield using the right mouse button. If the player collides with the enemy, the player's health will decrease by one. If the player collides with the enemy and the player's sword is activated, the enemy's health will decrease by one. If the player collides with the enemy and the player's shield is activated, nothing happens. The sword lasts for one second and the shield for two seconds.