#🔥nion's coding hell

169 messages · Page 1 of 1 (latest)

merry vortex
#

right so what im currently doing is i am making a studio plugin to automatically make tweens for thingies

#

because making the scripts takes too long for me :3

merry vortex
#

funny little button in the toolbar :3

#

and this too

merry vortex
#

this is probably bad design

#

my code is already turning into spaghetti

#

oh well!

merry vortex
#

yes

merry vortex
rustic pollen
#

also does this mean easier tweens for me

merry vortex
#

automatic tween scripts

#

the plugin will prob be released in a few days

#

only movement features for now

#

I'll eventually change it to do multiple properties

merry vortex
#

@rustic pollen ill prob release it for free once it's done

rustic pollen
#

oh nvm

merry vortex
#

tweeninfo is done

#

uh

rustic pollen
#

but how would it work

merry vortex
#

tween properties is next

rustic pollen
#

is it a tool for making tweens without scripting?

merry vortex
merry vortex
#

whatever you want

#

:3

rustic pollen
#

very nais

merry vortex
rustic pollen
#

also how do you make a tween for something rotating

#

like a door swinging open

merry vortex
#

hahaha

#

good luck with that

rustic pollen
#

RAHH

merry vortex
#

i can try get rotation working but

#

i don't think it's working

rustic pollen
#

ya but how do you make something rotatee

#

smoothly

#

like a tween

merry vortex
#

look

#

I'll try get it working

#

No promises though

rustic pollen
#

no i meant in general scriptin

#

g

#

@merry vortex

merry vortex
#

wait for my thing to work then do it

#

:3

rustic pollen
#

guh

merry vortex
#

still kinda shit but

#

will prob get it to a working state tomorrow :3

#

and then ill release it with position tween functions i guess

merry vortex
#

aaaaaaaaaaaa forgot to do a devlog

#

well its better than it was before

#

got a bunch of bug fixes done

#

i promise it'll be working tomorrow this time

rustic pollen
#

@merry vortex did you make anything new

merry vortex
#

no

#

if anything

rustic pollen
#

augh

merry vortex
#

ive been working on my writing project

rustic pollen
merry vortex
#

getting these new stories out yknow

#

currently got

#

11 documents

rustic pollen
merry vortex
#

with the tween thing?

#

or the writing thing

rustic pollen
#

both

#

also please ping me when you respond i have qs musted

#

😭

merry vortex
rustic pollen
#

ill check

#

@merry vortex is there anything new with the furry stuff

merry vortex
#

not for now

#

but soon there will be @rustic pollen

rustic pollen
merry vortex
#

which is pretty important

rustic pollen
merry vortex
rustic pollen
#

more furries??

merry vortex
#

:3

rustic pollen
merry vortex
#

Find it

rustic pollen
merry vortex
#

:3

rustic pollen
#

and you dont even know what youve already read

merry vortex
#

blehhhh

#

fine I'll arrange it more evenly

#

:/

rustic pollen
#

man just give me the link to the new thing

#

i dont wanna sort through 10-20 pages of just TEXT

merry vortex
#

I'm not on pc

#

but the path is >quantum tunneling > trial-j114 that's it

#

that's all for now

merry vortex
#

oh yeah this is still a thing

#

uhhhhhhhhhhhhhhhh ill work on it soon

#

procrastination momento

merry vortex
#

i am going to do it!

#

(im working on it now :3)

#

@rustic pollen hope ur happy

rustic pollen
#

what

rustic pollen
#

@merry vortex booooring

#

nat gonna watch you code

merry vortex
#

i am now make dumb minigame game

#

here is the first minigame

#

yes generic lava spinner

#

im adding more soon ok 😭

merry vortex
#

revival soon :3

merry vortex
#

maybe...

merry vortex
#

oh damn this exists?

#

time for a real revival

#

but uh

#

not yet

#

in like a few hours ok

#

🔥nion's coding hell

merry vortex
#

ok so heres the code im working on

#

here is 4 walls all of a different material

#

but i wanna check how long it travels through each material for

#

so here it is

#

the ray from the emitter brick goes through to me

#

through each of those materials for the time specified

#

if you're wondering

#

all those numbers are the same because they're equally spaced and sized

#

the way this is done is by doing a raycast to an object

#

and then when it hits an object on the way, we do a reverse raycast only including the object hit

#

this allows for us to get the precise entry and exit positions

#

find the vector between them and get the magnitude for the distance travelled in that material

#

by setting it so the reverse ray has a parameter to only hit the object hit, it will always reach the exit point

#

so we can do something like this

#

find the entry and exit of one wall

#

then exclude it and move onto the next

#

continue the process until we reach the player

#

and list down all the walls it has gone through and for how long

merry vortex
#

when you're through a wall the audio will be quieter depending on how far its travelled through the wall and what material it travelled through

merry vortex
#

and it is now done!!

#

it now has muffling or whatever

#

and guess what

#

this script is now up for grabs

small scarab
#

woah

merry vortex
#

i promise there will be more code soon

#

these things take time okay

merry vortex
#

today i decided to finish the code for this generic core script

#

ok it is quite literally only like 50 lines of code in this entire game

#

yes

#

50 total lines

#

my plan is that by starting small with this

#

i can slowly add more stuff

#

with the end goal of making this more realistic

#

yeah you heard that right, local idiot wants to make a core game realistic

#

ok lets get this straight

#

i dont mean realistic as in the thing doesnt just switch on