#i have a list for jump sprites im just

1 messages · Page 1 of 1 (latest)

warped osprey
#

like i was saying

#

i would use the SetSprite() function to also check about ur input conditionals

#

heres how my blending tree's work BUT even with blending tree's not sure where I would change my code to allow other things like jumping and stuff

#

so we're in the same boat with different methods of coding

storm knot
#

damn thats really cool, i wanna make doom style games, just, 3rd person i guess

warped osprey
#

well figure out this little problem first and share with me hahah

#

cuz i cant finish my project til i figure this out as well

storm knot
#

so should I have the ground check be in the SetSprite function instead?

warped osprey
#

it doeesnt need to be in ther with it

#

but u can call it before

#

u know hwat i mean?

GetInput();
CheckIfGrounded();
SetSprite();

#

then inside SetSprite() u could use ur grounded boolean to check

#

and since u set that before u run the setsprite u know its updated to what it should be for that frame to run

#

but im speaking hypothetically

#

i can't say for sure cuz ive never fixed mine.. so im more brainstorming with you

storm knot
#

yeah the best i can get it atm is just pausing the animation when i jump

warped osprey
#

im going to fiddle with mine today too since i seen ur issue is related

#

if i can figure out something ill post it here in the thread 👍

storm knot
#

yeye same

#

im not sure what specifically is causing the error

#

this is the only thing i could think of trying

#

it says its unassigned for some reason

#

!!!!!!!!!!!!!!!!!!!!!

#

figured it out ((i think))

#

same code as above but i moved the List<Sprite> directionSprites to the top of the page