/Capsian-Engine

Primary LanguagePythonOtherNOASSERTION

Contributors Forks Stargazers Issues MIT License

Capsian Engine

Capsian is a weird, incomplete and performant Python game engine. The project was initially named "KeyFire Engine" but was later renamed to Capsian due to trademark related issues.

Report Bug || Request Feature

Table of Contents

Performance

The latest version of Capsian brings with it numerous improvements to performance. Previous versions struggled to handle over 500 non-batched objects in a scene. This version, though, with the new clock and ticking mechanics, pushes performance to the sky: with an average of 2000 FPS at 5120x2880 and 4700FPS at 1280x720. You can read the code in files "Capsian/video/scene.py" , "Capsian/video/window.py" and "Capsian/world/clock.py" to find out what makes it so performant.

ALL TESTS WERE CONDUCTED ON A GTX 1080 AND INTEL CORE i7 8700K 3.70GHz (Windows 10)

Snow

Forest

Built With

Languages

Capsian uses Python as both its scripting language and its source language (TCL, C, C++ and the others you see on the right come from libs and the venv). Until a while ago, there was also support for a custom parsed language called "tzylang", but it's since been removed due to parsing related issues. Other scripting languages will probably be added in the futures (C# Being my main focus), but for now this is what you get.

Requirements

To get the libs, just run the `prepare.py` file. To build an executable, just run the `app build` command in Capsianline (`console.py`) and wait. It should be able to build for any desktop platform given that you're running on such platform.

Capsianline will be your best friend while using Capsian. You can use it to run, debug and build your game among other things.

  • Debug: app debug
  • Run: app run
  • Build: app build You can also use the package install command to install packages

Older Versions

See the open issues for a list of proposed features (and known issues).
You can find all older versions of Capsian (KeyFire) at: here

License

Distributed under the Pyglet license and the Apache license. See LICENSE.txt for more information.

Contact

Tzyvoski: E-mail
Project Link: Link

Acknowledgements