# 2.5D game, how to start?

**URL:** https://forum.castle-engine.io/t/2-5d-game-how-to-start/99
**Category:** Uncategorized
**Created:** [October 10, 2019, 12:28pm UTC](https://forum.castle-engine.io/t/2-5d-game-how-to-start/99 "2019-10-10T12:28:35Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![eugeneloza](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/eugeneloza/32/12_2.png) [@eugeneloza](https://forum.castle-engine.io/u/eugeneloza)
#### Post date: [October 15, 2019, 9:08pm UTC](https://forum.castle-engine.io/t/2-5d-game-how-to-start/99/8 "2019-10-15T21:08:19Z")

</div>

> [@valterb](#):
>
> Isn’t there any demo available that I can use as a reference?

Basically this is a rather specific case (having 3D objects over 2D background). While it was very often used in “early games” like Alone in the Dark, it’s rarely directly used nowadays. Usually if you create a 2D game you create everything in 2D, and if you have 3D elements, then you create everything in 3D as @michalis suggested earlier, by adding the background as a 3D quad and forcing the camera into a specific orientation.

As for examples simply using Lazarus you can check `lazarus` folder in `examples`. E.g. `examples/lazarus/model_3d_viewer/` - you have a TCastleControl together with LCL compnents.

Note, that last unstable version of Castle Game Engine has a very decent Castle Editor, which enables creation of UI almost the same way as Lazarus does, but much more efficiently. However, at the moment it’s still a bit more complex, because you’ll have to load and the designed UI and assign some values (like events) manually. Thou it provides for much better flexibility, e.g. you can cross-compile such program to Android much easier.

---

_[View the full topic](https://forum.castle-engine.io/t/2-5d-game-how-to-start/99)._
