PATCH 2.0: SPLITSCREEN UPDATE


Hi, all!

I've made good on my promise and managed to add split-screen functionality.

In order to get splitscreen to work, you have to include an object before your camera is created that initializes its property for the room. While you could use your room's creation code to get that done, I don't recommend that. Doing that would essentially mean you have to create one room per player involved, and that's likely more hassle than it's worth.

GUI is handled through a separate object that has to be created after your camera. I've gone through the painstaking process of creating a system that handles corner detection for each viewport the game uses. This should work for every resolution option present, although if it doesn't, please let me know! I've also included variables that determine what the safe zones for GUI placement generally are (not exact, but in my testing, they were the least problematic spots and worked the best).

Unfortunately, there's a lot to update here, so if you wish to update any projects made with this asset to include its newer features, it may be better to do that later unless you've left the initialization and camera objects completely untouched.

Thank you!

~ Lauren

P.S.: My next project is going to be an example project with this asset because I'm bored and want to make something stupid and simple. More details on that will be made available when I have more to share.

Files

laurensBasicShell_12-11-2024.yymps 418 kB
1 day ago

Get LAUREN'S BASIC SHELL for Gamemaker/GMS2 Projects

Leave a comment

Log in with itch.io to leave a comment.