ncsoft/Unreal.js
소개
Unreal.js: Unreal Engine용으로 구축된 JavaScript 런타임
프로그래밍 언어 및 런타임What you can do
- Powered by latest V8 (ES6)
- CommonJS modules
- Full access to the whole UnrealEngine API
- Free to subclass existing classes including blueprint
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- -1
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalUnreal.js
Unreal.js is a plug-in which brings V8-powered Javascript into UnrealEngine.
- Link to Demo project
- Link to the Unreal Engine Marketplace (4.11-4.27, 5.0-5.1)
- Update notes
- Link to NDC 2017 presentation (KR)
- Link to NDC 2017 presentation Video (KR)
- Support Platform : Win64, Mac, Linux, Android, iOS
Installation
- Search unreal.js on the epic marketplace
- Manual installation
git clone https://github.com/ncsoft/Unreal.js-core <YourProject>/Plugins/UnrealJScd <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
- Very simple demo available (https://github.com/ncsoft/Unreal.js/archive/snippet-editor.zip)
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();
관련 프로젝트 살펴보기
불러오는 중…


