Announcement

Collapse
No announcement yet.

Unreal.js

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #61
    [MENTION=33973]nako_sung[/MENTION]
    What an amazing plugin!!! It would be ideal for me: thanks Nako!

    I tried to install it but I failed.
    Is there a simple way? Or a step by step video, please?

    Comment


      #62
      [MENTION=339390]egavi[/MENTION] ; thank you I hope you all easily enjoy Unreal.js.
      I updated git repo not to require git-lfs anymore, and also edited README.md for clearer instruction to install. Please check it out.

      Cheers!

      Comment


        #63
        The examples won't load for me either. Any solution? The content browser is just empty, no asset at all (not even meshes, materials...). Just some directories show up, but all empty.
        Anything the mind of man can conceive and believe, it can be achieved. Napoleon Hill

        Comment


          #64
          Did you tried to get latest version? I have removed dependencies on `git-lfs`.

          Comment


            #65
            The last commit seems like just a change in the README. I cloned like 20 hours ago.
            Anything the mind of man can conceive and believe, it can be achieved. Napoleon Hill

            Comment


              #66
              If so, git-lfs removal wasn't complete. Please follow those steps

              1. delete cloned repo. (local unreal.js directory)
              2. install git-lfs
              2-1. download git-lfs, and launch.
              2-2. type 'git lfs install' in command line.
              3. clone repo

              Comment


                #67
                I spent more than one hour before but no luck because of git-lfs.

                Yesterday i tried to install it again and setup process was way more easier for me. Everything looks working and using visual studio code with typescript file. Just wondering nako_sung, would you advice to start a game with unreal.js instead of blueprint? Do you see it's stable as that? I think most people doesn't want to use third party scripting language just because Epic doesn't support it and at the middle of the way, you or developers of this implementation would stop supporting.

                Still, it look amazing and thanks.

                Comment


                  #68
                  [MENTION=18485]theknoppix[/MENTION], we(dev team in ncsoft) are currently developing our prototype fully in javascript. There were some bumps but almost every problem had been resolved, and for now I think it seems stable for production. Furthermore, I hope to continue using unreal.js as a key component for shipped version of my project.

                  BTW, V8 provides detailed profiling analysis.

                  Comment


                    #69
                    [MENTION=33973]nako_sung[/MENTION] Thats great to hear because i thought it will be only use for prototyping and later you will convert whole code to c++ or blueprint. Thanks for your answers and support.

                    Comment


                      #70
                      So still no instructions, on fool proof way to get this going? Too bad though, cause BLUI seems to achieve the same stuff - but kind of easier to get up and running.

                      How do you integrate Three.js into UE4 with UnrealJS?

                      Comment


                        #71
                        Originally posted by rrstuv View Post
                        So still no instructions, on fool proof way to get this going?
                        See github: https://github.com/ncsoft/Unreal.js/...ster/README.md

                        Plenty of working demos to play with.

                        Comment


                          #72
                          1. Cannot understand: How can i create simple blueprint node with this plugin or i can only modify existing?

                          2. And how work "live-reloading dev env." inside helloworld.js? What is it? What is the language syntax (=>)?

                          3. How can i print text on screen (in c++ AddOnScreenDebugMessage)?

                          Thank you.
                          Last edited by florentine3d; 03-11-2016, 12:34 PM.

                          Comment


                            #73
                            1. Define a blueprint event and override it with Javascript, your call in BP will be routed into JS land.
                            2-1. Monitoring source javascripts and picking up a modification event automatically.
                            2-2. => is a fat arrow function which is standard javascript(ES6).
                            3. You can print a log with `console.log`, which prints a message into log console. You can call all functions you can call within BP. `SomeBlueprintFunctionLibrary.SomeStaticFunction('HelloWorld')`.

                            GWorld/*or any other UObject */.PrintString('Hello Javascript', true, true, {R:1, G:1, A:1}, 1.0/*seconds*/)
                            Last edited by nako_sung; 03-11-2016, 01:06 PM.

                            Comment


                              #74
                              Thank you.

                              1. in helloBlueprint.js you write:

                              // declare UPROPERTY's here
                              // ; this.XXXXX/*[attribute+]+type*/;
                              properties() {
                              this.Hello/*Replicated+EditAnywhere+int*/;
                              this.World/*Replicated+EditAnywhere+Actor*/;
                              this.Position/*EditAnywhere+Vector[]*/;
                              this.Some/*EditAnywhere+DistanceDatum*/;
                              }

                              how use this and where?

                              2. You are planing making some youtube video tutorials?
                              Last edited by florentine3d; 03-11-2016, 01:52 PM.

                              Comment


                                #75
                                1. properties() function is just containing meta-data. Actually it is stringified and parsed by 'uclass.js', then Unreal.js reads parsed information and creates a new class.
                                2. Currently I have no time for making good tutorial stuffs. Actually I'm waiting for generous volunteers from community.

                                Comment

                                Working...
                                X