A downloadable game

Download NowName your own price

This script is a player controller for the Godot game engine. It allows the player to move around using the WASD keys, jump using the spacebar, and rotate the camera using the mouse. The script includes basic movement, jumping, and camera rotation functionality, as well as gravity and air control.

To create a simple enemy that moves towards the player, you can use a similar script with some modifications. Here is an example of an enemy script that moves towards a player node named “Player” and is affected by gravity the code of the enemy is in the downloads

Download

Download NowName your own price

Click download now to get access to the following files:

Player.tscn 889 bytes
player_.gd 1 kB
Enemy.gd 475 bytes
Enemy.tscn 240 kB

Leave a comment

Log in with itch.io to leave a comment.