Posts

Post not yet marked as solved
1 Replies
63 Views
Hello! I'm very new to coding and am exploring a basic proof of concept which I can then work off. What I would like to do is a create a grid over a tilemap that can be navigated by a player piece. A simple piece, and my input on the grid would tell the piece to walk toward and stop on the clicked tile. Not bothered with graphics yet. I have dug into the documentation for Xcode, reading the Pathfinding via GameplayKit and SceneKit structures. I have identified that I believe I will need to work with the GKGridGraph, for an integer based grid. I will also obviously need a player controller, utilising touch controls. The first thing I am trying to work out... is how to actually create and implement the GKGridGraph. If anyone could.. explain it like I'm an absolute... dummy, or has some tutorials that will help me with this, it would be greatly appreciated.
Posted Last updated
.