Skip to content

Demo game using Blender, Sketchfab, Quaternius models, TCastleMoveAttack. For presentation as "Zlot Programistów Delphi" at 2024

License

Notifications You must be signed in to change notification settings

castle-engine/conference-zlot-delphi-2024

Repository files navigation

Test Game Using Blender, Sketchfab, Quaternius models, TCastleMoveAttack

Demo project for presentation at Zlot Programistów Delphi 2024.

Slides (in Polish): https://castle-engine.io/zlot2024 .

Features

This demonstrates creating a simple 3D FPS game, from start to finish. The level, creatures, and win/lose views have been done using:

  • Castle Game Engine editor

  • Blender (to design base level geometry)

  • Sketchfab (to add additional props to the level)

  • Quaternius models (to add animated enemies)

  • TCastleMoveAttack (for ready logic of moving enemies and player hit points),

  • TCastleWalkNavigation (for ready handling of AWSD and similar keys, typical for FPS games).

Controls:

  • Walk using AWSD keys,
  • rotate by holding right mouse button and moving the mouse,
  • shoot by clicking with left mouse button.

The Pascal code (most in GameViewMain unit) adds logic to

  • Activate mouse look when right mouse button is pressed,

  • Show "game win" view when player reaches a certain place in the level,

  • Show "game over (lost)" view when player life drops to zero,

  • Show player life (hit points),

  • Shoot enemy on mouse click.

Do you want to see something more?

Screenshots

Screenshot

Level design in Blender Level design in Blender and Castle Game Engine Level design in Blender and Castle Game Engine

Run designed game

Adding Sketchab assets 1 Adding Sketchab assets 2

Game win

3D assets credits and licenses

Using Castle Game Engine.

Building

Compile by:

  • CGE editor. Just use menu items "Compile" or "Compile And Run".

  • Or use CGE command-line build tool. Run castle-engine compile in this directory.

  • Or use Lazarus. Open in Lazarus game_3d_standalone.lpi file and compile / run from Lazarus. Make sure to first register CGE Lazarus packages.

  • Or use Delphi. Open in Delphi game_3d_standalone.dproj file and compile / run from Delphi. See CGE and Delphi documentation for details.

About

Demo game using Blender, Sketchfab, Quaternius models, TCastleMoveAttack. For presentation as "Zlot Programistów Delphi" at 2024

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages