Intro
Hi.
I decided to make this guide to make multiplayer games, available to single player in a way.
Basically, what this does is ask the host if they want to override the game so they can play it, just not the correct and intended way to play.
Also massive shoutout to @Ben_to_the_10th because I saw this in his freeze tag!
Final Product
Ahhh
1st, get a lifecycle. It should be on game start so it triggers when the host starts the game.
Next, get a trigger. It is invisible, player scoped, has no collision, and not active on game start. The bolded words are settings that aren’t settings that are used frequently.
BTW you can change the lifecycle to whatever device you want, as long as it’s wired to the trigger.
Event Occurs (Lifecycle) → Activate Trigger (Trigger [1])
Make the lifecycle, or other device transmit on “overrideCheck” and when that happens run this check.
Thanks to Ben^10 and Here_to_help helping me cut down the memory here
Basically this checks if the property startingPlayers [2] is less than 3, or your desired amount of players. If that fails, then do whatever is supposed to happen at the game start with the normal amount of players. If the check passes, it broadcasts on overrideCheckPass, the channel that is broadcasted on when the check is passed.
Now, lets get a relay, and leave it at normal settings. Now when the relay is run, increment counter. This will make it so the counter increments for every player.
The counter should be
- Global
- Updating the property startingPlayers
- Invisible (Optional)
Good. So now it checks if the starting amount of players is sufficient, but it isn’t taking action. Lets go back to the trigger from the beginning. Make it trigger on overrideCheckPass, the channel that is broadcasted on when the override check passes. Now, wire the trigger to a popup. This will make it so the popup only opens on behalf of the host.
Triggered (Trigger) → Open Popup (Popup)
The popup!
I made these images aligned but discourse had other plans >:(
Anyways, this makes it so the player has to chose an option, and when it does, it closes the popup via channel. If yes is chosen, broadcast on the failing check channel from the checker.
Now get an end game device. Default settings. [There are basically no settings but whatever]
Now wire the popup to it!
Secondary Call To Action Clicked (Popup) → End Game (End Game Device )
Done!
- 1/10
- 2/10
- 3/10
- 4/10
- 5/10
- 6/10
- 7/10
- 8/10
- 9/10
- 11/10
- WyWy is yummy
Hope this helped!
By @Bardy_2913 aka @bob_the_tomato aka @beluga_whale
Drop a if you liked, not a reply, if not, tell me why!
Bardy out.