Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / [SOLVED] [Doubt] Is it possible to program split screen? (2 players)

Author
Message
AliceSim1
5
Years of Service
User Offline
Joined: 15th Oct 2018
Location: Barcelona
Posted: 2nd Sep 2019 01:08
Hello everyone.

With AppGameKit, is it possible to schedule for a game for 2, or 4 players, on a split screen?

I have a game for the moment for 1 player, and I move the game sprites with this function: SetViewOffset
The sprites and texts that do not interest me move the Fixed on screen.

Thanks, it's a doubt I have.

The author of this post has marked a post as an answer.

Go to answer

TomToad
6
Years of Service
User Offline
Joined: 6th Jan 2018
Location:
Posted: 2nd Sep 2019 08:25 Edited at: 2nd Sep 2019 08:26
This post has been marked by the post author as the answer.
SetScissor() is what you want
Conjured Entertainment
AGK Developer
18
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 2nd Sep 2019 13:30
Great example, thanks.

I usually don't play with scissors, but this command may change that old habit. (the magnifying example scissors in the docs is great too)

I didn't recognize the full potential of that command until now.

Coding things my way since 1981 -- Currently using AppGameKit V2 Tier 1
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 2nd Sep 2019 21:39
Quote: "I didn't recognize the full potential of that command until now. "

same here. thanks TomToad!

AliceSim1
5
Years of Service
User Offline
Joined: 15th Oct 2018
Location: Barcelona
Posted: 3rd Sep 2019 10:04
TomToad,
Thank you very much, testing your code I was impressed !!
I will try to apply it in my game, I will have to move part of my code, as experimental 2 players ...
To start 2 alone, in an area with walls ... something simple.

Login to post a reply

Server time is: 2024-04-23 08:03:27
Your offset time is: 2024-04-23 08:03:27