# Arcade-sprite-events extension

**URL:** <https://forum.makecode.com/t/arcade-sprite-events-extension/13453>\
**Category:** Show & Tell\
**Tags:** extension\
**Created:** [May 6, 2022, 10:59pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453 "2022-05-06T22:59:43Z")\
**Posts on this page:** 19\
**Page:** 2

<div class="post-metadata">

**Author:** ![Sonicblaston](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sonicblaston/32/19164_2.png) [@Sonicblaston](https://forum.makecode.com/u/Sonicblaston)\
**Post date:** [June 2, 2022, 4:10pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/21 "2022-06-02T16:10:22Z")

</div>

Thank you @richard

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [September 12, 2022, 3:23pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/22 "2022-09-12T15:23:09Z")

</div>

I think I’ve found a bug: Whenever you enter a new scene and go back, the tile events don’t seem to work anymore.

Here is a test:

> **[test sprite events](https://arcade.makecode.com/69073-35533-39299-22943)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

The duck should be happy when it’s on sand, and not say anything when it’s on the ~~eternal void~~ black tiles. But if you enter the pause menu and exit it, the duck doesn’t say anything anymore.

Cross-posted from the [GitHub issue](https://github.com/riknoll/arcade-sprite-events/issues/2).

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [September 12, 2022, 6:39pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/23 "2022-09-12T18:39:51Z")

</div>

oh yeah that’s definitely a bug

---

<div class="post-metadata">

**Author:** ![Salex](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/salex/32/15835_2.png) [@Salex](https://forum.makecode.com/u/Salex)\
**Post date:** [January 6, 2023, 6:04pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/24 "2023-01-06T18:04:26Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/7/7347612c7446a5faaf998042b076956967db99a0.png)  
Thanks, I needed regional tile map things: most of the time, I’d do something where I’d type out `(x, y) or (x, y+1) or........ or (x+1, y) or (x+1, y+1)` and so on… It got really tedious and looked ridiculous in blocks, so I’d put it in a function which I usually name ‘CHONK’. I know no one asked for my life story, but thx.

---

<div class="post-metadata">

**Author:** ![Salex](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/salex/32/15835_2.png) [@Salex](https://forum.makecode.com/u/Salex)\
**Post date:** [January 10, 2023, 12:51am UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/25 "2023-01-10T00:51:12Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/2/2609a020505e28dee3b26126cbb7bcc853b85a53.png)  
A sample.

---

<div class="post-metadata">

**Author:** ![personalnote](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/personalnote/32/31359_2.png) [@personalnote](https://forum.makecode.com/u/personalnote)\
**Post date:** [January 12, 2023, 5:16pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/26 "2023-01-12T17:16:29Z")

</div>

my worst nightmare.

---

<div class="post-metadata">

**Author:** ![SOCKMONSTER12](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sockmonster12/32/7584_2.png) [@SOCKMONSTER12](https://forum.makecode.com/u/SOCKMONSTER12)\
**Post date:** [March 13, 2023, 3:46pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/27 "2023-03-13T15:46:10Z")

</div>

I watched your youtube on another one of your extensions

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/e/e2fc9362ca5229cde704519e919f690b7a611284.png)

I’m wondering what is the URL to use it?

just in case here’s the link to the youtube I watched [https://www.youtube.com/watch?v=OFS1A6QInGc](https://www.youtube.com/watch?v=OFS1A6QInGc)

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [March 13, 2023, 5:16pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/28 "2023-03-13T17:16:51Z")

</div>

@SOCKMONSTER12 microsoft/arcade-platformer

---

<div class="post-metadata">

**Author:** ![SOCKMONSTER12](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sockmonster12/32/7584_2.png) [@SOCKMONSTER12](https://forum.makecode.com/u/SOCKMONSTER12)\
**Post date:** [March 13, 2023, 11:42pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/29 "2023-03-13T23:42:44Z")

</div>

Thannnnnnk Yoooooooooou RICHARD!!! Also, does the platformer in this youtube video have a link on the forum?

[![](https://img.youtube.com/vi/H6xa0_Ri148/maxresdefault.jpg "Working on a multiplayer game in MakeCode Arcade") ](https://www.youtube.com/watch?v=H6xa0_Ri148)

---

<div class="post-metadata">

**Author:** ![danger\_kitty](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/danger_kitty/32/32006_2.png) [@danger\_kitty](https://forum.makecode.com/u/danger_kitty)\
**Post date:** [March 14, 2023, 4:16pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/30 "2023-03-14T16:16:11Z")

</div>

He also made the thing on stream so yeah frequent stream viewers know about it

---

<div class="post-metadata">

**Author:** ![SOCKMONSTER12](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sockmonster12/32/7584_2.png) [@SOCKMONSTER12](https://forum.makecode.com/u/SOCKMONSTER12)\
**Post date:** [March 14, 2023, 4:21pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/31 "2023-03-14T16:21:16Z")

</div>

@richard for got to use your username could you pls look at the top?

---

<div class="post-metadata">

**Author:** ![SOCKMONSTER12](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sockmonster12/32/7584_2.png) [@SOCKMONSTER12](https://forum.makecode.com/u/SOCKMONSTER12)\
**Post date:** [March 14, 2023, 4:27pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/32 "2023-03-14T16:27:32Z")

</div>

what’s this specific one called do you know?

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [March 14, 2023, 5:07pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/33 "2023-03-14T17:07:31Z")

</div>

@SOCKMONSTER12 here’s the link but it’s still unfinished!

> **[platformer-sample](https://arcade.makecode.com/S18520-62546-82830-82621)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![SOCKMONSTER12](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sockmonster12/32/7584_2.png) [@SOCKMONSTER12](https://forum.makecode.com/u/SOCKMONSTER12)\
**Post date:** [March 14, 2023, 5:35pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/34 "2023-03-14T17:35:07Z")

</div>

ahhhhhhhhhhhh, thank you soooooooooooooo, muchhhhhhhhhhh @richard

---

<div class="post-metadata">

**Author:** ![Blobbey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blobbey/32/20831_2.png) [@Blobbey](https://forum.makecode.com/u/Blobbey)\
**Post date:** [April 25, 2023, 9:20pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/35 "2023-04-25T21:20:19Z")

</div>

Has that bug been fixed yet?

---

<div class="post-metadata">

**Author:** ![Blobbey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blobbey/32/20831_2.png) [@Blobbey](https://forum.makecode.com/u/Blobbey)\
**Post date:** [April 27, 2023, 12:00am UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/36 "2023-04-27T00:00:38Z")

</div>

@richard, I’m using this extension for one of my games, and it’s not working. I’m trying to make moving platforms, and they work if I put them into the first tilemap, but after I change the tilemap (to the next level), they stop working. I’d share the link to the game, but I don’t want to release any spoilers for it. ☹ Here’s a photo of the code that makes the moving platforms’ collisions.

 ![code](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/4/4efd7a2204e290b51e07db016202a55d9e96af7f.png)

---

<div class="post-metadata">

**Author:** ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)\
**Post date:** [April 28, 2023, 6:01pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/37 "2023-04-28T18:01:05Z")

</div>

Moving platforms are really tricky! I think it’s actually easiest to do this with a regular overlap event and not the extension. Here is some sample code, but be warned that it’s a little bit thorny!

Also, it uses the arcade-sprite-data and jwunderl/arcade-sprite-util extensions

> **[moving-platforms](https://arcade.makecode.com/S45144-04924-72402-03834)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I would love to make this scenario a little bit friendlier in the future. It’s tough to code right now

---

<div class="post-metadata">

**Author:** ![Blobbey](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/blobbey/32/20831_2.png) [@Blobbey](https://forum.makecode.com/u/Blobbey)\
**Post date:** [April 28, 2023, 6:35pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/38 "2023-04-28T18:35:56Z")

</div>

I’ve just discovered an easier way to do this!  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/3/3ebec262ce14ff2c3ce24942d7e1c792d4432a99.png)  
Just make sure to set the `overlapCheck to true` in the `onStart`  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/3/3f50278f199f169f1b874aaa4616821a5c02cde1.png)  
I’ll post the game with this code soon!

---

<div class="post-metadata">

**Author:** ![ScriptScraper](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/scriptscraper/32/35438_2.png) [@ScriptScraper](https://forum.makecode.com/u/ScriptScraper)\
**Post date:** [May 4, 2026, 7:06pm UTC](https://forum.makecode.com/t/arcade-sprite-events-extension/13453/39 "2026-05-04T19:06:30Z")

</div>

When I open the menu and close it, the sprite events stop working entirely. I’ve seen this bug mentioned by other people in this thread, so will this ever be fixed?

[Previous page](https://forum.makecode.com/t/arcade-sprite-events-extension/13453.md?page=1)
