I want to add a minigame to my Unreal Engine 5 game, similar to the UFO cow-collecting game shown in the “UE4 Tools Demonstration | GDC 2014 Event Coverage | Unreal Engine” video. I would like to add similar minigames and integrate them into my multiplayer game.
How should I use replication to make these minigames work in a two-player multiplayer setup? In short, how can I add playable minigames to my multiplayer game? Please help
Hey there @hamdi_allen! Welcome to the community! So generally you’re going to want to practice and understand how replication works before getting into the specifics for each minigame, as different types of mechanics may have different approaches, and could make your learning process more difficult.
Below are some resources and descriptions of them to get you started:
Cedric Neukirchen’s Unreal Engine Networking Compendium:
The networking compendium is a go to “cheat sheet” and extra documentation when it comes to learning how replication in the engine works when you’re just learning it. I recommend using this as a cross reference when working on anything networking to help reinforce what you learn.
Bry’s practical replication basics:
This unfinished series of videos are an entertaining and straight forward introduction to replication. These are easier to digest than looking just at documentation, and show a couple of practical examples of how some of the features (especially RepNotifies) work that sometimes trip beginners up.
The official documentation:
https://dev.epicgames.com/documentation/en-us/unreal-engine/networking-and-multiplayer-in-unreal-engine?application_version=5.0
The bland answer is that the official documentation is still one of the better locations to get started. While less practically focused, it can help you find the proper terms to search and research more on while providing a decent overview of each piece.
Disclaimer: One or more of these links are unaffiliated with Epic Games. Epic Games is not liable for anything that may occur outside of this Unreal Engine domain. Please exercise your best judgment when following links outside of the forums.
No, that’s not what I wanted to talk about, I think I expressed it wrong. I want to add minigames to my multiplayer game, like the cow catching game in the video I mentioned, for example.