# Weird bug on my FPS game

**URL:** <https://forum.makecode.com/t/weird-bug-on-my-fps-game/41466>\
**Category:** Help\
**Created:** [January 11, 2026, 11:36pm UTC](https://forum.makecode.com/t/weird-bug-on-my-fps-game/41466 "2026-01-11T23:36:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![YamJam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yamjam/32/29681_2.png) [@YamJam](https://forum.makecode.com/u/YamJam)\
**Post date:** [January 11, 2026, 11:36pm UTC](https://forum.makecode.com/t/weird-bug-on-my-fps-game/41466/1 "2026-01-11T23:36:23Z")

</div>

Weird bug, the notifications (when a crate spawns) just pause the game and dont show up

can somebody help?

heres the link: [https://arcade.makecode.com/S57742-30268-55859-91237](https://arcade.makecode.com/S57742-30268-55859-91237)

---

<div class="post-metadata">

**Author:** ![QuiGonJohn](https://avatars.discourse-cdn.com/v4/letter/q/c6cbf5/32.png) [@QuiGonJohn](https://forum.makecode.com/u/QuiGonJohn)\
**Post date:** [January 13, 2026, 12:17am UTC](https://forum.makecode.com/t/weird-bug-on-my-fps-game/41466/2 "2026-01-13T00:17:28Z")

</div>

Im not great at this but the only thing I could come up with is the fact that the chance is just that a chance not something saying what number it is, so what I did to fix that is I just put a random number 0-100 and if it less than or equal to 35 then do the first thing, if it is more than or equal to 95 do the second thing. I still got an error but a different one, also if it helps I made an fps game like doom I will link it here if you want to review or compare but that’s all I can think of, IDK if that top bit helped at all if it didn’t sry for waisting your time: [https://arcade.makecode.com/S27009-59165-08331-05306](https://arcade.makecode.com/S27009-59165-08331-05306)

---

<div class="post-metadata">

**Author:** ![YamJam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yamjam/32/29681_2.png) [@YamJam](https://forum.makecode.com/u/YamJam)\
**Post date:** [January 13, 2026, 2:18am UTC](https://forum.makecode.com/t/weird-bug-on-my-fps-game/41466/3 "2026-01-13T02:18:42Z")

</div>

Could you send me the game? Also off topic, but great game you made 😃

---

<div class="post-metadata">

**Author:** ![QuiGonJohn](https://avatars.discourse-cdn.com/v4/letter/q/c6cbf5/32.png) [@QuiGonJohn](https://forum.makecode.com/u/QuiGonJohn)\
**Post date:** [January 13, 2026, 9:55pm UTC](https://forum.makecode.com/t/weird-bug-on-my-fps-game/41466/4 "2026-01-13T21:55:27Z")

</div>

Never mind I figured it out, disregard everything in my last comment, the reason it is not showing up is that it is in raycasting mode, it only shows up on the tilemap, you can use a text box but unless you switch it to tile map show the notification then switch back to raycasting it wont work

---

<div class="post-metadata">

**Author:** ![YamJam](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/yamjam/32/29681_2.png) [@YamJam](https://forum.makecode.com/u/YamJam)\
**Post date:** [January 14, 2026, 4:44am UTC](https://forum.makecode.com/t/weird-bug-on-my-fps-game/41466/5 "2026-01-14T04:44:21Z")

</div>

So basically it can’t do anything in raycasting and I have no hope to make it work?
