项目
在 GitHub 查看
maxon887/Cross
maxon887/Cross has 31 GitHub stars and 3 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-12 11:59 UTC. Last push 2026-07-31.
Cross++ Lightweight Crossplatform Game Engine
可以做什么
- Entity-Component system and scene management
- Renderer with materials, lighting and model loading
- Lightweight and fast. Distributable binaries and assets weight around 1.5mb
- Crossp-platform input system
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 更新延迟
- 1个月
- 更新延迟
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Cross++
Is a lightweight cross-platform game engine. Written mostly on C++. Main purpose of this engine to be easy to learn, read and understand.
Questions can be asked via facebook instagram
Supported Platforms
Windows, MacOS, Linux, Android, iOS
Build Status
Demo Project
Demo project can be found in Demo/Projects/{TargetPlatfor} directory.
Features
- Entity-Component system and scene management
- Renderer with materials, lighting and model loading
- Lightweight and fast. Distributable binaries and assets weight around 1.5mb
- Crossp-platform input system
- Audio system
- Documented most part of code
- Base scene, material and shaders editor
- Event System
- Assert System. Allowing stop or skip broken code fragments
- Memory Manager
- Function Holders. Provides ability to bind to any method or function and call it later on demand
- Propereties. Aka Reflection support for basic types. Сonvenient for editor and load/save functionalities
- Factory for lazy objects creation added
Tutorials:
- Introduction and Windows Setup: https://www.youtube.com/watch?v=tnp09QB5sak
- MacOS and iOS Setup: https://www.youtube.com/watch?v=NiSvKbGyHXU&t=2s
- Linux and Android Setup: https://www.youtube.com/watch?v=GuREvKJUGho
Screenshot Gallery

Axis Orientation
Cross is left-anded, Y-up asix oriented. Meaning X - pointing to the right, Y - pointing up, Z - pointing in front of camera.
New Game Creation
In order to create new game you must do 3 things.
- Create inherit class from Screen which will be reflection of you current game screen like "Menu", "Level 1", "Monkey Boss" etc. Every game needs at leas one screen to display. Most likely you will override virtual Screen function
void Update(float sec);to provide game drawing or state updating mechanism or any your custom stuff. - Create inherit class from Game which will be reflection of you game. You must override one pure virtual function called
virtual Screen* GetStartScreen() = 0;to lets Game know which Screen you want to play first. This class usually contains general game information. Like saves, configuration available screens etc. - Last thing to do is Create template function that returns you game to engine environment. This function declaration contains in Cross.h. Example of this function may looks like this:
Game* CrossMain(Launcher* launcher){
Game* superCoolGame = new YourSuperCoolGame(launcher);
return superCoolGame;
}