# Dirt bike racing game

**URL:** <https://forum.makecode.com/t/dirt-bike-racing-game/42424>\
**Category:** Collaboration\
**Tags:** game\
**Created:** [March 1, 2026, 1:48am UTC](https://forum.makecode.com/t/dirt-bike-racing-game/42424 "2026-03-01T01:48:40Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![OrigamiArtist](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/origamiartist/32/33299_2.png) [@OrigamiArtist](https://forum.makecode.com/u/OrigamiArtist)\
**Post date:** [March 1, 2026, 1:48am UTC](https://forum.makecode.com/t/dirt-bike-racing-game/42424/1 "2026-03-01T01:48:40Z")

</div>

Hello there! I’m back with a game! This time the genre is… Racing! And I came up with a dirt bike racing game! In this game you:

- Race
- Buy upgrades (currently not available)
- Freestyle jumping
- Have fun!

**How to play:**  
In the racing version, there are 2 current levels. You basically race a dirt bike through the track and unfortunately, you have to restart the game to get back to the other activities (there is no way out of racing)  
In the jumping version, drive up the ramp (I need help with hill physics on that plz come and help me) and hold/spam Left or Right to spin in that direction. B to escape that level.  
That’s all for now !  
**Future updates**

- Hill physics, ramp physics
- More levels
- Winning and first place-last place system
- Upgrades
- More bikes
- Ability to do stunts when jumping  
Here is the link and tell me what you think:

> [Dirt bike racing](https://arcade.makecode.com/S03507-42488-54392-51988)

---

<div class="post-metadata">

**Author:** ![coder42](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@coder42](https://forum.makecode.com/u/coder42)\
**Post date:** [March 2, 2026, 5:43pm UTC](https://forum.makecode.com/t/dirt-bike-racing-game/42424/2 "2026-03-02T17:43:12Z")

</div>

Firstly, I recommend you work some more on your assets, specifically the hill tiles. They need to be more uniform so that they actually resemble hills when put together. You need to have a good asset list to work with so you know what you’re doing when you start trying to code more advanced interactions between the bikes and the hill tiles. To start, I suggest making a tile for a hill slope of 1x (like rise over run, just up 1 over 1) and one for 1/2x (up 1 over 2, or for a single tile this would be up 1/2, over 1), and make sure the tiles work together on diagonals to make convincing hills!

---

<div class="post-metadata">

**Author:** ![OrigamiArtist](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/origamiartist/32/33299_2.png) [@OrigamiArtist](https://forum.makecode.com/u/OrigamiArtist)\
**Post date:** [March 2, 2026, 7:15pm UTC](https://forum.makecode.com/t/dirt-bike-racing-game/42424/3 "2026-03-02T19:15:38Z")

</div>

I focused mainly on the bike AI, as it took me hours to make it do the jumping properly. Thanks for the feedback, I’ll work on that later.

---

<div class="post-metadata">

**Author:** ![OrigamiArtist](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/origamiartist/32/33299_2.png) [@OrigamiArtist](https://forum.makecode.com/u/OrigamiArtist)\
**Post date:** [March 14, 2026, 6:47pm UTC](https://forum.makecode.com/t/dirt-bike-racing-game/42424/4 "2026-03-14T18:47:17Z")

</div>

Can someone help me with hill physics? `@anyone`???

---

<div class="post-metadata">

**Author:** ![coder42](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@coder42](https://forum.makecode.com/u/coder42)\
**Post date:** [March 24, 2026, 7:53pm UTC](https://forum.makecode.com/t/dirt-bike-racing-game/42424/5 "2026-03-24T19:53:37Z")

</div>

Hey, here’s a hills demo I made, It’s still got a couple weird bugs in very specific cases I haven’t been able to fix yet, but hopefully it’s something thing you can go off of. The y position is automatically calculated based on the slope of the hill tile, so the positioning is basically built off of the x position of the sprite, which should make it fairly easy to implement the bots. Hope this helps!

> **[Hills Demo](https://arcade.makecode.com/S57081-26455-64603-30872)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![OrigamiArtist](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/origamiartist/32/33299_2.png) [@OrigamiArtist](https://forum.makecode.com/u/OrigamiArtist)\
**Post date:** [March 25, 2026, 9:31pm UTC](https://forum.makecode.com/t/dirt-bike-racing-game/42424/6 "2026-03-25T21:31:07Z")

</div>

Thanks for this! Could you put this into the game?

---

<div class="post-metadata">

**Author:** ![coder42](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@coder42](https://forum.makecode.com/u/coder42)\
**Post date:** [March 25, 2026, 10:11pm UTC](https://forum.makecode.com/t/dirt-bike-racing-game/42424/7 "2026-03-25T22:11:37Z")

</div>

How does a collab work? If I click edit code, doesn’t it just make a copy for me?

---

<div class="post-metadata">

**Author:** ![OrigamiArtist](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/origamiartist/32/33299_2.png) [@OrigamiArtist](https://forum.makecode.com/u/OrigamiArtist)\
**Post date:** [March 26, 2026, 4:35pm UTC](https://forum.makecode.com/t/dirt-bike-racing-game/42424/8 "2026-03-26T16:35:42Z")

</div>

You could edit the code, put in the _code only_, then I can re-decorate it to make it like the original game. Thanks for helping!

---

<div class="post-metadata">

**Author:** ![OrigamiArtist](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/origamiartist/32/33299_2.png) [@OrigamiArtist](https://forum.makecode.com/u/OrigamiArtist)\
**Post date:** [April 3, 2026, 7:46pm UTC](https://forum.makecode.com/t/dirt-bike-racing-game/42424/9 "2026-04-03T19:46:27Z")

</div>

@coder42 do you feel like you’re doing all the work and I’m just telling you to do it? If you want, you don’t have to work on this.

---

<div class="post-metadata">

**Author:** ![coder42](https://avatars.discourse-cdn.com/v4/letter/c/b782af/32.png) [@coder42](https://forum.makecode.com/u/coder42)\
**Post date:** [April 3, 2026, 9:18pm UTC](https://forum.makecode.com/t/dirt-bike-racing-game/42424/10 "2026-04-03T21:18:13Z")

</div>

I just wasn’t too sure what else I should do, especially because I’m not familiar with your project, so I honestly wouldn’t know how to implement my hill feature in the game without just starting a new project and making my own dirt bike game with my code. I just figured you could take my demo I gave you and maybe implement it in your game.

---

<div class="post-metadata">

**Author:** ![OrigamiArtist](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/origamiartist/32/33299_2.png) [@OrigamiArtist](https://forum.makecode.com/u/OrigamiArtist)\
**Post date:** [April 7, 2026, 11:06pm UTC](https://forum.makecode.com/t/dirt-bike-racing-game/42424/11 "2026-04-07T23:06:25Z")

</div>

Happy to announce that this is my most popular game! (45 clicks is a lot for me 😉 )

---

<div class="post-metadata">

**Author:** ![OrigamiArtist](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/origamiartist/32/33299_2.png) [@OrigamiArtist](https://forum.makecode.com/u/OrigamiArtist)\
**Post date:** [May 10, 2026, 7:22pm UTC](https://forum.makecode.com/t/dirt-bike-racing-game/42424/12 "2026-05-10T19:22:45Z")

</div>

I’m soon changing this game entirely.  
**Updates** _ **-** _ _ **Coming soon:** _  
The game will now be Top Down.  
The palette will change  
The Whole game menu, fading, effects are going to be altered. The new game link will be posted very soon, Keep Watching!!!

---

<div class="post-metadata">

**Author:** ![xInsqne1](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/xinsqne1/32/34060_2.png) [@xInsqne1](https://forum.makecode.com/u/xInsqne1)\
**Post date:** [May 11, 2026, 2:23am UTC](https://forum.makecode.com/t/dirt-bike-racing-game/42424/13 "2026-05-11T02:23:22Z")

</div>

I look forward to this!
