# Did not take me long!

**URL:** <https://forum.makecode.com/t/did-not-take-me-long/5958>\
**Category:** Show & Tell\
**Tags:** game\
**Created:** [February 4, 2021, 7:06pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958 "2021-02-04T19:06:35Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [February 4, 2021, 7:06pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/1 "2021-02-04T19:06:35Z")

</div>

> **[The Hard Platformer](https://arcade.makecode.com/65628-19135-37572-06250)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

After a while, I finally was able to finish this game! (both playing and creating…)

---

<div class="post-metadata">

**Author:** ![fd268](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/fd268/32/35044_2.png) [@fd268](https://forum.makecode.com/u/fd268)\
**Post date:** [February 4, 2021, 7:34pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/2 "2021-02-04T19:34:08Z")

</div>

Bugs:

- If you die, it makes more coins (witch make like 5 coins in 1 spot)
- The coins don’t reset with each level
- I am also pretty sure the coins are off by a few pixels

---

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [February 4, 2021, 7:58pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/3 "2021-02-04T19:58:19Z")

</div>

1. Intentional
2. Intentional
3. MakeCode Bug

---

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [February 4, 2021, 8:00pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/4 "2021-02-04T20:00:18Z")

</div>

Also here is a version with the coins different

> **[Limited coins version.](https://arcade.makecode.com/54825-35976-91664-91849)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<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 4, 2021, 8:02pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/5 "2021-02-04T20:02:20Z")

</div>

re (3): You can fix this by making your initial coin sprite 8x8 instead of 16x16

---

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [February 4, 2021, 8:11pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/6 "2021-02-04T20:11:59Z")

</div>

ok. thx

---

<div class="post-metadata">

**Author:** ![Dace](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dace/32/922_2.png) [@Dace](https://forum.makecode.com/u/Dace)\
**Post date:** [February 6, 2021, 7:57am UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/7 "2021-02-06T07:57:57Z")

</div>

This is so cool! Is there by chance a walkthrough to explain the coding. I’m pretty new to Makecode so some of the code you are using is over my head. thnx

---

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [February 6, 2021, 3:18pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/8 "2021-02-06T15:18:41Z")

</div>

There is not a walkthrough for that, and I was using extensions with older versions of blocks. Will try to make a tutorial on this game!

---

<div class="post-metadata">

**Author:** ![Dace](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dace/32/922_2.png) [@Dace](https://forum.makecode.com/u/Dace)\
**Post date:** [February 6, 2021, 4:23pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/9 "2021-02-06T16:23:53Z")

</div>

That would be awesome, that concept of a moving camera adds such a powerful gameplay mechanic. Please reply here if you ever get around to that tutorial, Ill be the first to watch it! thnx

---

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [February 8, 2021, 4:48pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/11 "2021-02-08T16:48:40Z")

</div>

no not that… scrolling camera

---

<div class="post-metadata">

**Author:** ![fd268](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/fd268/32/35044_2.png) [@fd268](https://forum.makecode.com/u/fd268)\
**Post date:** [February 8, 2021, 5:00pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/12 "2021-02-08T17:00:23Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/a/a3bc20b068c3d0caf82a76d74a70517ee5ca882f.png)  
for the death you need more code 😑

---

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [February 8, 2021, 5:20pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/13 "2021-02-08T17:20:10Z")

</div>

[![](https://img.youtube.com/vi/NpxqwtEOu74/maxresdefault.jpg "How to Make a Side Scrolling platformer - Microsoft MakeCode Arcade") ](https://www.youtube.com/watch?v=NpxqwtEOu74)

---

<div class="post-metadata">

**Author:** ![Dace](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dace/32/922_2.png) [@Dace](https://forum.makecode.com/u/Dace)\
**Post date:** [February 8, 2021, 10:05pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/14 "2021-02-08T22:05:09Z")

</div>

Wow that was fast, I really appreciate it, this will help me and my students get the mechanics that you created. Thanks again, you should make more of these, we all can learn so much from people like you that create great games!

---

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [February 8, 2021, 10:18pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/15 "2021-02-08T22:18:22Z")

</div>

Will do!

---

<div class="post-metadata">

**Author:** ![Dace](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dace/32/922_2.png) [@Dace](https://forum.makecode.com/u/Dace)\
**Post date:** [February 8, 2021, 10:21pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/16 "2021-02-08T22:21:22Z")

</div>

Just wondering what does the “mySprite wall hit on bottom 14 and 7” indicate?

---

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [February 8, 2021, 10:53pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/17 "2021-02-08T22:53:25Z")

</div>

It has to do with the tile color number. While you hover over the color palette it shows the number. Air is -1

---

<div class="post-metadata">

**Author:** ![Dace](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dace/32/922_2.png) [@Dace](https://forum.makecode.com/u/Dace)\
**Post date:** [February 9, 2021, 4:06pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/18 "2021-02-09T16:06:29Z")

</div>

Ah I see thnx

---

<div class="post-metadata">

**Author:** ![Dace](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dace/32/922_2.png) [@Dace](https://forum.makecode.com/u/Dace)\
**Post date:** [February 9, 2021, 11:38pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/19 "2021-02-09T23:38:48Z")

</div>

I got through the tutorial but it seems my camera is not functioning correctly [https://makecode.com/\_YcXAfc6u2g9x](https://makecode.com/_YcXAfc6u2g9x)?  
As well im not sure I understand how this block you created works ![image](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/2/29f1eb7f534242793c1219a9bf7112c234b91ad9.png)  
thnx for any help!

---

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [February 9, 2021, 11:44pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/20 "2021-02-09T23:44:52Z")

</div>

Wont be on a computer until tommorow, but the sprite bottom checks if the spite is off screen by comparing it to the number of tilemap rows and the tile width.

---

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [February 9, 2021, 11:58pm UTC](https://forum.makecode.com/t/did-not-take-me-long/5958/21 "2021-02-09T23:58:21Z")

</div>

I see the problem now. Seeing the project, instead of a set y position to on the camera, you set the x position.

[Next page](https://forum.makecode.com/t/did-not-take-me-long/5958.md?page=2)
