Add Auto-Tiling System #15

Open
opened 2023-02-02 18:18:25 +01:00 by kayomn · 1 comment
Owner

Idea prompted by @lextredis.

Requirements to be specified.

Idea prompted by @lextredis. Requirements to be specified.
kayomn added this to the Editor Iteration 1 milestone 2023-02-02 18:18:25 +01:00
Author
Owner

As discussed with @lextredis, the new tiling system will leverage distinct layers to allow to customizability where it makes sense while streamlining much of the logic that is currently implemented to handle the placement of tiles.

For starters, floor tiles and wall tiles will now be distinct from another. An interior map may only use one floor tile set to design the entire interior, while many walls may be mixed and matched however the designer desires.

This gives two immediate benefits:

  • Floors can now be auto-tiled in a trivial manner.
  • Whether a tile contains a floor and whether it contains a wall are now distinct conditions, making path-finding and collision checking more customizable on a per-case basis.
As discussed with @lextredis, the new tiling system will leverage distinct layers to allow to customizability where it makes sense while streamlining much of the logic that is currently implemented to handle the placement of tiles. For starters, floor tiles and wall tiles will now be distinct from another. An interior map may only use one floor tile set to design the entire interior, while many walls may be mixed and matched however the designer desires. This gives two immediate benefits: * Floors can now be auto-tiled in a trivial manner. * Whether a tile contains a floor and whether it contains a wall are now distinct conditions, making path-finding and collision checking more customizable on a per-case basis.
Sign in to join this conversation.
No Label
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: protectorate/game#15
No description provided.