coldbite 1.0.0

Game-Engine in D language with Vulkan, OpenGL and DirectX (9, 10, 11, 12) support.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

[!CAUTION] This Project is currently under development!

Prerequisites

You must installed the D-Language compiler from dlang.org.

For an easy development, we recommend Jetbrains IntelliJ IDEA with d-lang Plugin.

The Plugin works currently not on all Jetbrains IDE's Versions.

Installation

with Git

git clone https://github.com/coldbite/Engine.git

Open the cloned directory with Jetbrains IntelliJ IDEA (Version 2024.2!) and you can start directly.

with D

dub add coldbite

Documentation

![DOCUMENTATION]

Usage

Add the engine to your project & create an basic Example:

import std.stdio;
import core.runtime;
import coldbite;
import std.stdio;

class Game : BaseGame {
	override void initialize() {
		writeln("Game initialized");

		setTitle("Example Game");
		setSize(800, 600);
		//setPosition(-1, -1);
		//setFullscreen(true);

        // [Optional] Set Renderer: Vulkan, OpenGL, DirectX
		setRenderer(RendererType.Vulkan);

		// Init your game
		start();
	}

	override void running() {
		writeln("GameLoop");
        
		// Game-Loop
	}

	override void rendering() {
		writeln("Render");
        
        // Render your things
	}
}

void main() {
	Game game = new Game();
    
    // Init your Game
	game.initialize();
}
Authors:
  • Adrian Preuß
Dependencies:
none
Versions:
1.0.0 2024-Nov-21
~master 2024-Nov-21
Show all 2 versions
Download Stats:
  • 3 downloads today

  • 3 downloads this week

  • 3 downloads this month

  • 3 downloads total

Score:
0.6
Short URL:
coldbite.dub.pm