Grow your YouTube channel like a PRO with a free tool
Get Free YouTube Subscribers, Views and Likes

Isometric game using SpriteKit - EP02: Elevation

Follow
thedreamweb

This episode adds a third dimension to our map. So we can really use that pseudo 3D effect.
Next episode we will rotate the map at will.

The goals of this project are to:

Show how to create an isometric map using Swift and SpriteKit
The map should include elevation, panning, zooming and rotating
Show how to use animations in SpriteKit
And how to generate them from 3D models (requires additional software)
Resolve effects over time based on animations
Use Dijkstramaps for movevement and ability ranges and path finding

Code on GitHub: https://github.com/maartene/IsoTutorial

Used assets:
This project uses the Isometric Tiles Template for 32x32 pixel art by @javikolog (https://route1rodent.itch.io/isometri...)

00:52 1. Add 3rd dimension
02:15 2. Implement 3rd dimension in code
09:10 3. Heightmap in the scene
11:44 4. Calculating zPosition correctly
22:10 5. Use calculated zPosition in GameScene

posted by Kemahi9