Danil Alexeev c492e5fd73 Update some GDScript files for Godot 4.3 (#1129) 3 weeks ago
..
decorations 4d01a2678f Port demos with remade art assets to Godot 4 (#922) 9 months ago
player c492e5fd73 Update some GDScript files for Godot 4.3 (#1129) 3 weeks ago
screenshots 4d01a2678f Port demos with remade art assets to Godot 4 (#922) 9 months ago
tileset 4d01a2678f Port demos with remade art assets to Godot 4 (#922) 9 months ago
README.md b4c73f4888 Fix README links to asset library (#1078) 5 months ago
dungeon.tscn 4d01a2678f Port demos with remade art assets to Godot 4 (#922) 9 months ago
icon.webp 4d01a2678f Port demos with remade art assets to Godot 4 (#922) 9 months ago
icon.webp.import 4d01a2678f Port demos with remade art assets to Godot 4 (#922) 9 months ago
project.godot 31d1c0c112 Remove old and unused project settings, update various demos for 4.2 (#1024) 8 months ago

README.md

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/2718

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