Ecosyste.ms: Awesome

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

https://github.com/getnamo/UnrealJs

Unreal.js plugin embedding v8.
https://github.com/getnamo/UnrealJs

javascript ue4 ue5 unreal v8

Last synced: 25 days ago
JSON representation

Unreal.js plugin embedding v8.

Lists

README

        

# Unreal.js Plugin - getnamo fork

Some opinionated changes to add certain features for live gameplay coding. Not all upstream functionality is guaranteed, but best effort is used when upgrading engine versions.

See upstream for wiki/instructions, API is largely the same: https://github.com/ncsoft/Unreal.js

## Fork Changes

### Async

Call a function on a background thread and optionally expose communication bridges auto-magically.

[![example.png](https://i.imgur.com/ozenYI8.png)](https://twitter.com/getnamo/status/1276977110762979328)

Format is
```Async.Lambda( capture params, function, result callback );```

See https://github.com/getnamo/UnrealJs/blob/master/Content/Scripts/async.js for detailed API.

### JavascriptInstance

A javascript component with more fine-grained control over features exposed to js. Can also re-use contexts and isolates.

[![exposure.png](https://i.imgur.com/cZsjeRn.png)](https://twitter.com/getnamo/status/1271772156611817472)

See https://github.com/getnamo/UnrealJs/blob/master/Source/V8/Public/JavascriptInstanceComponent.h for detailed API.

### UModule Package Manager

Should enable 'require' like include with code and asset support and simple external package management for modular development.

WIP: https://github.com/getnamo/UnrealJs/tree/feature-umodule