Split Screen? (3D)
It’d be like
Make a couple of images
Draw stuff to one
Draw other stuff to other
Draw them both to framebuffer, side by side.
Something like that anyway :)
I have a 3d split screen pong game if you want to look at the code
Thanks a bunch for the help. I’m new to this coding so the help is really appreciated :)
^Apologies for responding so late. Was a bit busy over the holidays. Thanks again
Sorry. Complete noob here. Was wondering if there’s a way to set camPos so I can control the camera and look around each screen on the split screen independently. When I try to the screen turns black
There’s nothing special about split screen that would make it that the screen would turn black.
SetCamera() needs location and target. Accidentally setting those both the same would turn the screen black, I think..
Thanks for all of your advice. It’s appreciated :)
Sadly I’m still having trouble :(. Here’s a video link to what my code looks like https://u.pcloud.link/publink/show?code=XZG4iQXZJeTvYyT77v5GJ5h3RugDzuPICKLk
im probably doing something very wrong in this code. if I am I would much appreciate it if someone would help me out. This program is supposed to display two separate screens and I should be able to control both of them with the joysticks but there’s an error
I think you’ve got more ’loop’s than ’repeat’s
You’ve probably also got more clear()s than you need, and you read the same controls for player 1 and player 2.
Also you have your ’left’ image half the screen width, but the right one the full screen width.