website-video2.mp4
Work-in-progress of a twin-stick shooter starter kit for Godot 4.
NOTE: Developed in and compatible with Godot 4.3. It looks like that MeshLibrary
is breaking compatibility with 4.2.
Credits and thank you to:
- @kaylousberg for the FREE Kaykit Prototype Bits as a base for the 3D Assets;
- Dialogic2's contributors for their amazing dialogue manager, used for all my dialogues and cutscenes;
- Beehave's contributors for their amazing decision tree add-on, used for my ennemies;
- @kenney for his Input Prompt assets and Interface Sound assets;
Follow me on Twitter/X to get regular updates about the development and coming features:
- Clone or download this repository in a folder
- Open the project in Godot (there will be a lot of errors, because of missing add-ons)
- Click on AssetLib, search for Beehave and install it
- Download Dialogic2 from here
- Unzip, find the
dialogic
folder (in the folderaddons
) and paste it in theres://addons
folder of the Godot project - Go in
Project/Project Settings
, in the tabPlugins
, activate both Beehave and Dialogic - (Optional) For your peace of mind, you might want to reload the project
- Run the Game!
- Character Controller:
- Logic based on a State Machine (inspired from GDQuest tutorials);
- Animation System based on a Blend Tree
- Fully modelled and rigged character
- Support Gamepad or Keyboard (Keyboard + Mouse to be added at some point)
- Camera follows Main Character and can be rotated with RT/LT
- Ennemy with Behaviour Tree based AI;
- Switch system: short switch, long switch, area switch can control enemy spawner and door through a switch hub
- Dialogue, Cutscene and Game Events: discover how to unfold a full story!
- Select between 3 controller schemes (One Stick Controller, Two Stick Controller, Two Stick Auto-Shoot Controller)
- Game Feel: Destructible elements, Hit feedback, Recoil animation (more to come)
- Collision layers are set up to reproduce the
infinite_inertia
property which was dropped in Godot 4 - Debug Layer
Press start
button of your gamepad to open a menu and select between 3 controller schemes:
- One Stick Controller (move with Left Stick, aim with Left Trigger, shoot with B)
- Two Stick Controller (move with Left Stick, aim with Right Stick, shoot with Left Trigger)
- Two Stick Auto-Shoot Controller (move with Left Stick, aim and shoot with Right Stick, Move Camera with RT/LT)
If no Gamepad only the One Stick Controller works at the moment:
- Move with
Arrow
keys - Jump with
Space
key - Aim with
Q
key - Shoot with
W
key (you can only shoot if you are aiming)
Debug Layer which can be toggled with L
key
- Game Feel: adding sounds
- Game Feel: add muzzle and hit VFX
- Add ennemies