pandemonium_demo_projects/2d/layered_tile_maps/isometric
2024-03-10 12:12:54 +01:00
..
decorations Added the new godot 4 demos that use the new tile map. They still need to be updated / proted. 2024-03-10 12:12:54 +01:00
player Added the new godot 4 demos that use the new tile map. They still need to be updated / proted. 2024-03-10 12:12:54 +01:00
screenshots Added the new godot 4 demos that use the new tile map. They still need to be updated / proted. 2024-03-10 12:12:54 +01:00
tileset Added the new godot 4 demos that use the new tile map. They still need to be updated / proted. 2024-03-10 12:12:54 +01:00
dungeon.tscn Added the new godot 4 demos that use the new tile map. They still need to be updated / proted. 2024-03-10 12:12:54 +01:00
icon.webp Added the new godot 4 demos that use the new tile map. They still need to be updated / proted. 2024-03-10 12:12:54 +01:00
icon.webp.import Added the new godot 4 demos that use the new tile map. They still need to be updated / proted. 2024-03-10 12:12:54 +01:00
project.godot Added the new godot 4 demos that use the new tile map. They still need to be updated / proted. 2024-03-10 12:12:54 +01:00
README.md Added the new godot 4 demos that use the new tile map. They still need to be updated / proted. 2024-03-10 12:12:54 +01:00

Isometric Game

This demo shows a traditional isometric view with depth sorting.

A character can move around the level and will also slide around objects, as well as be occluded when standing in front or behind them.

Language: GDScript

Renderer: Compatibility

Check out this demo on the asset library: https://godotengine.org/asset-library/asset/112

How does it work?

The level uses a TileMap in which the tiles have different vertical offsets. The walls, doors, and pillars each have StaticBody2D and CollisionPolygon2D at their base. The player also has a collider at its base, which makes the player collide with the level.

2D lighting effects are achieved using a mixture of PointLight2D nodes (which provide real-time shadows) and pre-placed Polygon2Ds with sprites. To provide additional ambient shading, the goblin also has a blob shadow below its feet (a Sprite2D with a texture).

Screenshots

Screenshot