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

Electr0Gunner/PlantsVSZombiesHaxeEngine-alpha

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plants VS Zombies: Haxe Engine

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

Downloading

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

Fun stuff

This project softcodes most aspect of PvZ, so that means you can:

  1. Change Zombie/Plants Stats
  2. Add new Zombies/Plants
  3. Do all types of cool stuff usin H-Script (NOT IMPLEMENTED YET)

Contributing

Pull Requests are welcome. For major changes, please open an issues first to discuss what you would like to change.

Using Source Code

All there is to know on compiling this game!

Requirements

  1. 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
  2. Install HaxeFlixel
  3. 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.

  1. Install git-scm
  2. Run these commands in CMD:
haxelib git discord_rpc https://github.com/Aidan63/linc_discord-rpc

Now, onto the fun part

Compiling

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.

Legal stuff + Credits

All image/sounds/music assets are NOT mine, they belong to their respected author.

More Info

Plants VS Zombies Team:

PopCap Games - Developer
EA Games - Publisher
Laura Shigihara - Music Artist
George Fan - Creator

Plants VS Zombies Haxe Edition Team:

Cheese Curd - Lead Developer
Angel Bot - Extra Utilities + Some QoL Features

Plants VS Zombies Haxe Engine Team:

Electr0Gunner - Lead Developer
504Brandon - Possible Future used H-Script System (idk yet)

About

Plants VS Zombies Modding Engine Powered by Haxeflixel

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Haxe 99.6%
  • Batchfile 0.4%