#Attempting to make a cube spin

93 messages · Page 1 of 1 (latest)

candid monolith
#

Cube spin go brr

gilded glen
#

Such a wonderfully composed project

#

ZIP the plugin source code for us now nko_gun

candid monolith
candid monolith
unique sphinx
#

@candid monolith any reason you're not just using a single rotation matrix via loop?

gilded glen
#

not just the .c

candid monolith
unique sphinx
#

i think its private

candid monolith
gilded glen
candid monolith
#

my bad, its public now haha

gilded glen
#

there we go

#

Imma check it out for myself and see what i can do

candid monolith
#

bet

gilded glen
#

I am stupid though so prolly not much

candid monolith
gilded glen
#

I love how two corners aren't even moving

candid monolith
#

i have no clue whats up with that

gilded glen
#

So uhh

#

Wait lemme see

prime quarry
#

your are beyond cubes here buddy

#

this is tesseract level

gilded glen
#

Where is the starting position to these points?

prime quarry
#

congrats on your first build and messing with the development system 😁

gilded glen
#

@candid monolith what FW did you build this on?

#

wait

#

bruhhhhh

#

CubeSpin_icons.h is missing

#

@candid monolith you need to get your shit together lmfao

prime quarry
#

dat icon bro

#

i know it's not a game-of-life thing

gilded glen
#

I changed the icon right away B)

prime quarry
#

oh don't be shy

#

i think my first app still has my testing icon

#

nothing says "testing"

#

did you get it to spin correctly?

gilded glen
prime quarry
#

i compiled it

#

just make a folder called assets in the root dir

gilded glen
prime quarry
#

or remove the fap_icon_assets

#

oh

#

i'm on an older version then

#

how is this already out of date lol

gilded glen
#

how tf did you get it to compile

#

That file never existed

#

But I think I did something to fix it

gilded glen
prime quarry
#

./fbt.cmd launch_app APPSRC=CubeSpin && tio -t /dev/ttyS15

#

just delete the include

#

he just left us

#

with this incomplete app

#

💔

gilded glen
#

Still getting this

prime quarry
#

create the /assets dir

gilded glen
#

it already exists

prime quarry
#

make a pull request creating an empty dir in his repo 🤣

#

in the app i mean

#

not from the root of where you launch fbt

#

or just remove it from the .fam

gilded glen
#

this line?

prime quarry
#

yes

gilded glen
#

Got it

#

So yea it's more fucked up the I thought

prime quarry
#

you just gotta see in 4D

#

it's a tesseract

#

the points are correct

#

i think

#

i think just the order in which the lines are drawn is wrong

candid monolith
gilded glen
#

We fixed it

candid monolith
#

oh oops

prime quarry
#

you should just draw a single circle

#

and call it a spinning sphere

#

then you'd seriously simplify your debugging time

candid monolith
#

pff

#

i have bouncing sphere

unique sphinx
#

I am about to sleep, but the main issue right now is getting the proper starting points for the cube

#

The rotation code should work (I rewrote it to use a rotation matrix properly.)

candid monolith
candid monolith
prime quarry
#

it's definitely cooler.

#

oh wait, after 0:10 it's actually a cube

#

congrats, dude

#

that is awesome work

last iron
#

When trying to make a spinning cube in a game that has an automation system with 2d graphics, I had similarly broken results

silk summit
#

lol this was an awesome read

candid monolith