# Help

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

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

**Page:** 130

---

## ["Unable to convert code to Javascript"](https://forum.makecode.com/t/unable-to-convert-code-to-javascript/1957)

<div class="topic-metadata">

**Author:** [@gnitz](https://forum.makecode.com/u/gnitz)\
**Replies:** 3\
**Last updated:** [May 5, 2020, 7:05pm UTC](https://forum.makecode.com/t/unable-to-convert-code-to-javascript/1957 "2020-05-05T19:05:59Z")

</div>

Hi, I was working on making some updates to my game when all of a sudden the simulator would not reflect any changes I was making to the blocks. When making changes to the blocks, a brief message “Sorry, we are unable to…

---

## [How to loop through sprites in js](https://forum.makecode.com/t/how-to-loop-through-sprites-in-js/1840)

<div class="topic-metadata">

**Author:** [@jsea](https://forum.makecode.com/u/jsea)\
**Replies:** 4\
**Last updated:** [May 4, 2020, 5:08pm UTC](https://forum.makecode.com/t/how-to-loop-through-sprites-in-js/1840 "2020-05-04T17:08:15Z")

</div>

Hi, how would I loop though this sprite and change the values to different colors? thx!

---

## [PyGamer issue](https://forum.makecode.com/t/pygamer-issue/1939)

<div class="topic-metadata">

**Author:** [@Dace](https://forum.makecode.com/u/Dace)\
**Replies:** 2\
**Last updated:** [May 4, 2020, 3:38pm UTC](https://forum.makecode.com/t/pygamer-issue/1939 "2020-05-04T15:38:35Z")

</div>

I have created a small game following the “How to make a Platformer Game” tutorials, its been a blast! Unfortunately when I upload it to my PyGamer it seems to skip a frame. I can tell because my 2 frame walk animation d…

---

## [Velocity Glitch? Actually: My usage of tilemaps](https://forum.makecode.com/t/velocity-glitch-actually-my-usage-of-tilemaps/1866)

<div class="topic-metadata">

**Author:** [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Replies:** 6\
**Last updated:** [May 1, 2020, 5:55pm UTC](https://forum.makecode.com/t/velocity-glitch-actually-my-usage-of-tilemaps/1866 "2020-05-01T17:55:36Z")

</div>

Hello there, I hope you are well. I was making a storyline for my game, and at the end of the introduction animation, where the players walk are supposed to walk off the screen, they don’t. I tried to replicate the pro…

---

## [Sim error: failed cast on 0](https://forum.makecode.com/t/sim-error-failed-cast-on-0/1905)

<div class="topic-metadata">

**Author:** [@Napomex](https://forum.makecode.com/u/Napomex)\
**Replies:** 5\
**Last updated:** [May 1, 2020, 10:04am UTC](https://forum.makecode.com/t/sim-error-failed-cast-on-0/1905 "2020-05-01T10:04:06Z")

</div>

Hello everyone, I have a problem with my “big” project at the moment. see screenshot as soon as the opponent fires the projectile the error message appears

---

## [Remainder(modulus) operator returning negative values when it shouldn't](https://forum.makecode.com/t/remainder-modulus-operator-returning-negative-values-when-it-shouldnt/1789)

<div class="topic-metadata">

**Author:** [@Nova](https://forum.makecode.com/u/Nova)\
**Replies:** 1\
**Last updated:** [April 23, 2020, 2:59pm UTC](https://forum.makecode.com/t/remainder-modulus-operator-returning-negative-values-when-it-shouldnt/1789 "2020-04-23T14:59:44Z")

</div>

I was having problems when using the remainder function until I realized that the function returns negative values when it shouldn’t Example: -1 % 4 this should equal to 3 but makecode interprets this as -1. because …

---

## [Question about implementation of showLongText](https://forum.makecode.com/t/question-about-implementation-of-showlongtext/1740)

<div class="topic-metadata">

**Author:** [@jacob\_c](https://forum.makecode.com/u/jacob_c)\
**Replies:** 3\
**Last updated:** [April 18, 2020, 6:05pm UTC](https://forum.makecode.com/t/question-about-implementation-of-showlongtext/1740 "2020-04-18T18:05:21Z")

</div>

I have a question about part of the implementation of showLongText: I think I mostly understand the relationship between the game.onUpdate handler and the pauseUntil callback… but I can’t find where the onUpdate handler…

---

## [Problem with expandable arguments + an enum picker in custom block](https://forum.makecode.com/t/problem-with-expandable-arguments-an-enum-picker-in-custom-block/1732)

<div class="topic-metadata">

**Author:** [@jacob\_c](https://forum.makecode.com/u/jacob_c)\
**Replies:** 2\
**Last updated:** [April 17, 2020, 11:58pm UTC](https://forum.makecode.com/t/problem-with-expandable-arguments-an-enum-picker-in-custom-block/1732 "2020-04-17T23:58:27Z")

</div>

I’m playing around with making some custom blocks, and I’m running into an issue with expandable arguments coupled with an enum picker. Everything seems to work fine with either feature (my function with expandable argu…

---

## [Tilemap extension: updates overwrite original definition](https://forum.makecode.com/t/tilemap-extension-updates-overwrite-original-definition/1689)

<div class="topic-metadata">

**Author:** [@jacob\_c](https://forum.makecode.com/u/jacob_c)\
**Replies:** 15\
**Last updated:** [April 15, 2020, 4:18am UTC](https://forum.makecode.com/t/tilemap-extension-updates-overwrite-original-definition/1689 "2020-04-15T04:18:28Z")

</div>

I recently updated my next game to use the Tilemap extension (https://github.com/microsoft/pxt-tilemaps). The ability to store tilemaps (representing levels) in an array made the code for loading a level much nicer! I t…

---

## [Lives on enemys](https://forum.makecode.com/t/lives-on-enemys/1418)

<div class="topic-metadata">

**Author:** [@codebott578](https://forum.makecode.com/u/codebott578)\
**Replies:** 13\
**Last updated:** [April 7, 2020, 4:39pm UTC](https://forum.makecode.com/t/lives-on-enemys/1418 "2020-04-07T16:39:53Z")

</div>

i was wondering, can you add lives to enemy’s in the block coding?

---

## [Error publishing game](https://forum.makecode.com/t/error-publishing-game/1432)

<div class="topic-metadata">

**Author:** [@notbears](https://forum.makecode.com/u/notbears)\
**Replies:** 7\
**Last updated:** [April 3, 2020, 2:34am UTC](https://forum.makecode.com/t/error-publishing-game/1432 "2020-04-03T02:34:36Z")

</div>

My game works fine, but when trying to share it I run into a error 413 message. has anyone else run into this problem?

---

## [Noob question : Unable to create stage map for the game](https://forum.makecode.com/t/noob-question-unable-to-create-stage-map-for-the-game/1571)

<div class="topic-metadata">

**Author:** [@garuna-m6](https://forum.makecode.com/u/garuna-m6)\
**Replies:** 8\
**Last updated:** [April 2, 2020, 5:46pm UTC](https://forum.makecode.com/t/noob-question-unable-to-create-stage-map-for-the-game/1571 "2020-04-02T17:46:09Z")

</div>

Background (not relevant) :Pretty new to the platform, was going to participate in the itch.io jam but got stuck in the map creation for the game. Issue: : I was going through the tutorial of jumpy-plaformer to see impl…

---

## [Enemy animation - sprite no longer an enemy](https://forum.makecode.com/t/enemy-animation-sprite-no-longer-an-enemy/1531)

<div class="topic-metadata">

**Author:** [@kyle76063](https://forum.makecode.com/u/kyle76063)\
**Replies:** 1\
**Last updated:** [March 29, 2020, 3:19pm UTC](https://forum.makecode.com/t/enemy-animation-sprite-no-longer-an-enemy/1531 "2020-03-29T15:19:09Z")

</div>

When I animate an Enemy sprite with frames, the collision of a friend and enemy no longer works. Suggestions? I tried both the “legacy animation” and the new “animation loop”, and I can’t get either of them to be trea…

---

## [Laggy drag and drop tiles](https://forum.makecode.com/t/laggy-drag-and-drop-tiles/1511)

<div class="topic-metadata">

**Author:** [@Zac](https://forum.makecode.com/u/Zac)\
**Replies:** 5\
**Last updated:** [March 27, 2020, 6:15am UTC](https://forum.makecode.com/t/laggy-drag-and-drop-tiles/1511 "2020-03-27T06:15:38Z")

</div>

so I am making a game where a doggo finds his friends but my game is getting super laggy with the drag and drop tiles I am fairly new at making code and the drag and drop keeps freezing for me also the game sim is also h…

---

## [Error in my code](https://forum.makecode.com/t/error-in-my-code/1513)

<div class="topic-metadata">

**Author:** [@NicholasP9480](https://forum.makecode.com/u/NicholasP9480)\
**Replies:** 4\
**Last updated:** [March 27, 2020, 3:15am UTC](https://forum.makecode.com/t/error-in-my-code/1513 "2020-03-27T03:15:38Z")

</div>

I am receiving an error that says \*cannot redeclare block-scoped variable ‘name’ \* can someone help me resolve the issue. Here is a link to my project https://arcade.makecode.com/#editor

---

## [Spawning enemies in random areas](https://forum.makecode.com/t/spawning-enemies-in-random-areas/1471)

<div class="topic-metadata">

**Author:** [@Icicles](https://forum.makecode.com/u/Icicles)\
**Replies:** 4\
**Last updated:** [March 24, 2020, 4:36pm UTC](https://forum.makecode.com/t/spawning-enemies-in-random-areas/1471 "2020-03-24T16:36:24Z")

</div>

I need help coding, my game allows the snakes to spawn, basically anywhere, but I need it to spawn the snakes anywhere besides right next to the tree, like the spawn area box

---

## [Desert Style Tilemap](https://forum.makecode.com/t/desert-style-tilemap/1438)

<div class="topic-metadata">

**Author:** [@Icicles](https://forum.makecode.com/u/Icicles)\
**Replies:** 2\
**Last updated:** [March 18, 2020, 10:46pm UTC](https://forum.makecode.com/t/desert-style-tilemap/1438 "2020-03-18T22:46:17Z")

</div>

I know there is the forest, dungeon, miscellaneous, etc. But I’m trying to create a desert style game and there isn’t enough yellows, well really any color to use. Does anyone know how to create this style in Microsoft m…

---

## [Freeze game](https://forum.makecode.com/t/freeze-game/1397)

<div class="topic-metadata">

**Author:** [@codebott578](https://forum.makecode.com/u/codebott578)\
**Replies:** 5\
**Last updated:** [March 16, 2020, 6:10pm UTC](https://forum.makecode.com/t/freeze-game/1397 "2020-03-16T18:10:13Z")

</div>

i tried to code something but it freeze when it got overlapped. it is in the b portal. is there anyways i could fix it? https://makecode.com/\_78q7YbXypY0u

---

## [Is there a way to display thumbnails?](https://forum.makecode.com/t/is-there-a-way-to-display-thumbnails/1422)

<div class="topic-metadata">

**Author:** [@logic\_lab](https://forum.makecode.com/u/logic_lab)\
**Replies:** 0\
**Last updated:** [March 16, 2020, 7:43am UTC](https://forum.makecode.com/t/is-there-a-way-to-display-thumbnails/1422 "2020-03-16T07:43:50Z")

</div>

I created myFile.ts in Script and add a new image. When selecting an image in the \[Images block\], no thumbnail is displayed. Is there a way to display thumbnails? project no thumbnail is displayed

---

## [Error in my game](https://forum.makecode.com/t/error-in-my-game/1410)

<div class="topic-metadata">

**Author:** [@codebott578](https://forum.makecode.com/u/codebott578)\
**Replies:** 2\
**Last updated:** [March 15, 2020, 8:43pm UTC](https://forum.makecode.com/t/error-in-my-game/1410 "2020-03-15T20:43:50Z")

</div>

i codded more of some boss mode but when i use logic blocks, it makes error in the very beginning. i cant seen to find the problem. can you figure it out? thanks!

---

## [Changing sprites](https://forum.makecode.com/t/changing-sprites/1373)

<div class="topic-metadata">

**Author:** [@codebott578](https://forum.makecode.com/u/codebott578)\
**Replies:** 8\
**Last updated:** [March 11, 2020, 12:25am UTC](https://forum.makecode.com/t/changing-sprites/1373 "2020-03-11T00:25:48Z")

</div>

i can’t seen to get this code right. i tried doing when the sprite overlaps something. it changes into that thing but instead it only changes into it for only a sec. is there anyway i can fix this? can you give me a code…

---

## [Adding points to the scoreboard and destroy sprites](https://forum.makecode.com/t/adding-points-to-the-scoreboard-and-destroy-sprites/1367)

<div class="topic-metadata">

**Author:** [@mina](https://forum.makecode.com/u/mina)\
**Replies:** 1\
**Last updated:** [March 10, 2020, 3:15pm UTC](https://forum.makecode.com/t/adding-points-to-the-scoreboard-and-destroy-sprites/1367 "2020-03-10T15:15:18Z")

</div>

I’m creating a treasure maze game, and there are two levels in the game. The coding down below is for level one, it is used to add on point to the scoreboard when my character overlaps the treasure and at the same time, …

---

## [Meowbit sensors in block?](https://forum.makecode.com/t/meowbit-sensors-in-block/1360)

<div class="topic-metadata">

**Author:** [@sh1n0b1wan](https://forum.makecode.com/u/sh1n0b1wan)\
**Replies:** 3\
**Last updated:** [March 9, 2020, 10:24pm UTC](https://forum.makecode.com/t/meowbit-sensors-in-block/1360 "2020-03-09T22:24:23Z")

</div>

Hello folks! I’m trying to find a URL or extension in Arcade that will allow me to code input data from the meowbit’s sensors into the game, but I’m having trouble finding anything. I’m sure there must be something that…

---

## [Restrict sprites to certain tiles](https://forum.makecode.com/t/restrict-sprites-to-certain-tiles/1342)

<div class="topic-metadata">

**Author:** [@nayrbgo](https://forum.makecode.com/u/nayrbgo)\
**Replies:** 7\
**Last updated:** [March 9, 2020, 10:13pm UTC](https://forum.makecode.com/t/restrict-sprites-to-certain-tiles/1342 "2020-03-09T22:13:45Z")

</div>

Is there a way I can restrict particular sprites to travel on particular tiles? Thanks!

---

## [Teleport spots in a single tilemap?](https://forum.makecode.com/t/teleport-spots-in-a-single-tilemap/1356)

<div class="topic-metadata">

**Author:** [@nayrbgo](https://forum.makecode.com/u/nayrbgo)\
**Replies:** 2\
**Last updated:** [March 9, 2020, 4:40pm UTC](https://forum.makecode.com/t/teleport-spots-in-a-single-tilemap/1356 "2020-03-09T16:40:37Z")

</div>

Is it possible to make particular tiles act as teleports to another spot on the same tilemap?

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