• Stars
    star
    3,655
  • Rank 12,097 (Top 0.3 %)
  • Language
  • License
    Other
  • Created almost 9 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Unreal.js: Javascript runtime built for UnrealEngine

Unreal.js

Unreal.js is a plug-in which brings V8-powered Javascript into UnrealEngine.

Installation

  • Search unreal.js on the epic marketplace
  • Manual installation
  1. git clone https://github.com/ncsoft/Unreal.js-core <YourProject>/Plugins/UnrealJS
  2. cd <YourProject>/Plugins/UnrealJS && ./install-v8-libs

Features

  • Powered by latest V8 (ES6)

  • CommonJS modules

  • Full access to the whole UnrealEngine API

  • Free to subclass existing classes including blueprint

  • Live reload

  • Communicate with outer world: REST(http), process(pipe), arraybuffer, ...

  • Bridge API for editor extension

  • Auto-completion for Visual Studio Code (auto-generated *.d.ts)

  • Debugging within Visual Studio, Visual Studio Code, WebStorm and all IDE which supports V8 protocol

  • Profiling supported by V8

  • Dedicated Javascript console on UnrealEditor

  • (Full) access to existing javascript libraries via npm, bower, ...

Dummy demo

Tutorials & documentation

License

  • Licensed under the BSD 3-Clause "New" or "Revised" License
  • see LICENSE for details

Examples

2048

Springy

Editor extension

Create a new actor

let myActor = new Actor(GWorld,{X:10,Y:20,Z:30});
myActor.SetActorLocation({X:40,Y:80,Z:120});

Subclass an existing class

class MyActor extends Actor {
  properties() {
    this.MyProp/*EditAnywhere+Replicated+int*/;
  }
  RPC(x/*int*/) /*Server+Reliable*/ {
    console.log('This function is replicated',this.MyProp++);
  }
}
let MyActor_C = require('uclass')()(global,MyActor);
if (GWorld.IsServer()) { 
  new MyActor_C(GWorld);
}

Node.js like

let _ = require('lodash');
let kick = () => {
  console.log("Hello timer!",_.keys(this));
  setTimeout(kick,1000);
};
kick();

More Repositories

1

React-UMG

A React renderer for Unreal Motion Graphics With Unreal.js
JavaScript
272
star
2

Unreal.js-core

Unreal.js plugin submodule
C++
260
star
3

avocodo

Official implementation of "Avocodo: Generative Adversarial Network for Artifact-Free Vocoder" (AAAI2023)
Python
149
star
4

Unreal.js-demo

Demo project for unreal.js
JavaScript
131
star
5

promotionImpact

R package for promotion effect analysis
R
46
star
6

PhonMatchNet

Official implementation of "PhonMatchNet: Phoneme-Guided Zero-Shot Keyword Spotting for User-Defined Keywords" (INTERSPEECH 2023)
Python
35
star
7

rotated-box-is-back

Accurate Box Proposal Network for Scene Text Detection
C++
31
star
8

rescue_drone_dataset

30
star
9

PCM-A10-SSL

Sound Source Localization for PCM-A10 Microphone
28
star
10

drone-robust-gender-classification

์ธ๋ช… ๊ตฌ์กฐ์šฉ ๋“œ๋ก ์„ ์œ„ํ•œ ์Œ์„ฑ ํ™”์ž ์ธ์ง€ ๊ธฐ์ˆ 
27
star
11

v8

modified v8 for unreal.js
C++
18
star
12

oss-basic-training

oss training materials and scripts
18
star
13

osc-enterprise-ko

Korean summary of "Open Source Compliance In The Enterprise (2nd Edition)"
13
star
14

ncstreamer

A Windows application for live-streaming.
C++
10
star
15

wamp-scala

Implementation of WAMP in Scala
Scala
7
star
16

ncresearch

NC NLP Techblog. NC์˜ NLP๊ฐ€ ์—ด์–ด๊ฐˆ ๋„์ „๊ณผ ๋ณ€ํ™”๋ฅผ ์†Œ๊ฐœํ•ฉ๋‹ˆ๋‹ค.
SCSS
6
star
17

PurpleLive

C++
5
star
18

mpWAV-Sound-Source-Localization

5
star
19

Sound-Source-Localization

5
star
20

ncstreamer-remote

NC Streamer Remote is a Windows dll with which game applications can control NC Streamer remotely via WebSocket protocol.
C++
5
star
21

argew

Implementation for "Node Embedding for Homophilous Graphs with ARGEW: Augmentation of Random walks by Graph Edge Weights"
Python
4
star
22

Align-to-Distill

Official implementation of "Align-to-Distill: Trainable Attention Alignment for Knowledge Distillation in Neural Machine Translation" (LREC-COLING 2024)
Python
4
star
23

Unreal.js-packages

3
star
24

bns2-fonts

๋ธ”๋ ˆ์ด๋“œ&์†Œ์šธ2 ๊ณต์‹ ์„œ์ฒด
3
star
25

timesuperin

R library for time series data modeling
R
2
star
26

TimeCriticalResponse

2
star
27

harim_plus

Evaluating Summary Quality with Hallucination Risk
1
star
28

ParameterizedMotion

1
star