This project demonstrates how to build tap-to-move player controls and direction-based sprite animation entirely in Xogot — the iPad and iPhone port of the Godot game engine.
This tutorial shows how to create a responsive point-and-click movement system using CharacterBody2D, tap input, and directional animation frames rendered through a Sprite2D texture.
- Tap-to-move player controller using touch input
- Automatic movement direction calculation using get_angle_to()
- Directional sprite animation using frames from a single sprite sheet
- Clean, compact code — easy to extend for RPGs, adventure games, or strategy titles
- Works directly on iPad and iPhone via Xogot
- Compatible with Godot 4.x
Watch the full video walkthrough by Jhello on the Xogot YouTube Channel:
Build Tap-to-Move & Directional Sprites in Xogot - Godot on iPad
-
Download or clone this repository:
git clone https://github.com/xogot-projects/Xogot-Tap-to-Move.git
-
Open the project in Xogot on iPad or iPhone.
-
Run the main scene to explore the movement system, or open
player.gdto review the implementation.
Share your results, modifications, and questions with the Xogot community:
Join the Xogot Discord
This project is licensed under the MIT License.