# Yarn-Single Button Platformer

**URL:** <https://forum.makecode.com/t/yarn-single-button-platformer/12377>\
**Category:** Arcade\
**Created:** [February 25, 2022, 5:45pm UTC](https://forum.makecode.com/t/yarn-single-button-platformer/12377 "2022-02-25T17:45:11Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![demoCrash](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/democrash/32/3528_2.png) [@demoCrash](https://forum.makecode.com/u/demoCrash)\
**Post date:** [February 25, 2022, 5:45pm UTC](https://forum.makecode.com/t/yarn-single-button-platformer/12377/1 "2022-02-25T17:45:11Z")

</div>

> **[Yarn-Single Button Platformer](https://arcade.makecode.com/32077-37268-67860-26827)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

Have Fun!!!

---

<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:** [February 25, 2022, 5:46pm UTC](https://forum.makecode.com/t/yarn-single-button-platformer/12377/2 "2022-02-25T17:46:33Z")

</div>

Wow, great pico-8 port!

Out of curiosity, how did you move all of the assets and code into arcade? Did you make a tool to do it or are you doing it by hand?

---

<div class="post-metadata">

**Author:** ![GoMustangs](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gomustangs/32/4323_2.png) [@GoMustangs](https://forum.makecode.com/u/GoMustangs)\
**Post date:** [February 25, 2022, 7:26pm UTC](https://forum.makecode.com/t/yarn-single-button-platformer/12377/3 "2022-02-25T19:26:13Z")

</div>

Wow! Is this for sure a pico-8 game? Can Lua code work with Microsoft Makecode? This is really cool!

---

<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:** [February 26, 2022, 2:22am UTC](https://forum.makecode.com/t/yarn-single-button-platformer/12377/4 "2022-02-26T02:22:45Z")

</div>

just finished it - it was amazing i got all stars and around 7730 points

---

<div class="post-metadata">

**Author:** ![demoCrash](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/democrash/32/3528_2.png) [@demoCrash](https://forum.makecode.com/u/demoCrash)\
**Post date:** [February 28, 2022, 4:20pm UTC](https://forum.makecode.com/t/yarn-single-button-platformer/12377/5 "2022-02-28T16:20:00Z")

</div>

I did it by hand. Here’s how I made it:

1. Open the game with pico-8 desktop, and then press “ESC” to enter the game editing. You can view these contents: game assets, game source code, game maps, game media, etc.

2. Move assets and maps. I finished it by hand.

3. Read Lua code and understand game logic.

4. Porting code is usually a little difficult because I don’t know much about the interface of pico-8. Here is a Wiki to help me quickly understand its meaning. This is the link: [https://pico-8.fandom.com/wiki/Pico-8\_Wikia](https://pico-8.fandom.com/wiki/Pico-8_Wikia). How to quickly find the API, you can find the one on the left 🔍， Then enter the API you want to know, usually first in the search results.

5. Some underlying interfaces of arcade platform are usually used:

> screen. drawImage  
> screen. drawTransparentImage  
> screen. print  
> screen. fillCircle  
> screen. fillRect  
> screen. setPixel  
> game. onShade  
> game. onPaint  
> game. onUpdate

etc.

---

<div class="post-metadata">

**Author:** ![Segatendo](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@Segatendo](https://forum.makecode.com/u/Segatendo)\
**Post date:** [February 28, 2022, 4:25pm UTC](https://forum.makecode.com/t/yarn-single-button-platformer/12377/6 "2022-02-28T16:25:21Z")

</div>

I am curious though how did you do this , if you made it yourself well done but if you ported it also well done as I’ve tried to port Games for some time

---

<div class="post-metadata">

**Author:** ![Segatendo](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@Segatendo](https://forum.makecode.com/u/Segatendo)\
**Post date:** [February 28, 2022, 4:30pm UTC](https://forum.makecode.com/t/yarn-single-button-platformer/12377/7 "2022-02-28T16:30:03Z")

</div>

Oh ok I kinda asked then you replied before my message went through 😅

---

<div class="post-metadata">

**Author:** ![Taser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/taser/32/29517_2.png) [@Taser](https://forum.makecode.com/u/Taser)\
**Post date:** [February 28, 2022, 8:52pm UTC](https://forum.makecode.com/t/yarn-single-button-platformer/12377/8 "2022-02-28T20:52:15Z")

</div>

are you going to make more levels?

---

<div class="post-metadata">

**Author:** ![SoftTalker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/softtalker/32/10776_2.png) [@SoftTalker](https://forum.makecode.com/u/SoftTalker)\
**Post date:** [March 2, 2022, 4:05pm UTC](https://forum.makecode.com/t/yarn-single-button-platformer/12377/9 "2022-03-02T16:05:13Z")

</div>

@demoCrash how do you make those level select and level restart star next level select

---

<div class="post-metadata">

**Author:** ![demoCrash](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/democrash/32/3528_2.png) [@demoCrash](https://forum.makecode.com/u/demoCrash)\
**Post date:** [March 4, 2022, 4:52pm UTC](https://forum.makecode.com/t/yarn-single-button-platformer/12377/10 "2022-03-04T16:52:35Z")

</div>

You can read my source code.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/3/34c8b3321eaef73cb124a61984373e9f0c4e057b.png)  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/9/9186a309dd610844e062d1a193a8b10771f4cc7e.png)

---

<div class="post-metadata">

**Author:** ![demoCrash](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/democrash/32/3528_2.png) [@demoCrash](https://forum.makecode.com/u/demoCrash)\
**Post date:** [March 4, 2022, 4:52pm UTC](https://forum.makecode.com/t/yarn-single-button-platformer/12377/11 "2022-03-04T16:52:44Z")

</div>

Sorry, my current plan is to port more pico-8 games to arcade platform 😀

---

<div class="post-metadata">

**Author:** ![Naterhulk99](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/naterhulk99/32/6784_2.png) [@Naterhulk99](https://forum.makecode.com/u/Naterhulk99)\
**Post date:** [September 15, 2022, 4:56pm UTC](https://forum.makecode.com/t/yarn-single-button-platformer/12377/12 "2022-09-15T16:56:48Z")

</div>

This is a really good game, I hope you make more of these games.

---

<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:** [January 27, 2023, 10:37pm UTC](https://forum.makecode.com/t/yarn-single-button-platformer/12377/13 "2023-01-27T22:37:00Z")

</div>

This game is incredible!

---

<div class="post-metadata">

**Author:** ![EuJeen](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/eujeen/32/12807_2.png) [@EuJeen](https://forum.makecode.com/u/EuJeen)\
**Post date:** [July 11, 2023, 4:58pm UTC](https://forum.makecode.com/t/yarn-single-button-platformer/12377/14 "2023-07-11T16:58:04Z")

</div>

Super incredible graphics, and the game is so smooth with no bugs. I also really loved the art and effort you put into this game. Keep it up!
