Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.86 KB | None | 0 0
  1. UI elements in total
  2.  
  3. Windows
  4. Normal
  5. Event
  6. Many bookmarks
  7.  
  8. Error
  9. Generic (ok, yes/no)
  10. Destroyable
  11. Content is dynamic and is given to window
  12.  
  13. Inbox
  14. Destroyable
  15. Content is dynamic and is given to window
  16.  
  17. Splash
  18. W with 3d characters
  19. W with scene, camera and 3d characters (pre arena)
  20.  
  21. Panel that jump from window to window
  22. Tutorial
  23. - why tutorial should be inside the window ?
  24.  
  25. Elements which always have to be on top of windows
  26. Screen message
  27.  
  28. Elements that belong to 3d objects in a current scene
  29.  
  30. Wait
  31. Loader
  32. Blur
  33.  
  34.  
  35. UI Pool (Contains links to sprites)
  36.  
  37. UI events
  38.  
  39.  
  40. Rules
  41.  
  42. Architectural rules
  43. windows stack one on top of another
  44. lower windows can be clicked
  45. window can be shown above splash and that makes splash just another window
  46. window is responsible for localization for its elements
  47. window is responsible for giving elements back to pool if needed
  48. windows have to scale if game window changes
  49. - how?
  50.  
  51. tutorial must be SOMEHOW updated in all opened windows
  52.  
  53.  
  54. Technical rules
  55. Separate elements in static and dynamic (i.e. many canvases)
  56.  
  57.  
  58. Questions
  59. How to send data between windows?
  60.  
  61.  
  62. Problems I have in current system
  63.  
  64. GUIMan in general
  65.  
  66. Redundant code to instantiate attachables
  67.  
  68. Redundant code to instantiate/open windows
  69. public void OpenWindow(GUICanvasBaseWindow.WindowType type, bool animate)
  70. void ShowWindow(GUICanvasWindow addWindow, bool animate = true)
  71. public bool TryOpenCurrWindow(bool animate = true)
  72.  
  73.  
  74. Redundant code to handle tutorial
  75. Redundant code to animate buttons
  76. Redundant code to show different error messages
  77. Redundant code to show splashes
  78. Icons must be moved to guipool
  79.  
  80.  
  81. Windows in general
  82.  
  83. 1 One window can be invoked several times while it’s being opened
  84. - look at the bug w event window - battle history
  85. 2 Event window can be shown below the current window
  86. - look at the bug w event window - battle history
  87. 3 While window is being opened, I can still make clicks on area of a lower window
  88. 4 WindowType does NOT exist until I open a window
  89. 5 In many bookmarks window WindowType is changing depending on a shortcut
  90. 6 I have several ways to open a window, when in fact I need just one
  91. 7 Still not clear HOWTO go to the store from any part of the interface
  92. 8 Cut scene at the beginning (tutorial) -> I need to hide my interface before the game starts
  93. 9 Window with a scene and 3d objects can be fake hidden, to show another window on top (transparent)
  94. 10 Event windows can NOT be shown above ANY window, there is a list of restrictions
  95. 11 Windows can have a callback for logic, I have a collapse situation when a window is being closed and callback is invoked
  96. 12 Use Crystals is bad - close, no tutorial, callbacks
  97. 13 Generic is bad - close, no tutorial, callbacks
  98. 14 When generic and use crystals are being closed , most of the time there is an external callback to be invoked
  99.  
  100. 15 Animation of window itself collapsed with animation inside window (check league change )
  101. 16 Dialog bubbles should be done as an attachable
  102. - look ShowBubble in GUIMan
  103.  
  104. Window with bookmarks
  105.  
  106. 1 UpdateContent - is a bad solution for updating page
  107. 2
  108.  
  109.  
  110. Loader
  111. Both blur and loader can be accessed by windows (logic) from very distinct parts of code, so that I will get a collapse or even a dead lock.
  112. While blur is working and before it throws a callback that a window can be invoked, other logic can invoke another ui element, and I will he
  113.  
  114. Solution for loader: make a counter for loader and unblock everything when count = 0
  115. Solution for blur
  116.  
  117.  
  118. Buttons
  119.  
  120. They use exceeding code from GUIMan in order to open anything
  121.  
  122. Attachables
  123.  
  124. Attachable elements are instantiated immediately when window access them
  125. There is no type for attachables
  126.  
  127. Tutorial
  128.  
  129. I do not know how to handle tutorial while several windows are visible
  130. I do not know how better solve tutorial for bookmark window
  131. There is no logic to skip tutorial in UI
  132. We have a separate talk window with a character, which is supposed to be a part of the tutorial (GUIMan - Show talk)
  133.  
  134.  
  135. Questions
  136. Where did he see multiple overlapping windows in Summoners wars which are also interactive?
  137. - small dialog boxes in Monsters
  138. What if we will have 2 overlap windows and I will need to show tutorial elements in both of them?
  139.  
  140. Separate Scenes?
  141. - Pasha doesn’t know
  142.  
  143.  
  144.  
  145.  
  146. Thoughts
  147.  
  148. Make a queue of windows which are going to be opened now
  149. Block of characteristics
  150. We need tables
  151. We might have a vertical orientation
  152. We won’t have orientation
  153.  
  154.  
  155.  
  156.  
  157. TODO
  158. Check class - GUICanvasSpendResources
  159. Check set as last sibling
  160. Check why iOS is shown down
  161. 1st - in arena
  162. Unity
  163. check on iPhone
  164. Check scene load vs instantiate the window
  165.  
  166.  
  167. TIMING
  168.  
  169. Andoird in Russia in april
  170. In a month - go to a conference and show the game
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement