A P2P multiplayer mod for Plants vs. Zombies: Replanted on Steam.
|
|
|
ReplantedOnline lets you play Versus mode online. Using direct peer-to-peer connections, so you don't need to use Parsec!
Pull requests are welcome. Code structure:
src/Modules/Versus/Configs— contains configurations for plants/zombiessrc/Modules/Versus/Gamemodes— contains gamemode setup and logicsrc/Modules/Versus/Arenas— contains arena setup and logicsrc/Managers/VersusLobbyManager.cs— handles lobby logic and statessrc/Managers/VersusGameplayManager.cs— handles gameplay logic and statessrc/Managers/VersusEndGameManager.cs— handles endgame logic and states
src/Network/Client/ReplantedLobby.cs— handles steamworks/lan lobbiessrc/Network/Client/ReplantedLobbyData.cs— handles data for the lobbysrc/Network/Client/PacketHandler— contains packet handlers for routed packetssrc/Network/Client/RPC— contains remote procedure call handlers for static rpcssrc/Network/Client/Object/Replanted— contains network objects, used to sync individual objects
src/Network/Routing/Transport— contains transports for networkingsrc/Network/Routing/NetworkDispatcher.cs— handles sending and routing packets to/from transportsrc/Network/Server/LAN— contains lan server to test locallysrc/Network/Packet/PacketWriter.cs— handles binary serializationsrc/Network/Packet/PacketReader.cs— handles binary deserializationsrc/Network/Packet/Messages— contains packet messages for serialization and deserializationsrc/Network/Packet/FastResolvers— contains resolvers for non type serialization and deserialization
Fork the repo, make a branch, and send a PR.
Please report any bugs or issues you encounter in Issues to help improve the mod!
replantedonlineofficial@gmail.com
ReplantedOnline is a unofficial modification of Plants vs. Zombies: Replanted and is not affiliated with PopCap Games or Electronic Arts.
