# \[Extension\] arcade-split-screen

**URL:** <https://forum.makecode.com/t/extension-arcade-split-screen/14970>\
**Category:** Show & Tell\
**Tags:** extension\
**Created:** [August 17, 2022, 10:32pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970 "2022-08-17T22:32:18Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [May 11, 2023, 5:29pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/42 "2023-05-11T17:29:31Z")

</div>

@Blobbey can you share your code? or (if the code is a secret) can you make a new project where you do the same thing?

---

<div class="post-metadata">

**Author:** ![Blobbey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blobbey/32/20831_2.png) [@Blobbey](https://forum.makecode.com/u/Blobbey)\
**Post date:** [May 11, 2023, 9:09pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/43 "2023-05-11T21:09:17Z")

</div>

> **[Testing](https://arcade.makecode.com/S32274-91930-48967-21954)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Here! (It’s a new project that just uses the camera follow.)

---

<div class="post-metadata">

**Author:** ![Blobbey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blobbey/32/20831_2.png) [@Blobbey](https://forum.makecode.com/u/Blobbey)\
**Post date:** [May 17, 2023, 10:27pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/44 "2023-05-17T22:27:04Z")

</div>

@richard, do you know what the problem is?

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [May 17, 2023, 10:31pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/45 "2023-05-17T22:31:11Z")

</div>

sorry! things have been a little hectic lately…

this extension currently only works if there is a tilemap. the issue here is that no tilemap is being set.

---

<div class="post-metadata">

**Author:** ![Blobbey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blobbey/32/20831_2.png) [@Blobbey](https://forum.makecode.com/u/Blobbey)\
**Post date:** [May 19, 2023, 7:03pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/46 "2023-05-19T19:03:12Z")

</div>

Okay. The main project I was using this extension for uses 8x8 tilemaps, so was that the problem?

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [May 19, 2023, 10:44pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/47 "2023-05-19T22:44:42Z")

</div>

8x8 tilemaps should be fine as long as the tilemap is set before you call any of the split screen blocks

---

<div class="post-metadata">

**Author:** ![Blobbey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blobbey/32/20831_2.png) [@Blobbey](https://forum.makecode.com/u/Blobbey)\
**Post date:** [May 22, 2023, 2:55am UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/48 "2023-05-22T02:55:22Z")

</div>

Okay, thanks! I never though to put the tilemap block before the split-screen! 😆

---

<div class="post-metadata">

**Author:** ![Archer\_Bright](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/archer_bright/32/32896_2.png) [@Archer\_Bright](https://forum.makecode.com/u/Archer_Bright)\
**Post date:** [May 30, 2023, 4:40pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/49 "2023-05-30T16:40:19Z")

</div>

Can you use it with raycasting?

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [May 30, 2023, 9:53pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/50 "2023-05-30T21:53:34Z")

</div>

No, it does not work nor will it be worked on.

> [@AqeeAqee](#):
>
> This raycasting ext. is drawing directly to the screen, and not considered split screen when designing. So it is not compatible with split screen mode yet. And I am not think I will fix this, cause:
> 
> - The 3D mode will not performance well if render twice for both players.

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [June 6, 2023, 8:52pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/51 "2023-06-06T20:52:51Z")

</div>

Hey folks! I just overhauled this extension and added a ton of new features:

- Support for up to 4 cameras
- Cameras can be assigned to different regions of the screen
- Added equivalent blocks for all of the scene category camera blocks:
  - follow sprite
  - set position
  - get camera property
  - screen shake

- New block for turning splitscreen on/off
- New block for setting the color of the border between cameras
- No longer requires a tilemap

With the ability to assign regions of the screen for each camera, you can now customize how each player is laid out. For example, you can do any weird version of three players that you want:

> **[split-screen-demo](https://arcade.makecode.com/S72891-64935-05958-94413)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

If you have any issues, please comment here or file them [on Github](https://github.com/riknoll/arcade-split-screen)

---

<div class="post-metadata">

**Author:** ![danger\_kitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/danger_kitty/32/32006_2.png) [@danger\_kitty](https://forum.makecode.com/u/danger_kitty)\
**Post date:** [June 6, 2023, 10:45pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/52 "2023-06-06T22:45:31Z")

</div>

what about 2times screen

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [June 6, 2023, 10:57pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/53 "2023-06-06T22:57:18Z")

</div>

@danger_kitty not sure what you mean by that! this should work just fine with different screen sizes, though

---

<div class="post-metadata">

**Author:** ![Salex](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/salex/32/15835_2.png) [@Salex](https://forum.makecode.com/u/Salex)\
**Post date:** [June 8, 2023, 11:21pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/54 "2023-06-08T23:21:47Z")

</div>

4 screen yippeeeee

---

<div class="post-metadata">

**Author:** ![danger\_kitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/danger_kitty/32/32006_2.png) [@danger\_kitty](https://forum.makecode.com/u/danger_kitty)\
**Post date:** [June 8, 2023, 11:22pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/55 "2023-06-08T23:22:17Z")

</div>

Yeah that what I mean.  
I love this so much glad I asked for it that one stream

---

<div class="post-metadata">

**Author:** ![NxNMatrixGL](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/nxnmatrixgl/32/2553_2.png) [@NxNMatrixGL](https://forum.makecode.com/u/NxNMatrixGL)\
**Post date:** [June 12, 2023, 5:08pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/56 "2023-06-12T17:08:52Z")

</div>

Awesome!

---

<div class="post-metadata">

**Author:** ![Sarge](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sarge/32/19590_2.png) [@Sarge](https://forum.makecode.com/u/Sarge)\
**Post date:** [June 12, 2023, 6:15pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/57 "2023-06-12T18:15:58Z")

</div>

This is actually so cool, thanks for all the hard work!

---

<div class="post-metadata">

**Author:** ![Archer\_Bright](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/archer_bright/32/32896_2.png) [@Archer\_Bright](https://forum.makecode.com/u/Archer_Bright)\
**Post date:** [June 12, 2023, 10:31pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/58 "2023-06-12T22:31:32Z")

</div>

i agree so much!

---

<div class="post-metadata">

**Author:** ![Blobbey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blobbey/32/20831_2.png) [@Blobbey](https://forum.makecode.com/u/Blobbey)\
**Post date:** [June 16, 2023, 4:22pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/59 "2023-06-16T16:22:50Z")

</div>

OH _YEAH_!!! 👏👏👏  
I can’t wait to use this!

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [July 6, 2023, 9:13pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/60 "2023-07-06T21:13:46Z")

</div>

Is there a way to dynamically remove cameras - for example, when player 2 connects a camera shows up, and when player 2 disconnects the extra camera disappears.

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [July 6, 2023, 9:15pm UTC](https://forum.makecode.com/t/extension-arcade-split-screen/14970/61 "2023-07-06T21:15:30Z")

</div>

@UnsignedArduino nope… i’ll add a block!

[Previous page](https://forum.makecode.com/t/extension-arcade-split-screen/14970.md?page=2)

[Next page](https://forum.makecode.com/t/extension-arcade-split-screen/14970.md?page=4)
