Engine for 3d games, visual novels, etc.
|
|
4 weeks ago | |
|---|---|---|
| conf | 1 month ago | |
| himmel_launcher | 2 months ago | |
| overlays | 1 month ago | |
| source | 4 weeks ago | |
| .gitignore | 1 month ago | |
| HIMMEL-LICENSE | 2 months ago | |
| LIBVLC-LICENSE | 2 months ago | |
| LUA-LICENSE | 2 months ago | |
| RAYLIB-LICENSE | 2 months ago | |
| build.sh | 1 month ago | |
| dub.json | 1 month ago | |
| dub.selections.json | 6 months ago | |
| lua53.lib | 1 year ago | |
| raylib.lib | 2 months ago | |
| readme.md | 1 month ago | |
| screen.png | 6 months ago | |
| vlc.lib | 1 year ago |
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.
Can be built anywhere, even on Windows, but on Windows you need to find prebuilt libraries for VLC, raylib, etc., and install Dlang compiler.
FreeBSD:
sudo pkg install ldc vlc dub lua53
Alpine:
doas apk add ldc2 dub vlc-dev vlc lua5.3-dev
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; ```
Not created yet; was done once but then accidentally deleted.
raylib(raylib.com) uses zlib/libpng license
himmel engine uses MIT license
VLC(videolan.org) uses LGPL license
lua(lua.org) uses MIT license