[Announcement] MakeCode Arcade Mini Game Jam #4 - Outer Space Jam

Amazing gameplay and art

2 Likes

i speedran the game got 23 seconds

3 Likes

KiwiPheonix

10 Likes

The Legend Himself.

3 Likes

Lol nice pixel art also pheonix (phoenix’s quest reference lol)

5 Likes

I believe that is completely all right. People have done it before XD

2 Likes

Here is one of my space games I’m doing.

3 Likes

Is the mini game jam over?

3 Likes

HOW. Just HOW, did you make the enemy sprite?!?!?!

3 Likes

The spaceship is not a sprite, it’s a 3D model using realtime perspective rendering and shading, lovingly drawn pixel by pixel every frame :slight_smile:

If you’re curious, check out the ShipModel class in main.ts which has the 3D coordinates of the corners and the faces connecting them. The actual drawing happens in the renderer code in triangle.ts. In short:

  • sort the drawn objects (spaceships and asteroids) and handle them in far-to-near order
  • for the spaceship model, determine the correct order in which to draw its parts. It’s a BSP tree where planes split it into convex sub-models.
  • for each part, use a transform matrix for orientation/position and a perspective transform to get screen coordinates for each corner (vertex)
  • use clipping to cut away any parts of faces that extend beyond the screen edges
  • convert the face polygons to trapezoids with vertical edges
  • add the trapezoids to a list sorted by X (horizontal) starting position
  • once all parts have been added, go through the trapezoid list and draw vertical lines for each X position of each trapezoid, in back-to-front order
7 Likes

Incredible.

3 Likes

(I don’t really know what any of it means but it sound impressive so I will proceed to bow to our great coding overlord!)

5 Likes

I get like…20% of that…

1 Like

Oh nooo I forgot to enter my project into the contest… ;-;

3 Likes

you used blender in makecode, but with SCRIPTS?!

3 Likes

Games broken. But it seems Fun!

2 Likes

I didn’t use Blender, just graph paper for 3D model construction and math. (I still struggle with the Blender user interface, I seem to forget the little bits I learned each time and need to start over.)

4 Likes

Im currently working on a “app” in Arcade that allows the visualization of 3d coordinants that are drawable (for small models), and with a button that prints the places coordinants in the console log! I’m just making this project for fun, but you may be able to use it once it’s finished!

1 Like

Blender is fun

1 Like

indeed it is