Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yoshi-roberts/shraybn-legacy

A cross platform game engine for narrative games.
https://github.com/yoshi-roberts/shraybn-legacy

Last synced: about 1 month ago
JSON representation

A cross platform game engine for narrative games.

Awesome Lists containing this project

README

        





A cross-platform game engine for creating narrative and story focused games.


## About

Shraybn uses **Lua** for scripting game code, as well as **Shrift**, a custom scripting language for interactive dialogue.
Targets OpenGL, DirectX, and Metal.

### Shrift

```
# Comment.
$is_tired false # Define a variable.

@ Start # Create a dialogue "location."

# Dialogue.
Charles: Hey there!
Charles: What are you doing?

# Choices.
- Errands.

I neede a few things.
# Check if the variabls "is_tired" is true.
= $is_tired true
They get pretty exhausting!
;
~ Errands # Jump to the "Errands" location.

- Not much.

I'm just taking a walk!
~ Not Much # Jump tp the "Not Much" location.

@ Errands

Charles: Oh, me too!
Charles: I'm picking up some flowers for my mother.

@ Not Much

Charles: Nice!
Charles: Great weather for it.
```

### Libraries

Shraybn makes use of the following open source libraries:

[log](https://github.com/rxi/log.c)

[rres](https://github.com/raysan5/rres)

[cglm](https://github.com/recp/cglm)

[sokol](https://github.com/floooh/sokol)

[nuklear](https://github.com/Immediate-Mode-UI/Nuklear)