Skip to content

Jade, CSS, angular.js

Nako Sung edited this page Sep 10, 2016 · 3 revisions

Pseudo angular is deprecated. Stay tuned for React-UMG.

Creating UI for massive multiplayer games are cumbersome because there are so many pages and controls to create and maintain. UI is the domain of Web technologies. Just imagine modern web tech + UMG.

Unreal.js provides jade-umg, so you can layout UMG with jade. :+1: Furthermore, Unreal.js has pseudo-angular.js, which is a (imperfect) clone of angular.js for UMG. Because Unreal.js doesn't have DOM which all browsers have, the wheel was needed to be reinvented.

div(fn.init="value = false")
  text your value is {{value}}
  Button(fn.on-clicked="value = !value")
    Border(BrushColor=({R:0.5,G:0.5,A:0.9})
      text This is a nice button
Clone this wiki locally
You can’t perform that action at this time.