A downloadable project

Download NowName your own price

Top-Down Player Script

A basic player script for Godot 4, designed for top-down gameplay. This script allows the player to move using input controls "left, right, up and down", while also enabling up and down movement with corresponding input controls.

The script features a flip-horizontal sprite mechanism, ensuring that the player's animation faces the correct direction based on their movement. Additionally, the `@export` variable for speed enables easy adjustment of the player's movement speed without modifying the script.

This script serves as a foundation for more complex player movements and can be easily integrated into your game project.

Updated 21 days ago
StatusReleased
CategoryOther
Authorroadw2k
TagsGodot, script

Download

Download NowName your own price

Click download now to get access to the following files:

player.gd 912 bytes

Development log