Author Topic: Multiple ground sprites?  (Read 414 times)

Starlock

  • Jr. Member
  • **
  • Posts: 82
    • View Profile
Multiple ground sprites?
« 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.

froggy77

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Re: Multiple ground sprites?
« Reply #1 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.

MetalZelda

  • Hero Member
  • *****
  • Posts: 511
    • View Profile
Re: Multiple ground sprites?
« Reply #2 on: September 01, 2017, 12:13:42 am »
Should be fairly possible with greyscaled sprite

This is the cheapest solution I have in mind

Diarandor

  • Hero Member
  • *****
  • Posts: 805
  • Cats are cool! (ΦωΦ)
    • View Profile
Re: Multiple ground sprites?
« Reply #3 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.

froggy77

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
Re: Multiple ground sprites?
« Reply #4 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.
« Last Edit: September 04, 2017, 09:54:46 pm by froggy77 »