Skip to content
프로젝트

소개

kotlin-unreal: Use the amazing Kotlin language with Unreal Engine 4 and 5

게임 및 에뮬레이션

이 수치를 측정하는 방법

What you can do

  • Access to all Blueprint functions and classes
  • A KotlinComponent attachable to an actor to control its behavior
  • Interoperation between variables and functions defined at the Blueprint level
  • Customizable Hot Reload: Apply code updates to everything or to the actors you're interested in, while in play mode.

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

kotlin-unreal

kotlin-unreal: Use the amazing Kotlin language with UnrealEngine 4 and UnrealEngine 5

Uses Unreal.js wich is a Javascript runtime built for UE4 and UE5

Features

  • Access to all Blueprint functions and classes
  • A KotlinComponent attachable to an actor to control its behavior
  • Interoperation between variables and functions defined at the Blueprint level
  • Customizable Hot Reload: Apply code updates to everything or to the actors you're interested in, while in play mode.

Prerequisites

Unreal 4.26.1 - 4.27.2 or Unreal 5.0.0 - 5.0.1, but may work with other versions too.

Being able to build and run a Unreal C++ project and having all its dependencies installed.

IntelliJ IDEA Community: https://www.jetbrains.com/idea/download/

Installation

If you can't find it in the Unreal Marketplace, you can install it manually following this instructions: https://github.com/ncsoft/Unreal.js/

  • Clone or download this repository.

    Optionally change to a branch matching your engine version:

    master branch will always be updated with the latest Unreal Engine version

    Unreal Engine 5

    UE5.0.1

    Unreal Engine 4

    UE4.27.2, UE4.27.1, UE4.26.1

  • You should be able to right click the file "KotlinUnreal.uproject" and select "Launch Game"

  • You might be asked to recompile or update the project to your engine version and after that you should be seeing the First Person Game example.

Check out the map examples

Open the project with the Unreal Editor and open and play the maps located on the Maps directory inside the Content folder. Some of them might look empty at first, but the Kotlin magic will fill them with surprises when you get into the Play mode.

WIKI

Check out the wiki for details, tutorials and guides:

https://github.com/hiperbou/kotlin-unreal/wiki

VIDEOS

Playlist on Youtube

https://youtube.com/playlist?list=PLJm5YzQnui1RfCue2NJtEKDSAJf-Kh0WG

Code examples

First Person Game example (watch on Youtube):

https://github.com/hiperbou/kotlin-unreal/blob/master/kotlin-examples/src/examples/game/Game.kt First Person Shooter example video

Hello World example:

https://github.com/hiperbou/kotlin-unreal/blob/master/kotlin-examples/src/examples/hello/HelloKotlin.kt

Rotating cubes example:

https://github.com/hiperbou/kotlin-unreal/blob/master/kotlin-examples/src/examples/cubes/WhiteRotatingCube.kt

Adventure example (Kotlin Coroutines):

https://github.com/hiperbou/kotlin-unreal/blob/master/kotlin-examples/src/examples/adventure/InteractiveCube.kt

First Person example:

https://github.com/hiperbou/kotlin-unreal/blob/master/kotlin-examples/src/examples/firstperson/FirstPerson.kt

Third Person example:

https://github.com/hiperbou/kotlin-unreal/blob/master/kotlin-examples/src/examples/thirdperson/ThirdPerson.kt

Scene Lights example:

https://github.com/hiperbou/kotlin-unreal/blob/master/kotlin-examples/src/examples/scenelights/SceneLights.kt

Hello Blueprints example:

https://github.com/hiperbou/kotlin-unreal/blob/master/kotlin-examples/src/examples/blueprint/HelloBlueprints.kt

Hello Blueprint example:

https://github.com/hiperbou/kotlin-unreal/blob/master/kotlin-examples/src/examples/blueprint/HelloBlueprint.kt

관련 프로젝트 살펴보기

불러오는 중…