# Sprites not showing!

**URL:** <https://forum.makecode.com/t/sprites-not-showing/27957>\
**Category:** Arcade\
**Created:** [March 26, 2024, 9:55pm UTC](https://forum.makecode.com/t/sprites-not-showing/27957 "2024-03-26T21:55:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jedi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jedi/32/14307_2.png) [@Jedi](https://forum.makecode.com/u/Jedi)\
**Post date:** [March 26, 2024, 9:55pm UTC](https://forum.makecode.com/t/sprites-not-showing/27957/1 "2024-03-26T21:55:04Z")

</div>

so when i go from the game menu to battle, sprites show, but when i switch the gmae from “game” to “battle” no sprites show up even though there is the code there to make sprites, this happens with every sprite, text, statusbars, etc, and idk why, HALP

@richard i think you made the multigame extension, so maybe you would 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 26, 2024, 9:55pm UTC](https://forum.makecode.com/t/sprites-not-showing/27957/2 "2024-03-26T21:55:20Z")

</div>

@Jedi please give me a link to your code!

---

<div class="post-metadata">

**Author:** ![Jedi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jedi/32/14307_2.png) [@Jedi](https://forum.makecode.com/u/Jedi)\
**Post date:** [March 26, 2024, 9:57pm UTC](https://forum.makecode.com/t/sprites-not-showing/27957/3 "2024-03-26T21:57:26Z")

</div>

oops, i forgot too put that in lol [https://arcade.makecode.com/S25029-72039-99017-26763](https://arcade.makecode.com/S25029-72039-99017-26763)

---

<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 26, 2024, 10:10pm UTC](https://forum.makecode.com/t/sprites-not-showing/27957/4 "2024-03-26T22:10:35Z")

</div>

@Jedi I guess I did make that extension at some point but I have no memory of doing so! The issue here is that you’re not moving the camera when you switch the current game. Try centering the camera on the sprite you’re spawning in that “on start” event.

I recently started working on a new extension that serves the same role as multigame, but probably works a bit better:

> **[GitHub - riknoll/arcade-state-transitions: A minimal state machine extension...](https://github.com/riknoll/arcade-state-transitions)**
>
> A minimal state machine extension for Microsoft MakeCode Arcade - riknoll/arcade-state-transitions

This is the one I’ll be updating going forward, so let me know if you have any feedback!

---

<div class="post-metadata">

**Author:** ![Jedi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jedi/32/14307_2.png) [@Jedi](https://forum.makecode.com/u/Jedi)\
**Post date:** [March 26, 2024, 10:13pm UTC](https://forum.makecode.com/t/sprites-not-showing/27957/5 "2024-03-26T22:13:41Z")

</div>

ok, thanks! i completely forgot about the camera! 🤦‍♂️

and btw TY for making that extension, ever since i found that extension, ive been able to do a TON more with my games and make the code (haha) a lot smaller!

---

<div class="post-metadata">

**Author:** ![ChimbroDaPro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/chimbrodapro/32/15852_2.png) [@ChimbroDaPro](https://forum.makecode.com/u/ChimbroDaPro)\
**Post date:** [April 22, 2024, 11:19pm UTC](https://forum.makecode.com/t/sprites-not-showing/27957/6 "2024-04-22T23:19:56Z")

</div>

This is rich out of context 🤣
