Solarus Forum

Solarus => Development => Topic started by: Starlock on August 10, 2017, 06:23:19 pm

Title: Multiple ground sprites?
Post by: Starlock on August 10, 2017, 06:23:19 pm
Is it possible to have multiple ground sprites for the same ground? Like if you have grey grass and green grass you would have different ground sprites for the hero depending on which color grass you are in.
Title: Re: Multiple ground sprites?
Post by: froggy77 on August 30, 2017, 11:19:26 am
I am interested in this question. If I understand, you want to know how to have different animations for the hero when he walks on the same kind of grounds in a same map.
Title: Re: Multiple ground sprites?
Post by: MetalZelda on September 01, 2017, 12:13:42 am
Should be fairly possible with greyscaled sprite

This is the cheapest solution I have in mind
Title: Re: Multiple ground sprites?
Post by: Diarandor on September 04, 2017, 05:49:51 pm
It will be doable with Solarus 1.6 with the new feature of custom grounds. I think there are no decent workarounds at present since there is no way to get the ground pattern ids.

I think we should refer to these "sprites" as "ground animations" or "ground animation effects" (or something like that) to be clearer.
Title: Re: Multiple ground sprites?
Post by: froggy77 on September 04, 2017, 09:49:41 pm
Quote
It will be doable with Solarus 1.6 with the new feature of custom grounds.
  Trop fort!  Merci. Thank you to the team.