# Slopes Physics engine!

**URL:** https://forum.makecode.com/t/slopes-physics-engine/34810
**Category:** Show & Tell
**Tags:** make, game
**Created:** [March 22, 2025, 6:55pm UTC](https://forum.makecode.com/t/slopes-physics-engine/34810 "2025-03-22T18:55:52Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Marlio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/marlio/32/21270_2.png) [@Marlio](https://forum.makecode.com/u/Marlio)
#### Post date: [March 22, 2025, 6:55pm UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/1 "2025-03-22T18:55:52Z")

</div>

I have mad a physics engine that is mostly designed so that it’s easy to make custom collision shapes! Here’s the link to my demo:

> **[Slopes Demo](https://arcade.makecode.com/S16491-94510-70935-59666)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

If you want to use this as a base to a game, you can, just make sure to credit me on the physics engine.

---

<div class="post-metadata">

### Author: ![AgentBoom](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agentboom/32/16635_2.png) [@AgentBoom](https://forum.makecode.com/u/AgentBoom)
#### Post date: [March 23, 2025, 2:28am UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/2 "2025-03-23T02:28:44Z")

</div>

This has to be one the most impressive slope physics engine Ive seen on the forums! It seems specific but a fair amount of people have tried it before 🤣

---

<div class="post-metadata">

### Author: ![platformermaster](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/platformermaster/32/16102_2.png) [@platformermaster](https://forum.makecode.com/u/platformermaster)
#### Post date: [March 23, 2025, 4:14pm UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/3 "2025-03-23T16:14:20Z")

</div>

Dangg this is nice

---

<div class="post-metadata">

### Author: ![Marlio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/marlio/32/21270_2.png) [@Marlio](https://forum.makecode.com/u/Marlio)
#### Post date: [March 23, 2025, 9:24pm UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/4 "2025-03-23T21:24:46Z")

</div>

By the way, the physics engine isn’t _just_ for slopes, it can do _any_ shape, so long as it can be made in a 16x16 grid.

---

<div class="post-metadata">

### Author: ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)
#### Post date: [March 23, 2025, 9:38pm UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/5 "2025-03-23T21:38:55Z")

</div>

Wow!!! I have seen physics engines but only using extensions, and they are so laggy. This game is definitely the most impressive slopes I have seen. Perfect for an infinite runner game 👀

---

<div class="post-metadata">

### Author: ![Luke](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/luke/32/32519_2.png) [@Luke](https://forum.makecode.com/u/Luke)
#### Post date: [March 23, 2025, 9:39pm UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/6 "2025-03-23T21:39:26Z")

</div>

the fact that this is spriteless as well is incredible, well done!

---

<div class="post-metadata">

### Author: ![Bilangus](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bilangus/32/33219_2.png) [@Bilangus](https://forum.makecode.com/u/Bilangus)
#### Post date: [March 24, 2025, 12:25pm UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/7 "2025-03-24T12:25:53Z")

</div>

Its even got semi-solids? Wow.

---

<div class="post-metadata">

### Author: ![Marlio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/marlio/32/21270_2.png) [@Marlio](https://forum.makecode.com/u/Marlio)
#### Post date: [March 24, 2025, 4:49pm UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/8 "2025-03-24T16:49:43Z")

</div>

I will admit, the semi-solids are a little buggy.

---

<div class="post-metadata">

### Author: ![top\_hat\_lord](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/top_hat_lord/32/33469_2.png) [@top\_hat\_lord](https://forum.makecode.com/u/top_hat_lord)
#### Post date: [March 24, 2025, 8:22pm UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/9 "2025-03-24T20:22:20Z")

</div>

I must agree! so many slope engines are hard to compare this to! the fact that it goes up by the pixel, wow!

---

<div class="post-metadata">

### Author: ![Gl125371](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/gl125371/32/29131_2.png) [@Gl125371](https://forum.makecode.com/u/Gl125371)
#### Post date: [March 24, 2025, 9:52pm UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/10 "2025-03-24T21:52:13Z")

</div>

You should make it into an extension. This is the best slope engine I have seen by far!

---

<div class="post-metadata">

### Author: ![Marlio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/marlio/32/21270_2.png) [@Marlio](https://forum.makecode.com/u/Marlio)
#### Post date: [March 24, 2025, 10:49pm UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/11 "2025-03-24T22:49:25Z")

</div>

Sorry, I only really know how to do block coding. If I could make an extension, I would, but I don’t understand how to.

---

<div class="post-metadata">

### Author: ![Mr\_Duck](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/mr_duck/32/13442_2.png) [@Mr\_Duck](https://forum.makecode.com/u/Mr_Duck)
#### Post date: [March 25, 2025, 6:25am UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/12 "2025-03-25T06:25:36Z")

</div>

you can make your functions in block and then go into js and copy that code and format it into a extension function, heres something to help u, [Makecode Playground](https://makecode.com/playground)  
-@YuHayate for @Mr_Duck

---

<div class="post-metadata">

### Author: ![Sonicblaston](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/sonicblaston/32/19164_2.png) [@Sonicblaston](https://forum.makecode.com/u/Sonicblaston)
#### Post date: [March 25, 2025, 12:53pm UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/13 "2025-03-25T12:53:46Z")

</div>

I could do it if you want

---

<div class="post-metadata">

### Author: ![Josef](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/josef/32/12457_2.png) [@Josef](https://forum.makecode.com/u/Josef)
#### Post date: [March 25, 2025, 1:07pm UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/14 "2025-03-25T13:07:50Z")

</div>

> **[Making and Using Extensions in Microsoft MakeCode Arcade](https://medium.com/kikis-corner/extensions-ac2c8a554a91)**
>
> With so many features hiding under the hood, you might find that you aren’t able to take advantage of the most advanced block-based…

handy little thing 🙂

---

<div class="post-metadata">

### Author: ![Marlio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/marlio/32/21270_2.png) [@Marlio](https://forum.makecode.com/u/Marlio)
#### Post date: [March 25, 2025, 10:27pm UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/15 "2025-03-25T22:27:37Z")

</div>

Here’s a new update on the physics engine! I have added ice and also fixed up the bug with the semi-solids I had mentioned yesterday! Here’s the link:

> **[Ice Physics](https://arcade.makecode.com/S84928-98326-64080-83268)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

🧊

---

<div class="post-metadata">

### Author: ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)
#### Post date: [March 26, 2025, 8:43pm UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/16 "2025-03-26T20:43:09Z")

</div>

Wow this is awesome!!! Can the ice be a bit more slippery? As in, you just keep moving with little to zero friction?

---

<div class="post-metadata">

### Author: ![Bilangus](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/bilangus/32/33219_2.png) [@Bilangus](https://forum.makecode.com/u/Bilangus)
#### Post date: [March 28, 2025, 9:53pm UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/17 "2025-03-28T21:53:20Z")

</div>

The new ice is great, but i feel like you should slide down the ice slopes when standing still. I have no idea how such code could be written but it just seems right

---

<div class="post-metadata">

### Author: ![Marlio](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/marlio/32/21270_2.png) [@Marlio](https://forum.makecode.com/u/Marlio)
#### Post date: [March 28, 2025, 11:22pm UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/18 "2025-03-28T23:22:42Z")

</div>

Is this better?

> **[Ice Physics](https://arcade.makecode.com/S78040-16204-24864-91385)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

### Author: ![Josef](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/josef/32/12457_2.png) [@Josef](https://forum.makecode.com/u/Josef)
#### Post date: [March 29, 2025, 12:44am UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/19 "2025-03-29T00:44:34Z")

</div>

Very nice, one of the best I’ve seen. Now go and make it so that you can groun pound through the semi solids

---

<div class="post-metadata">

### Author: ![BotWarrior](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/botwarrior/32/25328_2.png) [@BotWarrior](https://forum.makecode.com/u/BotWarrior)
#### Post date: [March 29, 2025, 12:49am UTC](https://forum.makecode.com/t/slopes-physics-engine/34810/20 "2025-03-29T00:49:21Z")

</div>

Perfect!!! Seriously this is one cool engine!

[Next page](https://forum.makecode.com/t/slopes-physics-engine/34810.md?page=2)
