Top-Down Player Script (Roadw2k)
Top Down Player Script 2D - Godot 4 » Devlog
Summary:
After spending some time experimenting with Godot 4, I've finally gotten around to creating a basic top-down player script that's easy to use and modify. This script allows for intuitive movement controls (left, right, up, down) while also supporting animated sprite flipping.
Key Features:
- Top-Down Movement : Smooth movement in any direction using input controls "left", "right", "up", and "down".
- Animated Sprite Flipping : Automatic sprite flipping to ensure the player's animation faces the correct direction.
- Easy Configuration : Exported
`speed`
variable allows for easy adjustment of player movement speed.
Next Steps:
I'm planning to add additional player scripts in the future for future game dev's to use!
Files
player.gd 917 bytes
13 days ago
Get Top Down Player Script 2D - Godot 4
Download NowName your own price
Leave a comment
Log in with itch.io to leave a comment.