Welcome Forums Requests Let us move tiles dynamically between layers

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #41956
    Marby
    Moderator

    For some situations we need to have tiles on a different layers than by default. This e. g. now and then is the case for shadows. If the hero walks over a higher place than the source of a shadow is located, the shadow must not affect the hero.

    I guess this one would be very difficult to fix it automatically by the engine. This could be an application for an AI. Only an AI would be capable to do stuff like this automatically.

    However, instead of solving it using an AI you could also us give full control of our tiles and their position on the layers by giving us more powerful screenplay.

    #41959
    Marby
    Moderator

    If I’m thinking about it, there is perhaps a method to also solve this without using an AI:
    Give us a height property, indicating the height for every tile on the map and also for the shadows on the map. Using that property the engine easily could determine the height of an actor. Only if the shadow is higher than the actor it needs to be applied.
    It just needs to be a number value. Zero is the ground and everything greater than zero is located higher than the ground. If an actor e. g. is at height four and the shadow is only at height two it does not need to be applied.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Requests’ is closed to new topics and replies.