• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

hiperbou/kotlin-unreal: kotlin-unreal: Use the amazing Kotlin language with Unre ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

hiperbou/kotlin-unreal

开源软件地址(OpenSource Url):

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

开源编程语言(OpenSource Language):

Kotlin 65.6%

开源软件介绍(OpenSource Introduction):

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.

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




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
pdichone/KotlinCourse发布时间:2022-07-10
下一篇:
ivan-osipov/kotlin-dsl-example: a rich example of Kotlin DSL building发布时间:2022-07-10
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap