A downloadable game

Greetings everyone!  

I'm excited to introduce this Python project, which aims to recreate a small portion of the renowned game Plants vs. Zombies by PopCap Games. 

This project was undertaken for a school project, where the assignment was to create a game using Pygame. Inspired by the challenge, I chose to recreate PvZ. 

It's worth noting that all visual assets belong to Electronic Arts, and I'm not affiliated with them. I've taken care to adhere to all of their stipulated conditions, which can be found in this link:

EA Games Content Usage Guidelines

The game has been coded entirely from scratch by me and a friend.

Code can be found here.

 I sincerely hope you enjoy playing it, and I eagerly welcome any feedback you may have. 😊

 Here are a couple of tips: During the initial phase, you have 16 seconds of preparation time; make the most of it by planting sunflowers. And during the final wave, consider spamming wall-nuts for optimal defense!

Important note: In my game, sunflowers do not directly produce sun. Instead, they accelerate the frequency at which the player gains sun by 35%. Without any, you get 50 suns every 16 secs. Therefore, it is still crucial to place at least one sunflower!

StatusReleased
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorNumbred
GenreStrategy, Action
Made withpygame
Tags2D, Relaxing, Singleplayer, Tower Defense, Zombies
Average sessionA few minutes
InputsMouse
AccessibilityTextless

Download

Download
PlantsVSZombies.zip 124 MB

Install instructions

How to run the game?

1) Download the ZIP file from the itch.io webpage.

2) Unzip the file [Entire folder has to remain together].

3) Open the unzipped folder and click on the .exe file named "PlantsVsZombies.exe" in the main folder to launch the game.

Running from python code:

If you want to start the game directly from the code, simply run the "main.py" file. (Note that you will have to install pygame (pip install pygame)  in this case)

Code is written in french so you may want to use a translator to understand the code.

WARNING : Each time you lose, you need to close the .exe file and reopen it. Due to time limitation, there's currently no restart button (sorry!). 

Your antivirus may detect this Python file as a virus. This is due to the fact that it doesn't recognize the editor. You'll need to create an exception for the folder.

Enjoy! :)

Leave a comment

Log in with itch.io to leave a comment.