Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I already had my own script but that help as for declaring the moveVelocity variable you needed a x and y and I couldn't find a solution. So thank you

I still have a problem though, the sprite moves down incredibly slowly (tried to change the gravity), it worked but would not touch the ground

(+1)

what i've done is this but the sprite would not touch the ground for some reason 

also I mean moveInput note velocity on the moveVelocity = new Vector2 (moveVelocity...) I mean (moveInput)

I don't think its because of the script though becuase i tested this on another sprite without the script so any suggestions what went wrong?

The box collider is maybe set too low. Try move it up in the editor without also move the sprite.