Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Juice FX

Add animations to your images to make them juicy!. · By CodeManu

Is there a way to squish sprite against a wall?

A topic by NeZvers created Jun 03, 2019 Views: 557 Replies: 5
Viewing posts 1 to 6

Hi!

Sorry really new to JuiceFX and I’d like to make animation of sprite squishing against flat surface (walls, floor, ceiling). I don’t mean simple x scale or y scale.

Thanks!

Developer

Hi there!

Could you please give me more info or some kind of reference, I don't fully understand what you mean.

(1 edit)

Here’s a good example -   https://zackbellgames.com/2014/10/28/understanding-collision-basics/amp/

Developer

You can achieve that effect in JuiceFX, but to get a good result like the one on that website, a collision system is needed in order to be aware of the player surroundings. 

I’m asking only about squish animation not how to trigger it. Can I achieve more flattening to one side as it’s squished to flat surface?

Developer(+1)

Yes, you just need to change the origin point to the collision point.