Giter Club home page Giter Club logo
Castle Game Engine photo

castle-engine Goto Github PK

repos: 54.0 gists: 0.0

Name: Castle Game Engine

Type: Organization

Bio: Cross-platform (desktop, mobile, console) 3D and 2D game engine supporting many asset formats (glTF, X3D, Spine...) and using modern Object Pascal

Twitter: castleengine

Blog: https://castle-engine.io/

Castle Game Engine

"Castle Game Engine" is a cross-platform (desktop, mobile, console) 3D and 2D game engine.

Castle Game Engine - editor with terrain

We feature:

  • Powerful visual editor to design 3D and 2D games.

  • A lot of components to design viewport contents (3D and 2D world, using scenes, cameras, navigation, primitives, lights...) and user inteface (buttons, images, labels...).

  • Support for glTF, X3D, Spine and more formats.

  • Composable shader effects, shadows, mirrors, physically based rendering, bump mapping, gamma correction...

  • Fast clean code using modern Pascal.

  • We are free and open-source.

See https://castle-engine.io/features for the complete list of engine features.

Installation and building your first application

See the Installation manual page.

We recommend you download the engine from our downloads, unpack the release and then run bin/castle-editor executable inside.

If you got the source code straight from our GitHub repository then read first Compiling from source.

Usage in short:

  • Our editor is used to design and build your applications.

  • Our build tool is used to build your applications from the command-line.

    Both the build tool and editor use the project settings from the CastleEngineManifest.xml file.

  • You can also use Lazarus.

    Make sure to register in Lazarus our packages. It's easiest to do this using the button "Register Lazarus Packages" in CGE editor "Preferences -> FPC and Lazarus" (see https://castle-engine.io/install ).

    You can install the castle_components.lpk package in Lazarus, to have LCL component TCastleControl (see https://castle-engine.io/control_on_form ).

    You can build the most important CGE packages and tools (editor, build tool) using Lazarus project group called most_important_lazarus_packages_and_tools.lpg.

  • You can also use Visual Studio Code. We feature a Pascal LSP server that can do code completion for Pascal and CGE API.

Documentation

  • Manual is the most recommended way to learn the engine.

  • API reference.

    It is also available offline in the engine archive (if you downloaded the binary engine release), just open the file doc/reference/index.html in your WWW browser.

  • Numerous examples are provided in the examples/ subdirectory.

  • Guide to creating game data.

Support

Questions? Talk to us on forum or Discord chat.

Support us on Patreon.

License

The engine is available on the terms of LGPL >= 2 license with "static linking exception". This is the same license as used by FPC RTL and Lazarus LCL. In short, you can make commercial and closed-source games using the engine, you only have to share your modifications to the engine core.

See license for details.

Have fun!

Authors

This is the life project of Michalis Kamburelis.

Thank you to all the contributors and supporters for making the engine with me throughout the years. Keep it going please :)

Castle Game Engine's Projects

android-freetype icon android-freetype

Easy to compile FreeType library (allows reading font files) for Android, for Castle Game Engine

android-openal icon android-openal

OpenAL compiled for Android, version suitable for Castle Game Engine

bad-chess icon bad-chess

Article and demo game using Castle Game Engine for Blaise Pascal Magazine in 2023

castle-engine icon castle-engine

Cross-platform (desktop, mobile, console) 3D and 2D game engine supporting many asset formats (glTF, X3D, Spine...) and using modern Object Pascal

castle-game icon castle-game

First-person shooter style game in a dark fantasy setting, using Castle Game Engine

castle-image-viewer icon castle-image-viewer

Image viewer and converter using Castle Game Engine, supporting many common image formats (PNG, JPG...) and some exotic ones (DDS, KTX, RGBE)

castle-model-viewer icon castle-model-viewer

Viewer for many 3D and 2D model formats: glTF, X3D, VRML, Collada, 3DS, MD3, Wavefront OBJ, STL, Spine JSON, sprite sheets in Cocos2D and Starling XML formats

castle-model-viewer-mobile icon castle-model-viewer-mobile

Mobile-friendly viewer for 3D models like glTF, X3D, VRML, Collada, Wavefront OBJ, and other formats supported by the Castle Game Engine

cge-blender icon cge-blender

Blender scripts related to Castle Game Engine, X3D, castle-anim-frames

cge-documentation icon cge-documentation

Various documentation (conference papers, thesis) related to Castle Game Engine

cge-fpc icon cge-fpc

FPC (Free Pascal Compiler) version that is easy to distribute together with CGE

cge-scripts icon cge-scripts

Helper scripts common for some Castle Game Engine projects

cge-www icon cge-www

Webpage and maintenance scripts of Castle Game Engine

demo-models icon demo-models

Demo 3D models (mostly in X3D and VRML formats) of view3dscene and Castle Game Engine

doom-effect icon doom-effect

A simple doom-like effect of switching two UI States

effekseer icon effekseer

Fork of Effekseer combined with Castle Game Engine wrapper from https://github.com/Kagamma/cge-effekseer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.