Its confirmed that I will try to make this a reality. If you found this post, please vote in this poll:
If Player 2 has a Roblox account, should I let that player be able to transfer rewards to their main account?
Yes
No
0voters
Greetings! I am planning a very interesting gimmick that allows 2 people to play my racing game with only 1 device. Basically, I would split screen the player kind of like Mariokart’s multiplayer support, except that Player2 would use IJKL, while Player1 would use WASD. Is also connect multiple controllers for Roblox possible? Either on Xbox or on a desktop platform? Because I could also use this system for controllers as well.
I also want to know if I can split screen like this:
If you want my opinion… it’s a terrible idea don’t do it.
The screen splitting can’t be reasonably done unless you make a GUI only game. (due to the nonexistance of CameraFrames)
Multiplayer same device games are from an era gone and past
You’re already on a multiplayer platforms, players that will want to use this will be an extreme niche. Even players from the same household will more likely play together in the same server but on different devices.
Don’t think it will be popular because it hasn’t been done on Roblox. It’s like thinking that selling cassette players will be a good idea since you can’t find any cassette players in the Apple store.
Viewport frames are the only option, unless you want to try some sort of custom renderer with GUIs but that would be much slower. You can do pretty much the same thing in a viewport as the normal view, but keep in mind that there are no shadows (or particles and I think GUIs), so to achieve similarity between views you may want to choose a cartoony theme with no shadows.
Done with viewports your framerate would be so terrible and it’d look clearly worse than the person with the live view, so you’d want to make both of them viewport rendered for even double-terrible performance
The only viable option I would consider is to tether both players within the viewing angles of a single camera. But then it’s not much of a race if you’re clamped to another racer
I will figure it out, don’t worry. I might just leave Player one with being able to choose their character with the unused character assets, and just have the guest players use Viewports, and have all optimizations turned on, since the game can easily run at 60 FPS on a potato PC with default settings.
Not saying that this will work on the potato PC, but it should work properly with a MacBook Air 2018 or later for example.
You won’t be throttled by hardware you’ll be throttled by the viewportframe itself. I’ve never heard of someone being able to replicate a full environment into one at 60 fps
Or you can wait for Roblox’s implementation of multiple cameras? You’re gonna miss out on a ton of Roblox’s features by using viewports, like ParticleEmitters, Beams, BillboardGuis, SurfaceGuis, Skyboxes, Post Processing effects, etc. Not to mention the technical side of this, such as manually replicating not once, but twice to viewports (which makes 3 times when replicating across server-client).
Maybe not super soon but there are several posts scattered around the forum by admins discussing multiple-camera support.
Anyway, I’d say that just like multiple-camera support, multiple players on one device shouldn’t be such a high priority. So much effort for such little gain — I can’t imagine a lot of people actually playing multiplayer on one device
Your just in luck because I was looking into it to do this too!
Yes, you can connect multiple xbox controllers but it looks hard to tell which one is player one. (Or maybe that was the easy part? I forgot) I’m not sure about multiple controllers on pc.
I do not know exactly how to do it with the IJKL for player two. But I would assume that you do the keybinds the same way you would for doing one player but when the key is pressed it sends a message to player two’s avatar and in that script it makes the avatar move.
I actually have the 2 players kart almost figured out. Once I have that done, it will be time to work on the viewports. Then if I can figure out 2 xbox controllers, that might finally be the time to optimize the game for Xbox since it is still unsupported.