Files
godot-demo-projects/3d/squash_the_creeps
Hugo Locurcio 6424e02ebf Add fallbacks and mention non-working features when using Compatibility or the Web platform (#1132)
- Make 3D lights with shadows darker when using Compatibility to better
  match the appearance of Forward+/Mobile, due to the use of sRGB blending
  for those lights.
- Silence some warnings when running projects with the Compatibility
  rendering method, such as the one about 2D MSAA not being supported.
- Rebake lightmaps in Global Illumination to improve quality and reduce
  light leaking with improvements from 4.3.
  - Increase probe density for dynamic objects, and mark the moving box
    as a dynamic object for GI purposes.

This is done to improve the experience with the web-based demos,
which always run with the Compatibility rendering method.
2025-10-02 10:31:42 -07:00
..
2023-03-13 23:50:10 +01:00
2023-03-13 23:50:10 +01:00
2025-03-21 02:00:41 +01:00
2025-03-21 02:00:41 +01:00
2025-03-21 02:00:41 +01:00
2024-03-25 17:06:52 +01:00
2025-03-21 02:00:41 +01:00
2023-03-13 23:50:10 +01:00
2025-03-21 02:00:41 +01:00
2023-03-13 23:50:10 +01:00

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+

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.