项目作者: redcodestudios

项目描述 :
A Scripting System for Legion ECS.
高级语言: Rust
项目地址: git://github.com/redcodestudios/legion_script.git
创建时间: 2020-08-26T15:08:30Z
项目社区:https://github.com/redcodestudios/legion_script

开源协议:MIT License

下载


legion_script

An extensible scripting system for Legion ECS.

Introduction

This is result of a year of research and contact with Rust, Amethyst and Legion community. The main goal of this POC is to add scripting capabilities to Legion ECS. Currently it supports Python as scripting langauge but it has an architecture extensible to other languages. This work was based by the Amethyst Scripting RFC.

Features

Currently is possible to define components and create/query entities on Legion using Python.

Running

This is a POC and no effort was made to add multiplatform features. Therefore this crate only works on linux platforms

To run this project you need Rust and Python 3.7 installed. After installing both run this command inside the folder:

$ cargo run --example hello

This will run the example hello.rs that prints various different logs to demonstrate how things are being done.
The script being executed is python/hello.py