# Starfox "3D" (A simulated 3d game)

**URL:** https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320
**Category:** Arcade
**Tags:** game
**Created:** [July 20, 2021, 5:17pm UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320 "2021-07-20T17:17:18Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)
#### Post date: [July 20, 2021, 5:17pm UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320/1 "2021-07-20T17:17:18Z")

</div>

I made a simulated 3d starfox demo

> **[starfox simulated 3d](https://arcade.makecode.com/63990-39381-13188-12712)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<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: [July 20, 2021, 10:33pm UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320/2 "2021-07-20T22:33:55Z")

</div>

Wow! That’s a great idea! Have you seen the makecode 3d asteroid game?

> **[Space Rocks 3D](https://arcade.makecode.com/20832-24684-28218-21991)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

### Author: ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)
#### Post date: [July 20, 2021, 11:14pm UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320/3 "2021-07-20T23:14:17Z")

</div>

Yes. That was my inspiration, but I’m definitely not smart enough to make anything actually 3d (and in javascript) like space rocks. This project just arrays of sprites and Z axis as a variable

---

<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: [July 21, 2021, 7:53pm UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320/4 "2021-07-21T19:53:20Z")

</div>

Well either way, your starfox demo is still really impressive. Without the polygons it could have an old school 3d effect, like Space Harrier or Outrun.

---

<div class="post-metadata">

### Author: ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)
#### Post date: [July 21, 2021, 10:31pm UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320/5 "2021-07-21T22:31:35Z")

</div>

Thanks! (I had to look up what Space Harrier was) That’s a great idea. I’m not going to do Outrun because that has already been remade (and it could possibly be very hard or even too hard for me to do roads and stuff.) I’ll see what I come up with. I might try to have objects be random and for you to survive a certain amount of time with more and more objects to avoid.

---

<div class="post-metadata">

### Author: ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)
#### Post date: [July 21, 2021, 11:59pm UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320/6 "2021-07-21T23:59:43Z")

</div>

Hi! I slightly edited it and added a floor! The arrays should not be constantly updated! This causes lags! Then you should NEVER have multiple forever loops!  
Those cause much lag! On game updates do not and you can have multiple! [https://makecode.com/\_RXTPodCUKieg](https://makecode.com/_RXTPodCUKieg)  
Great game!

---

<div class="post-metadata">

### Author: ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)
#### Post date: [July 22, 2021, 4:44pm UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320/7 "2021-07-22T16:44:40Z")

</div>

Thanks for the help though

---

<div class="post-metadata">

### Author: ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)
#### Post date: [July 22, 2021, 4:44pm UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320/8 "2021-07-22T16:44:48Z")

</div>

I compared the framerate between the two and your optimized version and the original run pretty much the same. The original even runs a little bit faster.

---

<div class="post-metadata">

### Author: ![DahbixLP](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/dahbixlp/32/4760_2.png) [@DahbixLP](https://forum.makecode.com/u/DahbixLP)
#### Post date: [July 22, 2021, 10:51pm UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320/9 "2021-07-22T22:51:04Z")

</div>

Well this is a rather small game so it is barely noticeable! But on big games you shouldnt have multiple forevers!

---

<div class="post-metadata">

### Author: ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)
#### Post date: [July 26, 2021, 4:03pm UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320/10 "2021-07-26T16:03:36Z")

</div>

V0.2 is here! not much is changed though.

> **[starfox simulated 3d V0.2](https://arcade.makecode.com/03716-62767-28149-26412)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

### Author: ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)
#### Post date: [July 28, 2021, 1:54am UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320/11 "2021-07-28T01:54:18Z")

</div>

also check out my run remake that has a similar code to this, but more complex

> [@Runaway 2d: a simulated 3d Run remake](https://forum.makecode.com/t/runaway-2d-a-simulated-3d-run-remake/9399):
>
> I remade some of the flash game “Run”. I can’t rotate all the sprites to simulate gravity yet though.

---

<div class="post-metadata">

### Author: ![jackal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jackal/32/19506_2.png) [@jackal](https://forum.makecode.com/u/jackal)
#### Post date: [August 14, 2021, 6:26pm UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320/12 "2021-08-14T18:26:32Z")

</div>

HOW 😮

---

<div class="post-metadata">

### Author: ![DonutGrenadeStudios](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/donutgrenadestudios/32/6252_2.png) [@DonutGrenadeStudios](https://forum.makecode.com/u/DonutGrenadeStudios)
#### Post date: [May 17, 2022, 4:09pm UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320/13 "2022-05-17T16:09:36Z")

</div>

hey just wondering if this is safe to play on hardware i don’t wanna fry my hardware

---

<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: [May 18, 2022, 4:59pm UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320/14 "2022-05-18T16:59:48Z")

</div>

I don’t know. I’ve only played the game in browser. Sorry.

---

<div class="post-metadata">

### Author: ![Kiwiphoenix364](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/kiwiphoenix364/32/14368_2.png) [@Kiwiphoenix364](https://forum.makecode.com/u/Kiwiphoenix364)
#### Post date: [May 18, 2022, 9:23pm UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320/15 "2022-05-18T21:23:51Z")

</div>

I don’t think hardware can get fried (unless it gets like… in water/short circuited, but even then, my Pygamer went through the washing machine and still works perfectly lol.)

[Space rocks 3d](https://forum.makecode.com/t/space-rocks-3d/6334) (the newest version at least, the old one didn’t have an fps counter, and I think is slower), runs at a buttery-smooth 50fps on my pygamer!

---

<div class="post-metadata">

### Author: ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)
#### Post date: [May 18, 2022, 9:24pm UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320/16 "2022-05-18T21:24:09Z")

</div>

You probably won’t be able to fry your hardware, it will probably just crash.

---

<div class="post-metadata">

### Author: ![jackal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/jackal/32/19506_2.png) [@jackal](https://forum.makecode.com/u/jackal)
#### Post date: [May 19, 2022, 6:33pm UTC](https://forum.makecode.com/t/starfox-3d-a-simulated-3d-game/9320/17 "2022-05-19T18:33:22Z")

</div>

Wait, so grilling hardware isn’t a thing anymore?!
