We’re happy to release our first free and open-source demo for Godot 4! This demo contains a 3D character controller inspired by games like Ratchet and Clank or Jak and Daxter. You can copy the character to your project as a plug-and-play asset to prototype 3D games with and build upon.
It features a character that can run, jump, make a melee attack, aim, shoot, and throw grenades.
There are two kinds of enemies: flying wasps that fire bullets and beetles that attack you on the ground. The environment comes with breakable crates, jumping pads, and coins that move to the player’s character.
This project requires at least Godot 4 beta 7 to work. There are some known issues in various beta releases.
How do I use the player character in my game?
Copy the following folders into the root of your project:
Player
: contains the main Player assets and scenes.shared
: contains shaders used by the player asset.
The following Input Map
actions are needed for the Player.tscn
to work:
move_left, move_right, move_up, move_down
: move the character according to the camera’s orientation.camera_right, camera_left, camera_up, camera_down
: rotate the camera around the character.jump, attack, aim, swap_weapons
: Action buttons for the character.
The Player.tscn
scene works as a standalone scene and doesn’t need other cameras to work. You can change the player UI by changing the Control
node inside Player.tscn
.
License:
All code is MIT-licensed, and assets are CC-By 4.0 GDQuest (https://www.gdquest.com/).
You can find the source code on the GitHub repository.
Made by
Nathan Lovato
GDQuest founder. Courteous designer with a taste for Free Software. I promote sharing and collaboration.