Skip to main content
jtriveri
Honored Contributor
Sep 25, 2025 7:20 PM UTC

Lasertag! - an experiment in live scene understanding using DepthAPI

Hello new dev forum :)

I'm working on a project that uses the DepthAPI to map your space in real time (instead of relying on room setup) to decrease setup friction, lower time-to-fun, and increase playspsace area. 

Because the game scans as you play, it responds to opening/closing doors, moving furniture, and other changes to the environment. 

I'm also using depth for drawing light against the environment. It looks really nice in dimly lit areas. 

I'm currently working on meshing so I can use it with Unity's NPC pathfinding. I'll be posting updates this thread. You can learn more and download the game at https://anagly.ph

 

9 replies

htaylor
Community Manager
Sep 25, 2025 7:33 PM UTC

This looks so fun, what a cool use of the Depth and Passthrough Camera Access APIs! Really excited to see where your project goes, thanks so much for sharing! 

New Participant
Sep 26, 2025 3:36 AM UTC

I enjoyed playing this game. Such a neat use of the API. Do I recall correctly that you’ve shared how you got it to work?

Arghzival
Participant
Sep 26, 2025 4:22 PM UTC

This looks awesome! Such a great use of the Depth API! Mind if i share this video on my channels (with credit)?

jtriveri
jtriveriAuthor
Honored Contributor
Sep 26, 2025 6:40 PM UTC

Feel free!

Kray30
Up and Coming
Sep 27, 2025 11:19 PM UTC

Oh this looks like something my family would LOVE!!!!

 

jtriveri
jtriveriAuthor
Honored Contributor
Sep 28, 2025 10:11 PM UTC

Finally adding a capture-the-flag mode (plus torso tracking using IOBT!). I'm probably going to lower bullet damage now that players have more damageable surface area. I don't think instant KOs are very fun. 

You can also see the Horizon OS 'moved too far popup' interrupting gameplay, something I've made another forum post about. 

 

jtriveri
jtriveriAuthor
Honored Contributor
Nov 11, 2025 9:55 PM UTC

Clip from recent playtest. 10 people connected (almost) seamlessly via LAN. Still a lot of bugs to fix!

Arghzival
Participant
Nov 11, 2025 10:05 PM UTC

Epic!

Up and Coming
Nov 22, 2025 4:28 AM UTC

I can't imagine how this works. looks slick, perhaps make laser bounce off the terrain? 

Ryzen 5 1600 5700XT 32gigs