#How to fix scenes not allowing me to place them directly adjacent to each other?

2 messages · Page 1 of 1 (latest)

cursive raptor
#

changing y sort, changing the rounding method for mouse pos and changing other settings has so far yielded no results

keen ocean
#

I guessed it has to do with the global mouse and the stepify, a few things could go wrong:

  1. The global position of the mouse is vastly different than a local position, consider using tilemap.to_local(mouse_pos) before stepifying
  2. The stepify snaps the position at the edge of the tile consequently putting it on another tile

Finally: I would consider using tilemap.world_to_map to interact more precisely instead of to_local or stepify.