Explaining Cubes (SIMPLIFIED)

Um… hi? I feel awkward writing this, but can I teach you guys 3D? OK? Let’s dive right in!

Here, I have this dumb demo:

of a boring white cube in a black bg and… (DO WE NEED TO KNOW ANY MORE BOOOOORING DETAILS) OK. So the math is hard-easy. 2 variables. Look at the code. You need the length & width of your cube a lot. Even this is not able to be copied. NO. NO. NO. If you do copy it, IDK what will happen. So use my tips and… um… go live life I guess?!

1 Like

yeah I am alright at making static 3d things but when it comes to making it update I need help with that

You have to erase the cube before you change the angle. So just copy the function to make the cube, but change the color to the background. THEN change the angle. If this isn’t helpful… THEN

call me dumb.

1 Like

your not dumb you can do 3D stuff that’s cool

2 Likes

you can also use the arcade-sprite-util extension to get the block “run code […] game engine […]”, set it to “run code [before] game engine [updates the screen]” and in there you can draw to the “screen” variable found in the image section.

2 Likes

I don’t like using other extensions. I like to use my method. I feel like it is using others’.

1 Like

well I’ve 2 other options:

  1. Having a color input in the cube function, so that you still have one cube function
  2. Go to javascript and use game.onPaint (make it call a function called “update”, that you can then easily edit in blocks)
1 Like

I thought you were @Future_Knight for a second. Sorry for the ping.

1 Like

Next step: make a tesseract

I’m joking but it’d be really cool if you did make one.

1 Like

A new DEMO is coming soon!

1 Like

To me, one looks like an orb but in MineCraft.

1 Like