Announcement

Collapse
No announcement yet.

Slate or HUD Canvas

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

    Slate or HUD Canvas

    Hi
    I'm wondering. What is the best to use to HUD and UI in C++. Slate or HUD Canvas ?
    What is the real difference ?

    #2
    Hi

    I'm currently using a mixture of HUD Canvas and Slate in my currently project, and it seems to be communicating quite well. I'm using Slate for my main and pause menus and HUD Canvas for something else. I've found some restrictions with Slate so far in terms of interacting with your scene and the slate menu simultaneously, it's difficult to tell it to switch focus/control from the slate menu to in-game. Slate is still under construction and can (hopefully) only get better.
    Q.U.B.E. 2 | Q.U.B.E: Director's Cut

    Comment


      #3
      It honestly would be best to just use Slate, as it solves quite a few problems you might encounter later. Like binding dynamic properties, arrays etc.
      But Canvas have also some useful things like Project/Deproject and it is generally easier to display simple graphics using Canvas rather than Slate.
      https://github.com/iniside/ActionRPGGame - Action RPG Starter kit. Work in Progress. You can use it in whatever way you wish.

      Comment


        #4
        Ok thanks both for the precision.

        I hesitate because i also see coherentUI but it's not free ...

        Slate seems interesting.

        Maybe i'm going to start with Canvas to see what i can do with it and its limitations.

        Comment


          #5
          In my case, i use Canvas for simple stuff, like healthbars, indicators, and simple sprites on the screen.
          Slate its better for actually complex menus, like those for a RPG or interactive option menus.
          UDK and UE4 programmer and Unreal engine 4 betatester. Currently working on commercial VR games for PSVR.
          Deep knowlegde of C++ and blueprints. Open to freelance work.
          Games released, Deathwave(Steam), VRMultigames(Steam), DWVR(Steam,Oculus,PSVR):
          http://store.steampowered.com/app/463870
          http://store.steampowered.com/app/500360
          http://store.steampowered.com/app/520750

          Comment


            #6
            In my case, I have been using Slate for everything so far. I am sure I will be using Canvas to use the Deproject for player names and other stuff that can move all over the screen. I really like Slate once you get the hang of how to update the elements during runtime for health and other variables.

            Comment


              #7
              Thanks all for your opinion
              And what do you think of coherent UI ?

              Comment


                #8
                Originally posted by Elendil View Post
                Thanks all for your opinion
                And what do you think of coherent UI ?
                I think web browsers have it's place, and hooking up entire web browser just to display health is overkill.
                Though If you want to display webpages in your game for whatever reason, it's good solution.
                https://github.com/iniside/ActionRPGGame - Action RPG Starter kit. Work in Progress. You can use it in whatever way you wish.

                Comment


                  #9
                  Originally posted by iniside View Post
                  I think web browsers have it's place, and hooking up entire web browser just to display health is overkill.
                  Though If you want to display webpages in your game for whatever reason, it's good solution.
                  I completely agree with this. It's not necessary unless you want/need it as a feature in your game.
                  Q.U.B.E. 2 | Q.U.B.E: Director's Cut

                  Comment


                    #10
                    Originally posted by iniside View Post
                    I think web browsers have it's place, and hooking up entire web browser just to display health is overkill.
                    Though If you want to display webpages in your game for whatever reason, it's good solution.
                    I agree as well. I was watching the video for their UE4 demo reel for Coherent UI and either I was seeing things or the ammo updating when they fired the weapons was lagging behind when the shot was actually fired. I am sure Slate is able to keep up with a lot faster response time from what I have seen.

                    Comment


                      #11
                      Ok thanks.
                      After some tests, the only problem with canvas or Slate is you don't have any editor to create your HUD. But it's not really a problem unless you have a very complicated HUD.
                      And in C++, once you have defined your functions it's easy to setup ...
                      Last edited by Elendil; 07-10-2014, 04:19 AM.

                      Comment


                        #12
                        Originally posted by Elendil View Post
                        Ok thanks.
                        After some tests, the only problem with canvas or Slate is you don't have any editor to create your HUD. But it's not really a problem unless you have a very complicated HUD.
                        And in C++, once you have defined your functions it's easy to setup ...

                        Epic are currently developing a Slate editor: https://trello.com/c/HYDwjBLs/85-unreal-motion-graphics

                        Won't be too long before your able to use it
                        Q.U.B.E. 2 | Q.U.B.E: Director's Cut

                        Comment


                          #13
                          Good news

                          Comment

                          Working...
                          X