NoelFB / Blah
Licence: mit
A small 2d c++ game framework
Stars: ✭ 212
Programming Languages
cpp17
186 projects
Projects that are alternatives of or similar to Blah
Nico
Nim Game Framework based on Pico-8
Stars: ✭ 254 (+19.81%)
Mutual labels: game-engine, game-framework
Rizz
Small C game development framework
Stars: ✭ 428 (+101.89%)
Mutual labels: game-engine, game-framework
Foster
a simple cross-platform game framework made in C# dotnet core
Stars: ✭ 221 (+4.25%)
Mutual labels: game-engine, game-framework
Gameproject3
游戏服务器框架,网络层分别用SocketAPI、Boost Asio、Libuv三种方式实现, 框架内使用共享内存,无锁队列,对象池,内存池来提高服务器性能。还包含一个不断完善的Unity 3D客户端,客户端含大量完整资源,坐骑,宠物,伙伴,装备, 这些均己实现上阵和穿戴, 并可进入副本战斗,多人玩法也己实现, 持续开发中。
Stars: ✭ 655 (+208.96%)
Mutual labels: game-engine, game-framework
Enduro2d
Yet another 2d game engine of dreams (work in progress)
Stars: ✭ 82 (-61.32%)
Mutual labels: game-engine, game-framework
Goluwa
a game framework written in luajit
Stars: ✭ 173 (-18.4%)
Mutual labels: game-engine, game-framework
zetaframe
lightweight zig game framework.
Stars: ✭ 14 (-93.4%)
Mutual labels: game-engine, game-framework
Excalibur
🎮 An easy to use 2D HTML5 game engine written in TypeScript
Stars: ✭ 892 (+320.75%)
Mutual labels: game-engine, game-framework
Monogame
One framework for creating powerful cross-platform games.
Stars: ✭ 8,014 (+3680.19%)
Mutual labels: game-engine, game-framework
Cl Bodge
Feature-rich game framework for Common Lisp
Stars: ✭ 134 (-36.79%)
Mutual labels: game-engine, game-framework
Html5 Canvas Game Boilerplate
Provides a set of default code that makes getting up and running with an HTML5 canvas game very easy.
Stars: ✭ 182 (-14.15%)
Mutual labels: game-engine, game-framework
Pydark
PyDark is a 2D and Online Multiplayer video game framework written on-top of Python and PyGame.
Stars: ✭ 201 (-5.19%)
Mutual labels: game-engine
Flaxengine
Flax Engine – multi-platform 3D game engine
Stars: ✭ 3,127 (+1375%)
Mutual labels: game-engine
Cocos Game Framework
cocos-creator游戏框架,typescript版本。
Stars: ✭ 201 (-5.19%)
Mutual labels: game-framework
Engine
Cocos Creator is a complete package of game development tools and workflow, including a game engine, resource management, scene editing, game preview, debug and publish one project to multiple platforms.
Stars: ✭ 2,574 (+1114.15%)
Mutual labels: game-engine
Aframe
🅰️ web framework for building virtual reality experiences.
Stars: ✭ 13,428 (+6233.96%)
Mutual labels: game-engine
Deadsimple Pixel Perfect Camera
An exceedingly easy-to-use pixel perfect orthographic camera script for 2D scenes in Unity. Punch in a few specs and you've got a working pixel perfect camera. It's that easy.
Stars: ✭ 186 (-12.26%)
Mutual labels: game-engine
blah
A small 2D C++ Game Framework, using few dependencies and simple code to mainain easy building and portability.
☆ This will likely see breaking changes! Use at your own risk! ☆
building
- Requires C++17 and CMake 3.12+
- Platform Backend
-
SDL2 can be enabled in CMake with
SDL2_ENABLED
, and settingSDL2_INCLUDE_DIRS
andSDL2_LIBRARIES
-
SDL2 can be enabled in CMake with
- Graphics Backend
- Other backends can be added by implementing the Platform Backend or Graphics Backend.
notes
- There's no Shader abstraction, so the Sprite Batcher has hard-coded GLSL/HLSL. This will need to change.
- Only floatN/mat3x2/mat4x4 uniforms are supported.
- There's no Audio API or backend implementation yet.
- No threaded rendering so it will explode if you try that.
- No Audio API implemented yet.
a sample application
#include <blah.h>
using namespace Blah;
Batch batch;
TextureRef tex;
void startup()
{
tex = Texture::create("player.png");
}
void render()
{
App::backbuffer->clear(Color::black);
auto center = Vec2(App::backbuffer->width(), App::backbuffer->height()) / 2;
auto rotation = Time::elapsed * Calc::TAU;
auto transform = Mat3x2::create_transform(center, Vec2::zero, Vec2::one, rotation);
batch.push_matrix(transform);
batch.rect(Rect(-32, -32, 64, 64), Color::red);
batch.tex(tex, Vec2(64, 0), Color::white);
batch.pop_matrix();
batch.render();
batch.clear();
}
int main()
{
Config config;
config.name = "blah app";
config.width = 1280;
config.height = 720;
config.on_startup = startup;
config.on_render = render;
App::run(&config);
return 0;
}
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].