Hugo Locurcio 51fadd795c Link C# version in Squash the Creeps demo README (#1274) 1 тиждень тому
..
art 14fcc0e133 Update all demo projects for Godot 4.5 and use path-deterministic UIDs (#1258) 1 місяць тому
fonts 14fcc0e133 Update all demo projects for Godot 4.5 and use path-deterministic UIDs (#1258) 1 місяць тому
screenshots b4c73f4888 Fix README links to asset library (#1078) 1 рік тому
.gitignore 71d29dcf3b Add Squash the Creeps (3D) demo 2 роки тому
Main.gd 0343cedd48 General proofreading (#1262) 1 місяць тому
Main.gd.uid 14fcc0e133 Update all demo projects for Godot 4.5 and use path-deterministic UIDs (#1258) 1 місяць тому
Main.tscn 14fcc0e133 Update all demo projects for Godot 4.5 and use path-deterministic UIDs (#1258) 1 місяць тому
Mob.gd 57daa67c23 Fix `look_at_from_position()` usage in Squash the Creeps (3D) (#1165) 1 місяць тому
Mob.gd.uid 14fcc0e133 Update all demo projects for Godot 4.5 and use path-deterministic UIDs (#1258) 1 місяць тому
Mob.tscn 14fcc0e133 Update all demo projects for Godot 4.5 and use path-deterministic UIDs (#1258) 1 місяць тому
MusicPlayer.tscn 14fcc0e133 Update all demo projects for Godot 4.5 and use path-deterministic UIDs (#1258) 1 місяць тому
Player.gd 0343cedd48 General proofreading (#1262) 1 місяць тому
Player.gd.uid 14fcc0e133 Update all demo projects for Godot 4.5 and use path-deterministic UIDs (#1258) 1 місяць тому
Player.tscn 14fcc0e133 Update all demo projects for Godot 4.5 and use path-deterministic UIDs (#1258) 1 місяць тому
README.md 51fadd795c Link C# version in Squash the Creeps demo README (#1274) 1 тиждень тому
ScoreLabel.gd 71d29dcf3b Add Squash the Creeps (3D) demo 2 роки тому
ScoreLabel.gd.uid 14fcc0e133 Update all demo projects for Godot 4.5 and use path-deterministic UIDs (#1258) 1 місяць тому
icon.webp 71d29dcf3b Add Squash the Creeps (3D) demo 2 роки тому
icon.webp.import 14fcc0e133 Update all demo projects for Godot 4.5 and use path-deterministic UIDs (#1258) 1 місяць тому
project.godot 57daa67c23 Fix `look_at_from_position()` usage in Squash the Creeps (3D) (#1165) 1 місяць тому
ui_theme.tres 14fcc0e133 Update all demo projects for Godot 4.5 and use path-deterministic UIDs (#1258) 1 місяць тому

README.md

Squash the Creeps (3D)

This is a simple game where your character must move and jump to squash as many enemies for as long as possible. You gain 1 point for every enemy squashed.

Controls:

  • Up Arrow, W, Gamepad Left Stick: Move up
  • Down Arrow, S, Gamepad Left Stick: Move down
  • Left Arrow, Gamepad Left Stick: Move left
  • Right Arrow, Gamepad Left Stick: Move right
  • Space, Right Mouse Button, Gamepad A/Cross: Jump

This is a finished version of the game featured in the "Your first 3D game" tutorial in the documentation. For more details, consider following the tutorial in the documentation.

This demo covers:

  • Handling player input.
  • Moving and jumping in a 3D game.
  • Spawning enemies randomly around the game arena.
  • Using the built-in animation editor to breathe life to your game.
  • Creating a complete game loop with lose conditions, score, and the ability to restart.

Language: GDScript

Renderer: Forward+

[!NOTE]

There is a C# version available here.

Check out this demo on the asset library: https://godotengine.org/asset-library/asset/2751

Screenshots

Screenshot

Copying

art/House In a Forest Loop.ogg Copyright © 2012 HorrorPen, CC-BY 3.0: Attribution. Source: https://opengameart.org/content/loop-house-in-a-forest

Font is "Montserrat Medium". Copyright 2011 The Montserrat Project Authors. Details are in fonts/LICENSE.txt.