/zara

Zara Engine for Survival Games

Primary LanguageC#OtherNOASSERTION

Stand With Ukraine

Zara Survival Engine

MIT License made-with-csharp Unity-tested cryengine-tested godot-tested flax-tested

Platforms

Zara is written in independent C#. Demos available for:

There is also full-featured Zara rewritten from scratch in Rust: it's here if you're interested :)

Download

If you want to download latest Zara release without any demos and optional stuff, visit Releases section.
It is also available in the Unity Asset format: here.

The code in repo represents release v1.06 with no changes on top.

All you need to do to include Zara into your project - is to grab Zara folder with its cs sources, and you're done!

Description

Zara will be useful for you if you want your game to have weather-aware health control with ton of intertwined parameters, sleeping, fatigue, diseases (flu, food poisoning, venom poisoning, angina and so on), injuries (cuts, fractures), food spoiling, water disinfecting, inventory, crafting, clothes with different water/cold resistance levels and more. On a surface, it is really easy to set up and use.

Code is open, so you can customize everything for your particular game needs.

Saving/Loading of the engine state is fully supported: more on it here and here.


Zara is a complete package with full implementation of the inventory system with crafting. Everything, including built-in inventory, will be saved and loaded on your demand, you don't have to worry about this low-level stuff, and you can dedicate more time to the actual game making.


Zara Demo app screen

See wiki for the detailed technical info.

Click to show details

Zara includes:

and more.

Supports the following causes of death:

Drowning
From Disease
Hypothermia
Hyperthermia
From Bad Vitals (too low ot too high blood pressure, too low or high body temp. and so on)
Medicine Overdose
Heart Failure (can be caused by eating incompatible medicine)
Blood Loss (injuries)
Dehydration
Starvation

Zara is talking to your outside game world via events (you can subscribe and listen to them from anywhere).

Zara will not eat your game performance: it is re-evaluating health state and all needed internals only once a second (you can customize this to be any number).

Zara is aware of the game surroundings if provided (air temperature, wind speed, rain intensity, time of day), and will adjust its parameters dynamically (in a hot day water will drain faster; in rainy cold day it is more likely to get flu, and so on.)

Links and Contacts

YouTube Video Tutorial (YouTube): link to the playlist

If you have any technical questions about Zara, contact me: zara-survival (at) imw (dot) su.
Dedicated Unity thread
Dedicated Godot thread

Project is supported by JetBrains Opensource Licensing Program
JetBrains