# My First Game!

**URL:** <https://forum.makecode.com/t/my-first-game/22671>\
**Category:** Show & Tell\
**Tags:** game\
**Created:** [September 22, 2023, 6:15pm UTC](https://forum.makecode.com/t/my-first-game/22671 "2023-09-22T18:15:10Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Computedduke586](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@Computedduke586](https://forum.makecode.com/u/Computedduke586)\
**Post date:** [September 22, 2023, 6:15pm UTC](https://forum.makecode.com/t/my-first-game/22671/1 "2023-09-22T18:15:10Z")

</div>

> **[Treasure Runner](https://arcade.makecode.com/S64445-79872-55830-55513)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

I would love to hear any feedback to make it better, or change it.

---

<div class="post-metadata">

**Author:** ![PersonMakesNewGames](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/personmakesnewgames/32/10828_2.png) [@PersonMakesNewGames](https://forum.makecode.com/u/PersonMakesNewGames)\
**Post date:** [September 22, 2023, 8:11pm UTC](https://forum.makecode.com/t/my-first-game/22671/2 "2023-09-22T20:11:13Z")

</div>

This game is pretty fun. My highscore is 62. (Yes I played for that long) The only repetitive bug I’ve found was that if you run into a specific wall and try to move right while touching it, it won’t let you go and will repeatedly push you back.

---

<div class="post-metadata">

**Author:** ![randomuser](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/randomuser/32/32505_2.png) [@randomuser](https://forum.makecode.com/u/randomuser)\
**Post date:** [September 22, 2023, 8:11pm UTC](https://forum.makecode.com/t/my-first-game/22671/3 "2023-09-22T20:11:19Z")

</div>

It’s a great little minigame! The loop of running in circles can get repeptivie, though. Maybe more levels!

---

<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:** [September 22, 2023, 8:12pm UTC](https://forum.makecode.com/t/my-first-game/22671/4 "2023-09-22T20:12:16Z")

</div>

This is a super cool game! There does appear to be a bug though. Sometimes, after collecting the blue sphere, instead of getting teleported back to the orange sphere, I stay at the blue one.

---

<div class="post-metadata">

**Author:** ![Mega0star01](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mega0star01/32/14784_2.png) [@Mega0star01](https://forum.makecode.com/u/Mega0star01)\
**Post date:** [September 22, 2023, 8:12pm UTC](https://forum.makecode.com/t/my-first-game/22671/5 "2023-09-22T20:12:58Z")

</div>

this game is relly good.  
how do you do to make the enemy pass through walls but the player not???

---

<div class="post-metadata">

**Author:** ![Computedduke586](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@Computedduke586](https://forum.makecode.com/u/Computedduke586)\
**Post date:** [September 22, 2023, 11:38pm UTC](https://forum.makecode.com/t/my-first-game/22671/6 "2023-09-22T23:38:28Z")

</div>

could you give a sugestion on how to fix that? i tried working it out, but it didn’t do anything

---

<div class="post-metadata">

**Author:** ![Computedduke586](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@Computedduke586](https://forum.makecode.com/u/Computedduke586)\
**Post date:** [September 22, 2023, 11:38pm UTC](https://forum.makecode.com/t/my-first-game/22671/7 "2023-09-22T23:38:51Z")

</div>

There is a function called "ghost through walls. if you go into sprites, click “set MySprite auto destroy off”, you can modify it to say “set MyEnemy ghost through walls on”  
 ![Opera Snapshot_2023-09-22_143830_arcade.makecode.com](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/7/71a3b5548bd269493ad0f758223a17e710d6d2a4.png)

---

<div class="post-metadata">

**Author:** ![Computedduke586](https://avatars.discourse-cdn.com/v4/letter/c/6bbea6/32.png) [@Computedduke586](https://forum.makecode.com/u/Computedduke586)\
**Post date:** [September 22, 2023, 11:39pm UTC](https://forum.makecode.com/t/my-first-game/22671/8 "2023-09-22T23:39:27Z")

</div>

if you look in the code, you will see a “pause for 160ms” if you hold down a for too long, it will teleport you back. i tried to balance the time, but it was difficult. i found about 160 milliseconds was a good time, but if i ever add to this game, i will make it longer

---

<div class="post-metadata">

**Author:** ![Mega0star01](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mega0star01/32/14784_2.png) [@Mega0star01](https://forum.makecode.com/u/Mega0star01)\
**Post date:** [September 25, 2023, 5:10pm UTC](https://forum.makecode.com/t/my-first-game/22671/9 "2023-09-25T17:10:44Z")

</div>

Thank You!!!
