# Help

**URL:** https://forum.makecode.com/c/share-your-arcade-projects-here/help/14.md?page=91

[Latest](https://forum.makecode.com/latest.md) · [Categories](https://forum.makecode.com/categories.md) · [Tags](https://forum.makecode.com/tags.md)

**Page:** 92

---

## [How do i make a "shop" or something similar to it?](https://forum.makecode.com/t/how-do-i-make-a-shop-or-something-similar-to-it/17610)

<div class="topic-metadata">

**Author:** [@seektest](https://forum.makecode.com/u/seektest)\
**Replies:** 4\
**Last updated:** [February 15, 2023, 4:39pm UTC](https://forum.makecode.com/t/how-do-i-make-a-shop-or-something-similar-to-it/17610 "2023-02-15T16:39:20Z")

</div>

i’ve been having a lot of trouble trying to make an “item selection” type thing. what i basically want to do is: every minute, you can press the B button to open a menu, or item selection. this will pause everything un…

---

## [How do you make your game playable](https://forum.makecode.com/t/how-do-you-make-your-game-playable/17995)

<div class="topic-metadata">

**Author:** [@Dodec](https://forum.makecode.com/u/Dodec)\
**Replies:** 2\
**Last updated:** [February 14, 2023, 11:58pm UTC](https://forum.makecode.com/t/how-do-you-make-your-game-playable/17995 "2023-02-14T23:58:28Z")

</div>

Does anybody know how to make your game public

---

## [Questions about Microsoft makecode](https://forum.makecode.com/t/questions-about-microsoft-makecode/17996)

<div class="topic-metadata">

**Author:** [@Dodec](https://forum.makecode.com/u/Dodec)\
**Replies:** 2\
**Last updated:** [February 14, 2023, 11:58pm UTC](https://forum.makecode.com/t/questions-about-microsoft-makecode/17996 "2023-02-14T23:58:24Z")

</div>

I don’t know how to post games on here

---

## [Program Error: Cannot read properties of null (reading '\_width')](https://forum.makecode.com/t/program-error-cannot-read-properties-of-null-reading-width/17393)

<div class="topic-metadata">

**Author:** [@Esben](https://forum.makecode.com/u/Esben)\
**Replies:** 1\
**Last updated:** [February 14, 2023, 11:08pm UTC](https://forum.makecode.com/t/program-error-cannot-read-properties-of-null-reading-width/17393 "2023-02-14T23:08:04Z")

</div>

Program Error: Cannot read properties of null (reading ‘\_width’) HELP PLEASE u can only see the error in Javascript https://arcade.makecode.com/S67326-02387-81003-29766

---

## [The "Pick random" block doesn't seem random](https://forum.makecode.com/t/the-pick-random-block-doesnt-seem-random/17968)

<div class="topic-metadata">

**Author:** [@Freeando](https://forum.makecode.com/u/Freeando)\
**Replies:** 2\
**Last updated:** [February 13, 2023, 8:17pm UTC](https://forum.makecode.com/t/the-pick-random-block-doesnt-seem-random/17968 "2023-02-13T20:17:30Z")

</div>

This seems like it has nothing wrong in it to me, but it only sets the variable “random” to 3 every time. Same thing with this, however it only picks 2 for the variable “random 2” and still only picks 3 for “random…

---

## [Convert Project to Animation?](https://forum.makecode.com/t/convert-project-to-animation/16890)

<div class="topic-metadata">

**Author:** [@JorginLegal](https://forum.makecode.com/u/JorginLegal)\
**Replies:** 15\
**Last updated:** [February 13, 2023, 8:11pm UTC](https://forum.makecode.com/t/convert-project-to-animation/16890 "2023-02-13T20:11:41Z")

</div>

I’m trying to make a transition animation for a game i’m working on, but rendering it in real time would be straight up idiotic(1600 sprites), so i’m doing it on a separate project. So, i would like to know if there is …

---

## [Crear paredes durante el proceso del juego](https://forum.makecode.com/t/crear-paredes-durante-el-proceso-del-juego/17966)

<div class="topic-metadata">

**Author:** [@Fertinan](https://forum.makecode.com/u/Fertinan)\
**Replies:** 1\
**Last updated:** [February 13, 2023, 1:16am UTC](https://forum.makecode.com/t/crear-paredes-durante-el-proceso-del-juego/17966 "2023-02-13T01:16:22Z")

</div>

Hola a todos: Soy nuevo en esto de MakeCode arcade y me surge una duda, tengo prácticamente el trabajo de clase hecho pero me gustaría que mediante el proceso del juego, algunas teselas se vallan convirtiendo en paredes…

---

## [Test Arcade Game](https://forum.makecode.com/t/test-arcade-game/17768)

<div class="topic-metadata">

**Author:** [@Drojal](https://forum.makecode.com/u/Drojal)\
**Replies:** 4\
**Last updated:** [February 10, 2023, 5:56pm UTC](https://forum.makecode.com/t/test-arcade-game/17768 "2023-02-10T17:56:45Z")

</div>

When I press the right button for example, the player doesn’t head to the right side immediately. Also, when I press the left button and after some ms I release it, my character is animated as he still moves to the left…

---

## [Next level if reach score X before countdown clock ends](https://forum.makecode.com/t/next-level-if-reach-score-x-before-countdown-clock-ends/17866)

<div class="topic-metadata">

**Author:** [@BruceSchwa](https://forum.makecode.com/u/BruceSchwa)\
**Replies:** 3\
**Last updated:** [February 10, 2023, 5:48pm UTC](https://forum.makecode.com/t/next-level-if-reach-score-x-before-countdown-clock-ends/17866 "2023-02-10T17:48:18Z")

</div>

May I ask someone to show me the code for: level to change when score reaches X before countdown clock ends Thanks!

---

## [Should I Change my username?](https://forum.makecode.com/t/should-i-change-my-username/17729)

<div class="topic-metadata">

**Author:** [@PixelDoodle](https://forum.makecode.com/u/PixelDoodle)\
**Replies:** 4\
**Last updated:** [February 10, 2023, 5:47pm UTC](https://forum.makecode.com/t/should-i-change-my-username/17729 "2023-02-10T17:47:49Z")

</div>

I know this is a funny question. But Long story short, There’s A Youtuber With 1 MILLION SUBS that’s named JavaDoodles. I recently found out and I don’t want to look like I Copy People and I want to be original. poll Th…

---

## [Losing FPS in a room with a fixed amount of sprites](https://forum.makecode.com/t/losing-fps-in-a-room-with-a-fixed-amount-of-sprites/17877)

<div class="topic-metadata">

**Author:** [@Tatertot33](https://forum.makecode.com/u/Tatertot33)\
**Replies:** 2\
**Last updated:** [February 8, 2023, 4:05am UTC](https://forum.makecode.com/t/losing-fps-in-a-room-with-a-fixed-amount-of-sprites/17877 "2023-02-08T04:05:23Z")

</div>

I’m currently making a Zelda-style game but having an issue with FPS. In the saw trap tilemap, 2 below the starting tilemap, the fps will gradually begin to dip until eventually, it becomes unplayable (for me it takes ab…

---

## [Sprite gllitches](https://forum.makecode.com/t/sprite-gllitches/17855)

<div class="topic-metadata">

**Author:** [@nut](https://forum.makecode.com/u/nut)\
**Replies:** 2\
**Last updated:** [February 7, 2023, 8:58pm UTC](https://forum.makecode.com/t/sprite-gllitches/17855 "2023-02-07T20:58:22Z")

</div>

I am in need of help as every time i try to make my game my sprite glitches and multiplies. i will send the link so someone can check my code when someone responds but i dont know why this is happening. fyi this happens …

---

## [More complex enemy limit for shooter](https://forum.makecode.com/t/more-complex-enemy-limit-for-shooter/17724)

<div class="topic-metadata">

**Author:** [@Simpleton](https://forum.makecode.com/u/Simpleton)\
**Replies:** 3\
**Last updated:** [February 7, 2023, 8:56pm UTC](https://forum.makecode.com/t/more-complex-enemy-limit-for-shooter/17724 "2023-02-07T20:56:36Z")

</div>

Made a shooter game a few weeks ago, there’s an enemy limit of 10 right now. But in all honesty i kinda want to make the wave spawns like pvz/pvz2, where only 3 enemies can arrive on the same lane each wave, is it doabl…

---

## [Level question](https://forum.makecode.com/t/level-question/17869)

<div class="topic-metadata">

**Author:** [@BruceSchwa](https://forum.makecode.com/u/BruceSchwa)\
**Replies:** 0\
**Last updated:** [February 7, 2023, 7:31pm UTC](https://forum.makecode.com/t/level-question/17869 "2023-02-07T19:31:38Z")

</div>

We want to make it so that in level 3 after you collect all 4 boxes you get teleported to the next map. Also, so that it doesn’t do the same for the other levels, only level 3

---

## [Main.blocks not updated when commiting](https://forum.makecode.com/t/main-blocks-not-updated-when-commiting/8462)

<div class="topic-metadata">

**Author:** [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Replies:** 2\
**Last updated:** [February 7, 2023, 5:51am UTC](https://forum.makecode.com/t/main-blocks-not-updated-when-commiting/8462 "2023-02-07T05:51:04Z")

</div>

I was working on this game and after I committed, it seemed like all the changes disappeared. So I look into the commit I want to restore, and there is only 1 changed file. (which is main.ts) The diff for main.ts looks f…

---

## [Game not working.](https://forum.makecode.com/t/game-not-working/17861)

<div class="topic-metadata">

**Author:** [@iHasGoodName](https://forum.makecode.com/u/iHasGoodName)\
**Replies:** 0\
**Last updated:** [February 7, 2023, 5:48am UTC](https://forum.makecode.com/t/game-not-working/17861 "2023-02-07T05:48:33Z")

</div>

In my game I have levels and the first two work fine but when the third level is called the only thing that happens is the background image being set. The code is not finished or perfect but with what I have I don’t see …

---

## [Cardboard Arcade Raspberry Pi](https://forum.makecode.com/t/cardboard-arcade-raspberry-pi/4468)

<div class="topic-metadata">

**Author:** [@jmods](https://forum.makecode.com/u/jmods)\
**Replies:** 11\
**Last updated:** [February 6, 2023, 6:42pm UTC](https://forum.makecode.com/t/cardboard-arcade-raspberry-pi/4468 "2023-02-06T18:42:26Z")

</div>

Hi, I successfully built my cardboard arcade! :slight\_smile: I want to load the new menu, copied the link from github and followed instructions to import to makecode arcade and download for pi zero but it downloads how…

---

## [Why does On Score only work one time?](https://forum.makecode.com/t/why-does-on-score-only-work-one-time/17722)

<div class="topic-metadata">

**Author:** [@jdburnside](https://forum.makecode.com/u/jdburnside)\
**Replies:** 6\
**Last updated:** [February 6, 2023, 6:49am UTC](https://forum.makecode.com/t/why-does-on-score-only-work-one-time/17722 "2023-02-06T06:49:31Z")

</div>

I have used the On Score event twice in a program…at On Score 10 and On Score 50. The code in the first event runs properly but the code in the second event (50) never runs. It appears the event can only be used once?

---

## [Do formatted strings work in makecode?](https://forum.makecode.com/t/do-formatted-strings-work-in-makecode/17661)

<div class="topic-metadata">

**Author:** [@Salex](https://forum.makecode.com/u/Salex)\
**Replies:** 3\
**Last updated:** [February 1, 2023, 7:03pm UTC](https://forum.makecode.com/t/do-formatted-strings-work-in-makecode/17661 "2023-02-01T19:03:24Z")

</div>

It just shows the string using the curly brackets

---

## [How do I implement the raycasting extension with the multiplayer extension?](https://forum.makecode.com/t/how-do-i-implement-the-raycasting-extension-with-the-multiplayer-extension/17693)

<div class="topic-metadata">

**Author:** [@pixel](https://forum.makecode.com/u/pixel)\
**Replies:** 2\
**Last updated:** [February 1, 2023, 5:13pm UTC](https://forum.makecode.com/t/how-do-i-implement-the-raycasting-extension-with-the-multiplayer-extension/17693 "2023-02-01T17:13:06Z")

</div>

So I recently found out about the multiplayer extension (where players can play together with different devices) but when I tried using the raycasting extension along with it, I couldn’t set the “myself sprite” to be the…

---

## [Setting Not Saving Data](https://forum.makecode.com/t/setting-not-saving-data/17695)

<div class="topic-metadata">

**Author:** [@PixelDoodle](https://forum.makecode.com/u/PixelDoodle)\
**Replies:** 2\
**Last updated:** [February 1, 2023, 4:49pm UTC](https://forum.makecode.com/t/setting-not-saving-data/17695 "2023-02-01T16:49:52Z")

</div>

So I’m working on an RPG Right? It’s supposed to save your data when you log back into the game. The Save Position and Stats works in editor. but not when you click the Link to play the project. Is This A Bug?

---

## [Recent changes to Music Blocks.](https://forum.makecode.com/t/recent-changes-to-music-blocks/17688)

<div class="topic-metadata">

**Author:** [@edillard](https://forum.makecode.com/u/edillard)\
**Replies:** 0\
**Last updated:** [January 31, 2023, 6:08pm UTC](https://forum.makecode.com/t/recent-changes-to-music-blocks/17688 "2023-01-31T18:08:22Z")

</div>

I use the Arcade Makecode to teach a 6th grade game design class. I noticed that the music tab changed recently. Did you send out a notification and change notes? That would be very helpful. If you did - could you p…

---

## [Enemy AI - Other way of chasing the player instead of a follow block?](https://forum.makecode.com/t/enemy-ai-other-way-of-chasing-the-player-instead-of-a-follow-block/10589)

<div class="topic-metadata">

**Author:** [@personalnote](https://forum.makecode.com/u/personalnote)\
**Replies:** 10\
**Last updated:** [January 30, 2023, 11:11pm UTC](https://forum.makecode.com/t/enemy-ai-other-way-of-chasing-the-player-instead-of-a-follow-block/10589 "2023-01-30T23:11:34Z")

</div>

I want the enemies to follow the player on a tile with collision. I pretty much want this because I’m making a 2D platformer shooter game (Well, something like Metroid Dread), and I don’t like the fact that my enemies ba…

---

## [Sprite placed in the tile ](https://forum.makecode.com/t/sprite-placed-in-the-tile/17670)

<div class="topic-metadata">

**Author:** [@some\_sandwich](https://forum.makecode.com/u/some_sandwich)\
**Replies:** 1\
**Last updated:** [January 30, 2023, 7:27pm UTC](https://forum.makecode.com/t/sprite-placed-in-the-tile/17670 "2023-01-30T19:27:52Z")

</div>

I wanted to place a sprite randomly so i used the "Place (Sprite) on top of random (Tile) " block, I tested it and sometimes it placed it in the tile. If you don’t get the thing: The white thing is the sprite, and t…

---

## [Sprite overlap with lava dies](https://forum.makecode.com/t/sprite-overlap-with-lava-dies/17619)

<div class="topic-metadata">

**Author:** [@bee](https://forum.makecode.com/u/bee)\
**Replies:** 4\
**Last updated:** [January 30, 2023, 5:21pm UTC](https://forum.makecode.com/t/sprite-overlap-with-lava-dies/17619 "2023-01-30T17:21:54Z")

</div>

I have a student who’s sprite loses all their lives when it contact lava, instead of just 1 life. When I swap out the sprite for a smaller one, it doesn’t have the same issue. I’m pretty sure it’s got to do with the size…

---

## [Help with Flashlight / Spotlight?](https://forum.makecode.com/t/help-with-flashlight-spotlight/17617)

<div class="topic-metadata">

**Author:** [@LittleRogue](https://forum.makecode.com/u/LittleRogue)\
**Replies:** 1\
**Last updated:** [January 29, 2023, 11:58pm UTC](https://forum.makecode.com/t/help-with-flashlight-spotlight/17617 "2023-01-29T23:58:19Z")

</div>

I’m trying to use the Lantern extension for a spotlight effect (like, a spotlight shining down from a helicopter) but can’t find any instructions or examples. Can anyone point me towards some info on how to use the exten…

---

## [Could you connect games to the tv?](https://forum.makecode.com/t/could-you-connect-games-to-the-tv/14828)

<div class="topic-metadata">

**Author:** [@Segatendo](https://forum.makecode.com/u/Segatendo)\
**Replies:** 3\
**Last updated:** [January 29, 2023, 11:56pm UTC](https://forum.makecode.com/t/could-you-connect-games-to-the-tv/14828 "2023-01-29T23:56:30Z")

</div>

Is it possible to plug one of the devices or a laptop to the tv to play makecode games on or like go on google on a web tv and type a link in it that ? It’d be so much cooler if you could play the games on the tv like f…

---

## [Level changes and backtracking](https://forum.makecode.com/t/level-changes-and-backtracking/17575)

<div class="topic-metadata">

**Author:** [@Lrigby22](https://forum.makecode.com/u/Lrigby22)\
**Replies:** 3\
**Last updated:** [January 26, 2023, 6:14pm UTC](https://forum.makecode.com/t/level-changes-and-backtracking/17575 "2023-01-26T18:14:27Z")

</div>

Hello all, I’m making a top-down arcade game based within different levels of a building. I can code it to change levels however is there a way to code it so I can return to a previous level? (i.e. Ground floor to Firs…

---

## [How to make a ramp](https://forum.makecode.com/t/how-to-make-a-ramp/17398)

<div class="topic-metadata">

**Author:** [@Dubstfer](https://forum.makecode.com/u/Dubstfer)\
**Replies:** 3\
**Last updated:** [January 26, 2023, 6:12pm UTC](https://forum.makecode.com/t/how-to-make-a-ramp/17398 "2023-01-26T18:12:00Z")

</div>

I need help making a ramp for my platformer

---

## [Enemies are not spawning correctly](https://forum.makecode.com/t/enemies-are-not-spawning-correctly/17608)

<div class="topic-metadata">

**Author:** [@Dubstfer](https://forum.makecode.com/u/Dubstfer)\
**Replies:** 0\
**Last updated:** [January 26, 2023, 6:08pm UTC](https://forum.makecode.com/t/enemies-are-not-spawning-correctly/17608 "2023-01-26T18:08:40Z")

</div>

My code is pretty messy because this is my first project. But I don’t know how my enemies aren’t spawning help!

[Previous page](https://forum.makecode.com/c/share-your-arcade-projects-here/help/14.md?page=90)

[Next page](https://forum.makecode.com/c/share-your-arcade-projects-here/help/14.md?page=92)
