Engine for 3d games, visual novels, etc.

quantumde1 5e365f4fd9 fixed drawing of text 4 weeks ago
conf e038449533 added overlays 1 month ago
himmel_launcher 54ce982e17 fixes 2 months ago
overlays ad2052dcd9 Added overlays 1 month ago
source 5e365f4fd9 fixed drawing of text 4 weeks ago
.gitignore 884bdc434e revert 1 month ago
HIMMEL-LICENSE 1c968005a9 removed hbss, hbs now support if 2 months ago
LIBVLC-LICENSE 1c968005a9 removed hbss, hbs now support if 2 months ago
LUA-LICENSE 1c968005a9 removed hbss, hbs now support if 2 months ago
RAYLIB-LICENSE 1c968005a9 removed hbss, hbs now support if 2 months ago
build.sh ad2052dcd9 Added overlays 1 month ago
dub.json ad2052dcd9 Added overlays 1 month ago
dub.selections.json 8c767b97a2 added gamepad support in lua, fixed models for 6.0, billboard binding 6 months ago
lua53.lib 20b91a048f first on gogs 1 year ago
raylib.lib 54ce982e17 fixes 2 months ago
readme.md ad2052dcd9 Added overlays 1 month ago
screen.png 9c52ca09a1 fixed readme 6 months ago
vlc.lib 20b91a048f first on gogs 1 year ago

readme.md

Himmel Engine

image info

Himmel is an engine for any kind of games(novels, 2d, 3d, etc.), written using Dlang and Lua with custom script format, raylib and libVLC.

Getting Started

Getting needed components

Can be built anywhere, even on Windows, but on Windows you need to find prebuilt libraries for VLC, raylib, etc., and install Dlang compiler.

  1. FreeBSD:

    sudo pkg install ldc vlc dub lua53
    
  2. Alpine:

    doas apk add ldc2 dub vlc-dev vlc lua5.3-dev 
    
  3. Debian:

    sudo apt install dub ldc libvlc-dev liblua5.3-dev vlc lua5.3 build-essential
    

Next, run

. Everything will be done automatically!

## Features

Engine scripts are written in Lua with some raylib direct bindings as well as some custom functions written for visual novels

- Drawing, loading, unloading and stop drawing character and background textures via Lua or HBS/HBSS, with interop between them
- Camera zooming to specific coordinates
- Dialog box with multiple pages and choices, with configurable design using png background 40x32 images
- Custom fonts(PNG format similar to XNA, ttf, otf)
- Very flexible API with direct bindings from raylib, allowing to create any gameplay for any needs
- Graphical effects from multiple PNG images in folder
- Resolution of developer's screen, end-user resolution, render texture resolution, fullscreen, window name, icon, menu script, disable of dialog window background and game script which is started on cold boot.

## Creating overlays

You can write overlays using D's ```-betterC``` mode, using commands like

ldc2 -c -betterC -O0 overlay_example.d -of=overlay.o```


and then passing them to engine like

size_t size; void* code = loadOverlay("./overlay.bin", &size); auto overlayInit = cast(void function())code; ```

Documentation

Not created yet; was done once but then accidentally deleted.

License

raylib(raylib.com) uses zlib/libpng license

himmel engine uses MIT license

VLC(videolan.org) uses LGPL license

lua(lua.org) uses MIT license