Search Unity

3D game built entirely with the new Unity GUI

Discussion in 'UGUI & TextMesh Pro' started by kshaja, Sep 3, 2015.

  1. kshaja

    kshaja

    Joined:
    Sep 22, 2010
    Posts:
    148
    Hi, here is the game I made using only new GUI.

    It is called : In Cube Action ( InCubeAction )

    As new Unity GUI has a world canvas that can place GUI inside a 3D world, I used that to make a
    3D labyrinth corridor game without a meshes.

    Everything you see on the screen is GUI!





    Drag And Drop Trajectories @ Canvas: Screen Space - Overlay / Images
    Controls @ Canvas: Screen Space - Camera / Images
    Walls, Pitch,Roll And Yaw Arrows @ Canvas: World Space / Images
    Radar Mini Map @ Texture Render - Canvas: World Space / Raw Image




     
  2. Tim-C

    Tim-C

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    2,225
    woooooow. Pretty sure that you are using the system how it was never intended to be used ;) Amazing.
     
    kshaja and SimonDarksideJ like this.
  3. rahuxx

    rahuxx

    Joined:
    May 8, 2009
    Posts:
    537
    Amazing.
    Never thought of this before.
     
    kshaja likes this.
  4. rahuxx

    rahuxx

    Joined:
    May 8, 2009
    Posts:
    537
    If you can share some part of the project and how you did then it will be very helpful to others to learn new UI System.
     
  5. SimonDarksideJ

    SimonDarksideJ

    Joined:
    Jul 3, 2012
    Posts:
    1,689
    Interesting project and very inventive :D Great work.
     
    kshaja likes this.
  6. kshaja

    kshaja

    Joined:
    Sep 22, 2010
    Posts:
    148
    Thank you :) .

    When system is so great and powerful it can be easily used in a most fantastic and different ways.
    It was so inspiring for me to have a 3D GUI that I wanted to realize my project with it. And you saw the result!
    What ever I wanted to do, I could do it. Smoothness of the movement, order of the canvasses, intractability...

    P.S. you have a PM
     
  7. kshaja

    kshaja

    Joined:
    Sep 22, 2010
    Posts:
    148
    Thanks :)

    Yes, I will make how its done posts these days, lots of pictures and gifs.
    like this :
     
  8. kshaja

    kshaja

    Joined:
    Sep 22, 2010
    Posts:
    148
    Coming from the author of the book "Unity 3D UI Essentials" it really makes me honored :)
     
    Last edited: Sep 4, 2015
    SimonDarksideJ likes this.
  9. SimonDarksideJ

    SimonDarksideJ

    Joined:
    Jul 3, 2012
    Posts:
    1,689
    Should get @Andy Touch to post his Flappy bird game done in the UI, just for run :D
     
  10. kshaja

    kshaja

    Joined:
    Sep 22, 2010
    Posts:
    148
    Here is the scene overview, to show how it is all made with Canvases

     
    SimonDarksideJ and Shushustorm like this.
  11. SimonDarksideJ

    SimonDarksideJ

    Joined:
    Jul 3, 2012
    Posts:
    1,689
    You should do a blog post on your approach, would find it very interesting :D
     
    kshaja likes this.
  12. kshaja

    kshaja

    Joined:
    Sep 22, 2010
    Posts:
    148
    Here is the video of the InCubeAction Editor that I made to construct levels.
    I have made several prefabs out of Canvases, and I am deploying them as I need them.
    Prefabs Canvases for level building have orientation textures. In real time their materials sprites are changed.

     
  13. kshaja

    kshaja

    Joined:
    Sep 22, 2010
    Posts:
    148
    Here is the system for creating more complex trajectories out of the base trajectories.
    Trajectories are used to change the gravity vector and to change the direction and orientation of the player when walking over them.

    Base Trajectories:

    turn 90˙ * turn 180˙ * turn left * turn right * turn90+left+90 * turn90+right+90

    Adding base trajectories


    Deleting complex trajectories


    Drag and dropping complex trajectories



    Everything you see is made of new Unity GUI!
     
  14. kshaja

    kshaja

    Joined:
    Sep 22, 2010
    Posts:
    148
    In Cube Action in Unity 5.2 version:
    Big improvement in draw calls

    main menu from 18 to 19 draw calls


    From 11 to 5 draw calls

    From 12 to 8 draw calls

    Game view ( from 17 to 13 draw calls)
     
    SimonDarksideJ likes this.
  15. kshaja

    kshaja

    Joined:
    Sep 22, 2010
    Posts:
    148