article thumbnail

D2 log 057 – Tiles, pt.2

Catnip Games

I made a “master sheet” with all the tiles to keep things organized. I implemented a new material system for tiles. In addition to the visible texture, each tile had a lower resolution bitmap which defined the material at a given spot. I got rid of that and switched to a polygon based approach which plugs into Box2D.

Tile 52
article thumbnail

How to programmatically access to assets when in `executeInEditMode`

Cocos

the idea is to use a data.json as entry point and parse it to build different nodes with attached images and polygon colliders so that the user can add its own script to every layer. You already do a similar thing with Tiled tile maps. I’m trying to write a script to import assets from DLtk export and I need some advice.

Asset 52
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Dev snapshot: Godot 4.0 beta 10

Mircosoft Game Dev

Some of the most notables feature changes in this update are: 2D: Simplify isometric tile shape polygon in TileSet to 4 vertices ( GH-70238 ). Navigation: Use TileSet navigation layer layers when TileMap generates navigation polygons ( GH-69349 ). See the list of PRs with the breaks compat label for details.

Beta 101
article thumbnail

Dev snapshot: Godot 4.0 beta 9

Mircosoft Game Dev

Editor: Add one-way indicator to tile collision editor ( GH-67283 ). Editor: Improve tile editor selection appearance ( GH-60892 ). If you have existing scenes and resources with navigation polygons and meshes, you might want to skip beta 9 and wait for beta 10 in a few days so that your scenes and resources are ported seamlessly.

Beta 99
article thumbnail

Godot 1.1 beta1 is out!

Mircosoft Game Dev

2D Shadows with Polygonal Occluders. Improved Isometric TileMap Support (proper Z ordering of tiles and children nodes). New 2D Navigation Polygon support, for efficient 2D pathfinding. Navigation Polygons can be edited visually and combined, disabled, etc. 2D Materials. 2D Independent Z ordering per-node.

Polygon 52
article thumbnail

Dev snapshot: Godot 4.0 beta 10

Mircosoft Game Dev

Some of the most notables feature changes in this update are: 2D: Simplify isometric tile shape polygon in TileSet to 4 vertices ( GH-70238 ). Navigation: Use TileSet navigation layer layers when TileMap generates navigation polygons ( GH-69349 ). See the list of PRs with the breaks compat label for details.

Beta 78
article thumbnail

Dev snapshot: Godot 4.0 beta 9

Mircosoft Game Dev

Editor: Add one-way indicator to tile collision editor ( GH-67283 ). Editor: Improve tile editor selection appearance ( GH-60892 ). If you have existing scenes and resources with navigation polygons and meshes, you might want to skip beta 9 and wait for beta 10 in a few days so that your scenes and resources are ported seamlessly.

Beta 75