CS50 - Cat vs Slimes (v.050)
A downloadable game
Game Objective
The village is being attacked by slimes and it is up to our MEOWgician hero to purge all evil by activating the Blessed Statue. However, the slimes have deactivated the statues and it is up to you to reactivate it.
Cat vs Slimes v0.50 is a top-down mini RPG, where your objective is to eliminate at least 90% of the slimes on the map, so that the "blessed statue" can be activated to grant the victory.
This project was created as a final project of the open course CS50x from Harvard.
Instructions
Although there is an instructions page on the game, you can move the MEOWgician using arrow keys, left ctrl cycles through the spells, space bar activate the spells and enter/esc keys open the stats menu, where you can level up your stats after leveling up.
The code can be viewed here, if you're not feeling like downloading the game: https://github.com/cschwatz/Cat_vs_Slimes
Credits
Special thanks to the Pygame community and the people at the Pygame discord.
Since the objective of this project was to improve my ability to write code and develop a "full" game, many assets were taken from itch.io List of assets taken:
- Tileset:
- Sounds:
- Music:
- Sprites:
- Character:
- (https://9e0.itch.io/cute-legends-cat-heroes) (Knigth character was used as base for the character)
- Spells:
- (https://pixerelia.itch.io/vas-basic-spells-and-buffs) (Spell's icons)
- (https://pimen.itch.io/) (projectile spells)
- (https://pixel-boy.itch.io/ninja-adventure-asset-pack)(Heal)
- Slimes:
- (https://joao9396.itch.io/pixel-art-monsters?download) (Slimes)
- (https://game-endeavor.itch.io/mystic-woods) (Slime's death animation)
- Character:
- User Interface:
- Font:
- Menu backgrounds:
Download
Install instructions
- Download the zip file.
- Make sure you have installed the following: Python, Pygame and Pytmx.
- Do not rename any folder/file, or it will crash the game.
If you'd like a more thorough explanation, you can visit the github page of the game: https://github.com/cschwatz/Cat_vs_Slimes
Comments
Log in with itch.io to leave a comment.
I had so much fun!
But I think you could make it possible to go under the roof of houses. And it also happens that when a slime is right above me, my shots go through it instead of hurting it.
Good game!
Thanks! About the roof of the houses, I'd have to treat them as being different tiles from the rest of the house, which would result in more complexity (also, hitboxes are rectangular, so roofs become wonky).
I agree that sometimes spell collision with the slimes just does not work 100% (specially with the wind spell for some reason). I had to do a lot of debugging to even get to this point.
I appreciate the comment though, glad you enjoyed the short experience!