Announcement

Collapse
No announcement yet.

[RELEASED] Flathead = UE4 + Javascript

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

    #46
    Any plans to make support OSX?

    Comment


      #47
      Thankfully for all of us, V8 is OSX compatible, I will just have to build with that target and link it in.

      Also, Linux and Android builds are possible. As with everything adding support is going to depend on the needs of the community.
      About Me | JavaScript and UE4 | Exodus | Code Notes

      Comment


        #48
        I would like to throw in another vote for OS X. With a promised purchase of $25 for the plugin.


        Originally posted by Bob_Gneu View Post
        Thankfully for all of us, V8 is OSX compatible, I will just have to build with that target and link it in.

        Also, Linux and Android builds are possible. As with everything adding support is going to depend on the needs of the community.

        Comment


          #49
          Originally posted by filmicarty View Post
          I would like to throw in another vote for OS X. With a promised purchase of $25 for the plugin.
          =) Righty-O, ill add that to my tracker.

          I moved away from Trello for something more robust, but I think I see some benefit to following in Epic's footsteps. I think this weekend may be an interesting weekend for V8 Development ( I turn 31 =D on Saturday ) and I have shelved development on Exodus until it either gets greenlit, we gain some traction in the community or we decide to do something to it.

          As such, I have reworked the trello page and will keep it up to date with the requests that you all come up with and technical requirements I am including to help extend the plugin. Hopefully this will provide a good means of communication between us and help keep you informed of the state of the plugin going forward.

          Please don't be shy. There is a ton of opportunity for input and assisting in not only defining the API, but to help document the plugin going forward. I think that I will use the UE wiki for now, unless I am asked to put the documentation elsewhere, to help keep documentation for the game and the plugins in a centralized location.

          Let me know your thoughts, I am all ears!
          About Me | JavaScript and UE4 | Exodus | Code Notes

          Comment


            #50
            UE4 Event Listener via JavaScript?

            Will this plugin allow one to create event listeners in Javascript? This question might be a little nutso, I'm primarily a PHP/Javascript developer, and I'm basically wondering about the best route to trigger events within UE externally, via javascript from a web page.

            Comment


              #51
              Originally posted by Bob_Gneu View Post
              I turn 31 =D on Saturday
              Gratz... I turned 34 few days ago

              Also 25usd from me

              Comment


                #52
                Originally posted by filmicarty View Post
                Will this plugin allow one to create event listeners in Javascript? This question might be a little nutso, I'm primarily a PHP/Javascript developer, and I'm basically wondering about the best route to trigger events within UE externally, via javascript from a web page.
                My apologies for not sharing this earlier, but if you grab the build linked on the front page you will be able to see that the eventing is based on the way events are defined by Mozilla:
                https://gist.github.com/BobGneu/269ce6d7840a88b8a4d5

                The only note that is important at this point is that events go from C++ to JS atm. Moving back the other way is reasonable, as there are already a lot of static methods in place that are hooked into JS, so you can call out of JS land into C++. I am still working on the new edition of the plugin so some of the above may change but only where it makes sense.
                About Me | JavaScript and UE4 | Exodus | Code Notes

                Comment


                  #53
                  Originally posted by ParkerKane View Post
                  Gratz... I turned 34 few days ago

                  Also 25usd from me
                  There is a thread that was put up a few days ago, and I think it makes sense for this project to be following suit. I think this plugin is going to be donate ware, with attribution.

                  =) Thanks for the interest in this guys, its been incredibly influential and him hoping to be able to get this build out to you once I get it stable enough to satisfy my testing.
                  About Me | JavaScript and UE4 | Exodus | Code Notes

                  Comment


                    #54
                    Update 5/16/2014

                    It is that time again!

                    Status

                    You may notice a change around the header of the page. The V8 Plugin has finally been named - Flathead. If you look it up you will likely understand, but suffice to say that it is a well known type of V8 and its fitting due to the popularity of this thread and the interest I've had as of late. Thanks to Epic's mentioning of me & my plugin last week I received a bunch of new emails asking about its status and contributing to the plugin.

                    You will all be happy to know that things are getting really close now. I am currently iterating on the public API, hoping to narrow in on something that doesn't require that anyone know anything about the v8 library, and while that is not exactly working out the way I want it to it is at least a pretty significant goal, and it means that we are about ready for some contributions. I have taken the liberty of creating a new public FlyingGame on github where I'll be pushing a few features highlighting the interaction between V8 and UE4, using Flathead as the middle man. I am pushing it this way for two reasons, one - I feel like I need to be more transparent with all of you about the state of the plugin, and let you guys start using it, and contributing - if you so choose.

                    With the latest build of the plugin you are able to build your game in debug, development and shipping configurations on windows and the library will go ahead and start loading in files as you wish. Exposing objects is not exactly simple as of now, but it will, undoubtedly, be iterated on.

                    Give me a few more days to clean up the implementation (macros aren't exactly our friend, but believe me - you will appreciate them when if you ever see the guts of whats going on under the hood.). I expect to have a build ready for you guys this weekend.

                    In the pipe
                    • Mac OSX support
                    • Cleaning up the encapsulation
                    • Documentation
                    • Update to V8 3.27!?
                    • Marketplace Deployment!?
                    About Me | JavaScript and UE4 | Exodus | Code Notes

                    Comment


                      #55
                      Sample Sauce

                      Flathead Flying Game | Sample of the UE4 flying game bound to the Flathead plugin.
                      https://github.com/BobGneu/UE4FlyingGame

                      Creating a JS Object
                      | Creating a JS object and exposing it to JS land. This does not reference a C++ type.
                      https://gist.github.com/BobGneu/27ba3717d2442fac3d87

                      Callback to C++ | Interacting with arguments and returning a value to JS.
                      https://gist.github.com/BobGneu/55fc893d379493b65dfd

                      MathTests in Flathead | Running JS tests to confirm UE4 values are correct.
                      https://gist.github.com/BobGneu/22fdea84b5e3fd6f0aea
                      About Me | JavaScript and UE4 | Exodus | Code Notes

                      Comment


                        #56
                        I am currently working with someone on the v8 mailing list regarding an issue that will (hopefully) be cleared up shortly. This is the final thing holding you from being able to use the plugin, so hopefully things will move quickly.
                        About Me | JavaScript and UE4 | Exodus | Code Notes

                        Comment


                          #57
                          Alrighty!

                          I have made a pretty drastic change to the project and the structure of all of this. The project is now open for use and ill do my best to keep it that way. Clearly the marketplace (and the plugin deployment process) is not as mature as we would like, so I have made the decision to open the door up. Further information will be available here:

                          https://github.com/BobGneu/Flathead/releases

                          You are quite welcome =)
                          Hope this will help with maturing the API further.
                          About Me | JavaScript and UE4 | Exodus | Code Notes

                          Comment


                            #58
                            V8 and UDP Socket Events

                            Hey Bob, that's great news! Been following your Trello activity carefully!

                            This might be a ridiculous question, but would this plugin make it possible for me to open up a socket, for UDP communication, within a blueprint? Or at least fire an event, so that I can then react to that event from a blueprint?


                            Originally posted by Bob_Gneu View Post
                            Alrighty!

                            I have made a pretty drastic change to the project and the structure of all of this. The project is now open for use and ill do my best to keep it that way. Clearly the marketplace (and the plugin deployment process) is not as mature as we would like, so I have made the decision to open the door up. Further information will be available here:

                            https://github.com/BobGneu/Flathead/releases

                            You are quite welcome =)
                            Hope this will help with maturing the API further.

                            Comment


                              #59
                              Really, that would be a billion times better to do via C++ directly. The JS API is, at least at this point, not well suited for such use, but I suppose that can be a feature that gets hooked in if its requested enough.

                              I would suggest something like this: http://www.cs.rutgers.edu/~pxk/417/n...ckets/udp.html
                              About Me | JavaScript and UE4 | Exodus | Code Notes

                              Comment


                                #60
                                it will be very interesting if you can integrate nodejs with ue4

                                exposing nodejs to ue4 will open new frontiers
                                - all the nodejs plugins can be reused
                                - easily scale communications between ue4 servers
                                - interconnect out of the box with other run-time or services for example here on top of nodejs you can run c# http://tjanczuk.github.io/edge/
                                - administer your game with http pages
                                - integrate social services like facebook,gmail etc right into your server logic
                                - nirvana with blueprints

                                for example if you want to build a masive mmo and allow clients to connect from various platforms the work will be much easier

                                Comment

                                Working...
                                X