Plants vs. Zombies 2 (Switch)
Plants vs. Zombies 2
TecnologíaPort Nativo C/C++ (Reimplementación de Motor)
Ver proyecto oficialSobre el proyecto
Plants vs. Zombies 2 es un videojuego gratuito de defensa de torres de 2013 desarrollado por PopCap Games y publicado por Electronic Arts. Es la secuela de Plantas contra zombis y se lanzó mundialmente en la App Store de Apple el 15 de agosto de 2013 y en Google Play el 2 de octubre de 2013. El jugador defiende el jardín de los zombis colocando diversas plantas.
2 versiones de Plants vs. Zombies 2
Estás viendo: Plants vs. Zombies 2 (Switch)
Información oficial del proyecto
pvz2_nx
Plants vs. Zombies 2 on Nintendo Switch
An unofficial Nintendo Switch port of the Android version of
Plants vs. Zombies 2 — 13.3.1
About
pvz2_nx is an experimental port of Plants vs. Zombies 2 Android 13.3.1 to Nintendo Switch.
The project provides the Switch-side compatibility layer needed to run the Android game code under Horizon OS.
This repository does not include Plants vs. Zombies 2 game assets or other proprietary files.
Controls
PVZ2 NX supports both touchscreen and Nintendo Switch controller input.
The controller changes behaviour automatically depending on whether you are in a menu, selecting plants, or actively playing a level.
General
| Input | Action |
|---|---|
| A | Tap / select / confirm |
| B | Back in menus |
| Left Stick | Move the cursor |
| D-Pad | Move the cursor/focus |
| Minus (-) | Show / hide the controller cursor/focus overlay |
| Touchscreen | Native touch controls in handheld mode |
During a Level
| Input | Action |
|---|---|
| Left Stick | Move over the lawn freely |
| D-Pad | Move between the 9×5 lawn blocks staticly |
| A | Plant the selected plant on the focused cell |
| L / R | Select the previous / next seed packet |
| Plus (+) | Pause / resume |
| Double-tap B | Use the shovel on the focused plant |
| Double-tap X | Use Plant Food on the focused plant |
| Hold ZL + Left Stick | Temporarily use the free cursor instead of lawn-cell focus |
| Hold ZL + A | Tap / drag with the free cursor |
Plant Selection
Plant selection remains pointer-based rather than using the 9×5 lawn grid.
- Left Stick moves the cursor freely.
- D-Pad moves the cursor in larger steps.
- A selects plants and presses UI buttons.
- B goes back.
- Touchscreen controls remain available in handheld mode.
Build
Requirements
- devkitPro
- devkitA64
- libnx
- GNU Make
- The original
pvz2_nxMakefile / linker setup - Your own legally obtained PvZ2 Android 13.3.1 files (XAPK)
Compile
Clone the repository:
git clone <repository-url>
cd pvz2_nx
Make sure your devkitPro environment is configured:
export DEVKITPRO=/opt/devkitpro
export DEVKITA64=$DEVKITPRO/devkitA64
Then build:
make -j
To rebuild from scratch:
make clean
make -j
Some source-only development packages do not include the original Makefile, linker configuration, or
elf2nrosetup.
If they are missing, use the build files from your existing workingpvz2_nxenvironment. (HOLD R when opening homebrew menu true a game or run directly as a forwarded app) applet mode does NOT work propperly
Running
Place the generated .nro and the required game files in the appropriate pvz2_nx folder on your SD card, then launch it through your Nintendo Switch homebrew environment.
place the files like this: sd/switch/pvz2_nx/
-sd/switch/pvz2_nx/pvz2_nx.nro
-sd/switch/pvz2_nx/pvz2.xapk
Launch the app it will do the rest
Status
pvz2_nx is still under development.
Some builds may contain experimental fixes or diagnostics. A build should not be considered hardware-stable until it has been tested on an actual Nintendo Switch. Exampled: (Stable 1.0.0/ Dev 1.0.1)
-- things i want to fix/add (if possible) --
- Modded shop with plants costing gems or coins instead
- Working login with EA Cloud saving
- better optimization for less lag
- Updater
- TBA
Support
If you like the project and want to support development:
<div align="center"> </div>Disclaimer
This is an unofficial fan-made project and is not affiliated with or endorsed by PopCap Games or Electronic Arts.
Plants vs. Zombies 2 and all related trademarks, artwork, audio, game assets, and other copyrighted material belong to their respective owners.
Contribution
Are you able to make worthy updates to the port like fixing a bug, Optimizing or other stuff. Feel free to help the port run better. Make a issue for issues or help by making a well documented pull request
