# Portal Raycasting

**URL:** https://forum.makecode.com/t/portal-raycasting/40896
**Category:** Show & Tell
**Tags:** art, game
**Created:** [December 11, 2025, 6:43pm UTC](https://forum.makecode.com/t/portal-raycasting/40896 "2025-12-11T18:43:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Bifrosty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bifrosty/32/24819_2.png) [@Bifrosty](https://forum.makecode.com/u/Bifrosty)
#### Post date: [December 11, 2025, 6:43pm UTC](https://forum.makecode.com/t/portal-raycasting/40896/1 "2025-12-11T18:43:40Z")

</div>

Here is a cool little demo I made a while ago, its my attempt at a 3d portal game. I saw CodeTycoon’s [awesome game](https://forum.makecode.com/t/portal-3d-on-makecode-devlog/40885) today and was inspired to post this. It has two levels, I made it in one day.

Controls:  
Arrow Keys - Move  
Z - Fire Blue Portal  
X - Fire Orange Portal  
C - Interact with cubes, pedestal buttons, and the portal gun display.

> **[Portal Raycasting](https://arcade.makecode.com/71656-59437-15651-20297)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

 ![download](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/3X/b/1/b12db3e62566c315d79833466b0d76a717deb0b9.png)

It has working cubes, buttons, a janky portal gun, and high energy pellets. I do not plan to continue this, but its a fun five minutes.

---

<div class="post-metadata">

### Author: ![DEBOI](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/deboi/32/25485_2.png) [@DEBOI](https://forum.makecode.com/u/DEBOI)
#### Post date: [December 11, 2025, 10:55pm UTC](https://forum.makecode.com/t/portal-raycasting/40896/2 "2025-12-11T22:55:23Z")

</div>

This game so awesome! I love it!

---

<div class="post-metadata">

### Author: ![CodeTycoon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/codetycoon/32/27588_2.png) [@CodeTycoon](https://forum.makecode.com/u/CodeTycoon)
#### Post date: [December 11, 2025, 10:55pm UTC](https://forum.makecode.com/t/portal-raycasting/40896/3 "2025-12-11T22:55:45Z")

</div>

WOW this is FANTASTIC! The demo you released a long time ago was actually what inspired me to get started on my own engine! Great work!
