PVZ: Haxe Edition is a port of PVZ (PC Version) in the coding language HaxeFlixel
This is also a fork of Cheese Curd's Repo lol (my discord is 'electr0gunner' hit me up, lets collab on this lol)
Oh yeah if you make mods open-source them (as stated in the Using Source Code section) + this: LICENSE
There are pre-compiled builds in the releases tab. I will keep the old builds so you can experience the old builds lol
at this time there are no published builds currently
This project softcodes most aspect of PvZ, so that means you can:
- Change Zombie/Plants Stats
- Add new Zombies/Plants
- Do all types of cool stuff usin H-Script (NOT IMPLEMENTED YET)
Pull Requests are welcome. For major changes, please open an issues first to discuss what you would like to change.
All there is to know on compiling this game!
- Install Haxe 4.1.5 (Download 4.1.5 instead of 4.2.0 because 4.2.0 is broken and is not working with gits properly...) not stolen from the FNF GitHub, I would do no such thing
- Install HaxeFlixel
- Run these commands in a Command Prompt Window
or PowerShell if you're weird:
haxelib install flixel
haxelib install flixel-addons
haxelib install flixel-ui
haxelib git flxanimate https://github.com/Dot-Stuff/flxanimate
You also need Git, cause discord RPC and shit. Dumb, I know.
- Install git-scm
- Run these commands in CMD:
haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc
Now, onto the fun part
Once you have all of those, it's actually super simple to compile.
To compile to HTML5 (what web browsers use) in a CMD window (or VSCode if you are cool B) ), that is linked to the root directory of your project, put this:
lime test html5 -debug
Linux
lime test linux -debug
MacOS
lime test mac -debug
But, if you want to compile for Windows, it's a lot different story.
You need Visual Stupid Studio, not Visual Studio Code, Visual Studio
When installing don't click on any of the options to install workloads. Instead, go to the individual components tab and choose the following:
- MSVC v142 - VS 2019 C++ x64/x86 build tools
- Windows SDK (10.0.17763.0)
Then finally, when that's done do this:
lime test windows -debug
then again if you use VSCode just press your debug button (default F5
)
Note: The -debug
is optional, that is for compiling the game when debugging, it is faster but has more developer options.
All image/sounds/music assets are NOT mine, they belong to their respected author.
PopCap Games - Developer
EA Games - Publisher
Laura Shigihara - Music Artist
George Fan - Creator
Cheese Curd - Lead Developer
Angel Bot - Extra Utilities + Some QoL Features
Electr0Gunner - Lead Developer
504Brandon - Possible Future used H-Script System (idk yet)