Example-Water.overlay
上传用户:xhbjoy
上传日期:2014-10-07
资源大小:38068k
文件大小:3k
源码类别:

游戏引擎

开发平台:

Visual C++

  1. Example/WaterOverlay
  2. {
  3. zorder 500
  4. // Stats block
  5. container BorderPanel(Core/WaterPanel)
  6. {
  7. metrics_mode pixels
  8. vert_align top
  9. left 5 
  10. top 5
  11. width 400
  12. height 87
  13. material Core/StatsBlockCenter
  14.          border_size 1 1 1 1
  15.          border_material Core/StatsBlockBorder
  16.          border_topleft_uv     0.0000 1.0000 0.0039 0.9961
  17.      border_top_uv         0.0039 1.0000 0.9961 0.9961
  18.      border_topright_uv    0.9961 1.0000 1.0000 0.9961
  19.      border_left_uv        0.0000 0.9961 0.0039 0.0039
  20.      border_right_uv       0.9961 0.9961 1.0000 0.0039
  21.      border_bottomleft_uv  0.0000 0.0039 0.0039 0.0000
  22.          border_bottom_uv      0.0039 0.0039 0.9961 0.0000
  23.      border_bottomright_uv 0.9961 0.0039 1.0000 0.0000
  24.     
  25. element TextArea(Example/Water/Normals)
  26. {
  27. metrics_mode pixels
  28. left 5
  29. top 5
  30. width 90
  31. height 30
  32. font_name BlueHighway
  33. char_height 16
  34. caption [N]Normals:
  35. colour_top 0.5 0.7 0.5
  36. colour_bottom 0.3 0.5 0.3
  37. }
  38. element TextArea(Example/Water/Rain)
  39. {
  40. metrics_mode pixels
  41. left 5
  42. top 20
  43. width 90
  44. height 30
  45. font_name BlueHighway
  46. char_height 16
  47. caption [SPACE]Rain
  48. colour_top 0.5 0.7 0.5
  49. colour_bottom 0.3 0.5 0.3
  50. }
  51. element TextArea(Example/Water/SkyBox)
  52. {
  53. metrics_mode pixels
  54. left 5
  55. top 35
  56. width 90
  57. height 30
  58. font_name BlueHighway
  59. char_height 16
  60. caption [B]SkyBox: 
  61. colour_top 0.5 0.7 0.5
  62. colour_bottom 0.3 0.5 0.3
  63. }
  64. element TextArea(Example/Water/Depth)
  65. {
  66. metrics_mode pixels
  67. left 5
  68. top 50
  69. width 90
  70. height 30
  71. font_name BlueHighway
  72. char_height 16
  73. caption [U/J]Head depth:
  74. colour_top 0.5 0.7 0.5
  75. colour_bottom 0.3 0.5 0.3
  76. }
  77. element TextArea(Example/Water/Material)
  78. {
  79. metrics_mode pixels
  80. left 5
  81. top 65
  82. width 90
  83. height 30
  84. font_name BlueHighway
  85. char_height 16
  86. caption [M]Material:
  87. colour_top 0.5 0.7 0.5
  88. colour_bottom 0.3 0.5 0.3
  89. }
  90. element TextArea(Example/Water/Note)
  91. {
  92. metrics_mode pixels
  93. left 200
  94. top 5
  95. width 90
  96. height 30
  97. font_name BlueHighway
  98. char_height 16
  99. caption Careful with these values!
  100. colour_top 0.7 0.9 0.7
  101. colour_bottom 0.5 0.7 0.5
  102. }
  103. element TextArea(Example/Water/Param_C)
  104. {
  105. metrics_mode pixels
  106. left 200
  107. top 20
  108. width 90
  109. height 30
  110. font_name BlueHighway
  111. char_height 16
  112. caption [1/2]Ripple speed:
  113. colour_top 0.5 0.7 0.5
  114. colour_bottom 0.3 0.5 0.3
  115. }
  116. element TextArea(Example/Water/Param_D)
  117. {
  118. metrics_mode pixels
  119. left 200
  120. top 35
  121. width 90
  122. height 30
  123. font_name BlueHighway
  124. char_height 16
  125. caption [3/4]Distance:
  126. colour_top 0.5 0.7 0.5
  127. colour_bottom 0.3 0.5 0.3
  128. }
  129. element TextArea(Example/Water/Param_U)
  130. {
  131. metrics_mode pixels
  132. left 200
  133. top 50
  134. width 90
  135. height 30
  136. font_name BlueHighway
  137. char_height 16
  138. caption [5/6]Viscosity:
  139. colour_top 0.5 0.7 0.5
  140. colour_bottom 0.3 0.5 0.3
  141. }
  142. element TextArea(Example/Water/Param_T)
  143. {
  144. metrics_mode pixels
  145. left 200
  146. top 65
  147. width 90
  148. height 30
  149. font_name BlueHighway
  150. char_height 16
  151. caption [7/8]Time period:
  152. colour_top 0.5 0.7 0.5
  153. colour_bottom 0.3 0.5 0.3
  154. }
  155. }
  156. }