Log In  
Follow
noesisra

Cart #dual_grid_noesisra_0-0 | 2024-09-05 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
3


This is my attempt to simplify the dual-grid concept for pico8, and come up with a reduce tile set that works with map to make level design and edits easy and fast.

Inspired by the video https://www.youtube.com/watch?v=jEWFSv3ivTg by Jess::codes. check it out for a great breakdown of the dual-grid concept.

The full tile set needs 16 tiles (14 edges, 2 solid). I figured that by rearranging them into a single row in the sprite sheet I could use a single offset number instead of a lookup table.
since only 4 bits are needed for an offset of 16 and in the dual-grid 4 corners are checked, using the corresponding binary number to determine placement order. 0000 for base and 1111 top. check out the following image for placement.

[ Continue Reading.. ]

3
2 comments