# Makecode won't let me publish my game!

**URL:** <https://forum.makecode.com/t/makecode-wont-let-me-publish-my-game/10747>\
**Category:** Help\
**Created:** [November 3, 2021, 10:15pm UTC](https://forum.makecode.com/t/makecode-wont-let-me-publish-my-game/10747 "2021-11-03T22:15:19Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheJaky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thejaky/32/5711_2.png) [@TheJaky](https://forum.makecode.com/u/TheJaky)\
**Post date:** [November 3, 2021, 10:15pm UTC](https://forum.makecode.com/t/makecode-wont-let-me-publish-my-game/10747/1 "2021-11-03T22:15:19Z")

</div>

After all this time of working on my game, NOW Makecode has to bug out???  
It says that the publishing has failed and to check my my connection (which YES, is fine!)  
And YES, I have reloaded the page and the homepage multiple times. What do I do?

---

<div class="post-metadata">

**Author:** ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)\
**Post date:** [November 4, 2021, 2:58am UTC](https://forum.makecode.com/t/makecode-wont-let-me-publish-my-game/10747/3 "2021-11-04T02:58:36Z")

</div>

First click download to make a backup, then you can click your browser reload button, because I know that it doesn’t actually reload the page unless you click that. If the project disappears, then drag the file you downloaded into makecode. Open the project and do the usual publishing process.

---

<div class="post-metadata">

**Author:** ![TheJaky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thejaky/32/5711_2.png) [@TheJaky](https://forum.makecode.com/u/TheJaky)\
**Post date:** [November 4, 2021, 3:02pm UTC](https://forum.makecode.com/t/makecode-wont-let-me-publish-my-game/10747/4 "2021-11-04T15:02:11Z")

</div>

I did click the browser reload button…

---

<div class="post-metadata">

**Author:** ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)\
**Post date:** [November 4, 2021, 3:09pm UTC](https://forum.makecode.com/t/makecode-wont-let-me-publish-my-game/10747/5 "2021-11-04T15:09:42Z")

</div>

If you can download the file, restart your computer, and that might work, but if you can’t download the file, then probably don’t because makecode usually loses the projects with a restart

---

<div class="post-metadata">

**Author:** ![TheJaky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thejaky/32/5711_2.png) [@TheJaky](https://forum.makecode.com/u/TheJaky)\
**Post date:** [November 4, 2021, 3:31pm UTC](https://forum.makecode.com/t/makecode-wont-let-me-publish-my-game/10747/6 "2021-11-04T15:31:12Z")

</div>

I’ve already restarted my computer. Didn’t work.

---

<div class="post-metadata">

**Author:** ![shakao](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/shakao/32/113_2.png) [@shakao](https://forum.makecode.com/u/shakao)\
**Post date:** [November 4, 2021, 3:33pm UTC](https://forum.makecode.com/t/makecode-wont-let-me-publish-my-game/10747/7 "2021-11-04T15:33:08Z")

</div>

Hmm, are you able to click the “Save” icon next to the project name?

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

If so, could you upload the file that you get to the forums?

---

<div class="post-metadata">

**Author:** ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)\
**Post date:** [November 4, 2021, 3:34pm UTC](https://forum.makecode.com/t/makecode-wont-let-me-publish-my-game/10747/8 "2021-11-04T15:34:03Z")

</div>

Idk why it doesn’t work then. What browser do you use (Maybe switch?)

---

<div class="post-metadata">

**Author:** ![TheJaky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thejaky/32/5711_2.png) [@TheJaky](https://forum.makecode.com/u/TheJaky)\
**Post date:** [November 4, 2021, 3:41pm UTC](https://forum.makecode.com/t/makecode-wont-let-me-publish-my-game/10747/9 "2021-11-04T15:41:10Z")

</div>

Yep, I can save. So let me just put the file here

![arcade-TieDye-Beat-Em-Up-Redo (8)](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/6/609262a51079853bd7bbc75fd80f9906fea85822.png)

---

<div class="post-metadata">

**Author:** ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)\
**Post date:** [November 4, 2021, 5:05pm UTC](https://forum.makecode.com/t/makecode-wont-let-me-publish-my-game/10747/10 "2021-11-04T17:05:28Z")

</div>

I downloaded the game and the publish function won’t work on my computer either, but other games work fine (to publish).

---

<div class="post-metadata">

**Author:** ![TheJaky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thejaky/32/5711_2.png) [@TheJaky](https://forum.makecode.com/u/TheJaky)\
**Post date:** [November 4, 2021, 5:05pm UTC](https://forum.makecode.com/t/makecode-wont-let-me-publish-my-game/10747/11 "2021-11-04T17:05:29Z")

</div>

chrome lol

---

<div class="post-metadata">

**Author:** ![shakao](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/shakao/32/113_2.png) [@shakao](https://forum.makecode.com/u/shakao)\
**Post date:** [November 4, 2021, 5:05pm UTC](https://forum.makecode.com/t/makecode-wont-let-me-publish-my-game/10747/12 "2021-11-04T17:05:32Z")

</div>

Hmm, so I went through your assets (from the Assets tab) and deleted several unused animations and images–I’m not sure if you were planning on using them eventually? Here’s a link!

> **[TieDye Beat Em Up Redo](https://arcade.makecode.com/86943-29623-82538-83229)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I think the problem is that you have a LOT of images and images take up a lot of space–they were making your game really big, which causes problems when trying to publish. It looks like you have several animations that are the same pixel art except for a color and left/right change. You might want to do something like this:

> **[animation function](https://arcade.makecode.com/88067-98966-40857-68312)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

This is basically some code that creates an animation for you:

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

The key is that an “animation” is really just a list of images! So here there is one “animation” (if you go to the “Assets” tab of this project, you can see there’s only one animation asset) and you can change the color and flip the images based on the arguments passed into the function. That should save some space with animations and also make it easier to edit them later if you want to make changes 🙂 !

---

<div class="post-metadata">

**Author:** ![TheJaky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thejaky/32/5711_2.png) [@TheJaky](https://forum.makecode.com/u/TheJaky)\
**Post date:** [November 4, 2021, 5:28pm UTC](https://forum.makecode.com/t/makecode-wont-let-me-publish-my-game/10747/13 "2021-11-04T17:28:02Z")

</div>

Those unused animations, I don’t know what they are. I think I clicked a bunch and made multiple copies. There wasn’t a delete option for some reason, so I left them to rot at the bottom of the screen lol

Also thank you for the suggestion for taking up less space with the assets.

---

<div class="post-metadata">

**Author:** ![shakao](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/shakao/32/113_2.png) [@shakao](https://forum.makecode.com/u/shakao)\
**Post date:** [November 4, 2021, 5:29pm UTC](https://forum.makecode.com/t/makecode-wont-let-me-publish-my-game/10747/14 "2021-11-04T17:29:31Z")

</div>

Ah yeah, you can’t delete an asset if it’s being used in a block so you’d have to delete the block first, then go into the Assets tab and delete the asset. Also I know there are some bugs with deletion so you might have run into a MakeCode problem as well haha

---

<div class="post-metadata">

**Author:** ![TheJaky](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/thejaky/32/5711_2.png) [@TheJaky](https://forum.makecode.com/u/TheJaky)\
**Post date:** [November 4, 2021, 5:53pm UTC](https://forum.makecode.com/t/makecode-wont-let-me-publish-my-game/10747/15 "2021-11-04T17:53:51Z")

</div>

Also YES IT CAN SHARE NOW, LETS GO!!!
