How to make Tilemap and Shadow Light work together?

Not favoritedFavorited Favorited 0 favourites
  • 2 posts
From the Asset Store
This is a black tileset with 2 tilemaps, props, one animated character and more.
  • Basically, what the tile says. I have a top down game, where I want to have a fog of war where the player only sees where his character is. My plan was to do this with a shadowlight and shadowcaster objects n behaviour on my tilemap, however the tile map isnt rendering the shadows properly.

    The game is a top-down game, where the tilemap are the walls. With the idea that you cant see the next room till your in said room, or atleast peaking in. The shadows are showing, but its generating them per tile almost so theres a break in the tiles.Its not just my project, any time a tile map and Shadow caster are together they tend to mesh instead of work.

    if anyone has a fix, or other ideas please let me know!

    I have and probably will use the simple vision cast addon for now, although its not perfect or collide with the tilemap

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hello.

    Remove the shadow from the tile map itself.

    At the beginning of the level, go through each tile of the tile map and above the tile that should reflect the shadow, spawn a square of the same size, for example, an invisible sprite that will have the behavior of a shadow.

    How to go through each tile is in the examples, if you don't understand, just create those invisible sprites with a shadow by hand.

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)