#Walk cycle time

1 messages · Page 1 of 1 (latest)

umbral dirge
#

head in hands

covert otter
#

Instead of GetFloat use the SetFloat method

umbral dirge
#

Ok I need to put the animator stuff back into the code (I deleted it before sobsob)

covert otter
#

Do u know what a argument to a function is?

umbral dirge
#

I need an If, then statement right?

covert otter
#

Incorrect

umbral dirge
#

then Im not sure

#

I dont know what it means by overload either

covert otter
#

Your getting that error because your only passing in one arguement

#

It needs two

umbral dirge
#

What arguement am I missing? It's another variable I think?

covert otter
#

Your passing in the arguement wrong

#

Do animator.SetFloat("xMove", xSpeed)

umbral dirge
#

ok

#

I add that to what I have now?

#

so there's two?

#

Oh wait the quotations are only around xMove

#

If I do that it tells me that xSpeed doesnt exist- should I change the (speedX, speedY) in the rb.velocity = new Vector2 to reflect that?

#

and the inputs then too? or leave it as it

#

as is*

covert otter
#

No ur overthinking

umbral dirge
#

oh ok

covert otter
#

Learn what strings are

#

Also take a coding course

umbral dirge
#

I'm in one rn qwq

covert otter
#

Thats good

umbral dirge
#

I dont think its very good though

covert otter
#

Its really hard at first

#

I can recommend some if u want

#

Most of them are bad

umbral dirge
#

Yeah after I figure this one out

#

Well I know how to make a sprite move around and pick things up to trigger a noise and a basic menu

covert otter
#

Thats dope!1

umbral dirge
#

I just want the walk cycle and I'm trying to teach that to myself

covert otter
#

Did the animation start working?

umbral dirge
#

oh wait

#

._. I just reversed it oops

covert otter
#

Yeah lol

#

simple mistake

umbral dirge
#

oh!! it's doing something good now

#

I have the left and right reversed and the idle isn't the right sprite but the up and down is working

#

Back to the blend tree

covert otter
#

Show me ur code

umbral dirge
#

Ok it's all working right except the idle animation is playing walk right

#

instead of the static stand facing forward sprite

covert otter
#

Whats ur animator settings

umbral dirge
covert otter
#

You making a fear and hunger clone?

umbral dirge
#

This is just for an assignment I wanted to put my oc into funger for funsies

#

And I thought it would be neat to pull up with a walk cycle

#

Bc Im an animator/illustrator first

covert otter
#

Im making a fear and hunger clone to!!

umbral dirge
#

ouu!!! thats so cool

covert otter
#

But you dont have any idle animations for it to be reset to

umbral dirge
#

I tried setting it as a single sprite I'm assuming I just need to make an actual animation for that to register?

covert otter
#

Yes

umbral dirge
#

omg

covert otter
#

You have to connect states

umbral dirge
#

I got it !!

#

It's working omg

#

I just need to stick some objects in to pick up and figure out how to make it so stepping on a certain tile will take the player to a different location

#

oh and a menu but I have the code for a menu

covert otter
#

Sounds dope!!!

umbral dirge
#

Would I be able to dm and ask about moving to a new level tomorrow? I can try to search online again but last time it took me almost four hours to figure out a walk cycle qwq

#

but yeah thank you soooo much

covert otter
#

Dont private DM if i did that for everyone it would be never ending lol

#

But if ur in the server tommorow ill try and help

umbral dirge
#

so real lol I will definitely be back

#

I just need a break from this tonight haha

covert otter
#

But again bro try and take some coding courses first

#

Learn some of the basics itll make making the game alot easier

#

And yeah its good to take breaks

#

At least u get it working !!

umbral dirge
#

Yeah I'm only in week 4? of the one im in now

#

Yeah !!

covert otter
#

Give urself a pat on the back frfr

umbral dirge
#

sobsob ty