scene.tscn 64 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431
  1. [gd_scene load_steps=96 format=2]
  2. [ext_resource path="res://resources/battle_creek/battle_creek.tscn" type="PackedScene" id=1]
  3. [ext_resource path="res://scripts/main_player.gd" type="Script" id=2]
  4. [ext_resource path="res://p0_env.tres" type="Environment" id=3]
  5. [ext_resource path="res://panorama/shaders/p0.shader" type="Shader" id=4]
  6. [ext_resource path="res://resources/button/button.tscn" type="PackedScene" id=5]
  7. [ext_resource path="res://resources/stone_ancient_window__door_frame_pbr/stone_ancient_window__door_frame_pbr.tscn" type="PackedScene" id=6]
  8. [ext_resource path="res://resources/button/button2.tscn" type="PackedScene" id=7]
  9. [ext_resource path="res://resources/button/button1.tscn" type="PackedScene" id=8]
  10. [ext_resource path="res://resources/low_poly_nature_scene/low_poly_nature_scene.tscn" type="PackedScene" id=9]
  11. [ext_resource path="res://panorama/p1.tscn" type="PackedScene" id=10]
  12. [ext_resource path="res://scripts/sun_pos.gd" type="Script" id=11]
  13. [ext_resource path="res://scripts/scene.gd" type="Script" id=12]
  14. [ext_resource path="res://resources/beautiful_sphere/sphere1.tscn" type="PackedScene" id=13]
  15. [ext_resource path="res://resources/scifi_hexsphere/sphere2.tscn" type="PackedScene" id=14]
  16. [ext_resource path="res://resources/spherical/sphere3.tscn" type="PackedScene" id=15]
  17. [ext_resource path="res://scripts/post_init.gd" type="Script" id=16]
  18. [ext_resource path="res://scripts/antifall_rb.gd" type="Script" id=17]
  19. [ext_resource path="res://resources/pokeball/sphere5.tscn" type="PackedScene" id=18]
  20. [ext_resource path="res://resources/beach_ball/sphere4.tscn" type="PackedScene" id=19]
  21. [ext_resource path="res://panorama/p2.tscn" type="PackedScene" id=20]
  22. [ext_resource path="res://panorama/p4.tscn" type="PackedScene" id=21]
  23. [ext_resource path="res://panorama/p3.tscn" type="PackedScene" id=22]
  24. [ext_resource path="res://panorama/p5.tscn" type="PackedScene" id=23]
  25. [ext_resource path="res://font/kenpixel/font.tres" type="DynamicFont" id=24]
  26. [ext_resource path="res://scripts/Control.gd" type="Script" id=25]
  27. [ext_resource path="res://textures/tx6.jpg" type="Texture" id=26]
  28. [sub_resource type="ShaderMaterial" id=1]
  29. shader = ExtResource( 4 )
  30. shader_param/dir_angle = Vector3( 0, 0, 1 )
  31. [sub_resource type="SphereMesh" id=2]
  32. flip_faces = true
  33. radius = 100.0
  34. height = 200.0
  35. [sub_resource type="CapsuleShape" id=3]
  36. [sub_resource type="Shader" id=4]
  37. code = "shader_type spatial;
  38. render_mode blend_add,depth_draw_opaque,cull_back,unshaded;
  39. uniform vec4 colorx:hint_color;
  40. void fragment() {
  41. ALBEDO = 1.*colorx.rgb;
  42. float intensity = pow(0.122 + max(dot(NORMAL, normalize(VIEW)),0.), 010.85);
  43. ALPHA=0.0+intensity;
  44. }"
  45. [sub_resource type="ShaderMaterial" id=5]
  46. render_priority = 11
  47. shader = SubResource( 4 )
  48. shader_param/colorx = Color( 0.14902, 0.678431, 0.643137, 1 )
  49. [sub_resource type="SphereMesh" id=6]
  50. [sub_resource type="BoxShape" id=7]
  51. extents = Vector3( 1, 0.5, 1 )
  52. [sub_resource type="ShaderMaterial" id=8]
  53. render_priority = 11
  54. shader = SubResource( 4 )
  55. shader_param/colorx = Color( 0.678431, 0.521569, 0.14902, 1 )
  56. [sub_resource type="ShaderMaterial" id=9]
  57. render_priority = 11
  58. shader = SubResource( 4 )
  59. shader_param/colorx = Color( 0.172549, 0.717647, 0.207843, 1 )
  60. [sub_resource type="SphereShape" id=10]
  61. radius = 10.5
  62. [sub_resource type="BoxShape" id=11]
  63. extents = Vector3( 1, 10, 5 )
  64. [sub_resource type="BoxShape" id=12]
  65. extents = Vector3( 1.5, 10, 1 )
  66. [sub_resource type="BoxShape" id=13]
  67. extents = Vector3( 9.21181, 12.9581, 6.85097 )
  68. [sub_resource type="BoxShape" id=14]
  69. extents = Vector3( 11.22, 12.9581, 11.2771 )
  70. [sub_resource type="Shader" id=15]
  71. code = "shader_type spatial;
  72. render_mode blend_mix,depth_draw_opaque,cull_back,diffuse_burley,specular_schlick_ggx,unshaded;
  73. uniform sampler2D fbo_texture;
  74. uniform sampler2D iChannel0;
  75. uniform bool is_opt;
  76. uniform float timer;
  77. void fragment() {
  78. ALBEDO = texture(fbo_texture, SCREEN_UV).rgb;
  79. if(is_opt){
  80. float d=smoothstep(-0.45+timer,0.+timer,length(UV-0.5));
  81. float spread = texture(iChannel0, UV).r;
  82. vec3 iscr=texture(SCREEN_TEXTURE,SCREEN_UV).rgb;
  83. ALBEDO = mix(ALBEDO, iscr, smoothstep(spread, 1.0, pow(d, 2.0)));
  84. }
  85. }"
  86. [sub_resource type="ViewportTexture" id=16]
  87. viewport_path = NodePath("p1")
  88. [sub_resource type="ShaderMaterial" id=17]
  89. resource_local_to_scene = true
  90. render_priority = 15
  91. shader = SubResource( 15 )
  92. shader_param/is_opt = null
  93. shader_param/timer = null
  94. shader_param/fbo_texture = SubResource( 16 )
  95. shader_param/iChannel0 = ExtResource( 26 )
  96. [sub_resource type="PlaneMesh" id=18]
  97. resource_local_to_scene = true
  98. size = Vector2( 3.5, 5 )
  99. [sub_resource type="Shader" id=19]
  100. code = "shader_type spatial;
  101. render_mode blend_mix,depth_draw_never,cull_back,diffuse_burley,specular_schlick_ggx,depth_test_disable,unshaded;
  102. void vertex() {
  103. }
  104. void fragment() {
  105. ALBEDO = texture(SCREEN_TEXTURE, SCREEN_UV).rgb;
  106. }"
  107. [sub_resource type="ShaderMaterial" id=20]
  108. resource_local_to_scene = true
  109. render_priority = 10
  110. shader = SubResource( 19 )
  111. [sub_resource type="CylinderMesh" id=21]
  112. resource_local_to_scene = true
  113. top_radius = 11.5
  114. bottom_radius = 11.5
  115. height = 20.0
  116. radial_segments = 8
  117. rings = 1
  118. [sub_resource type="Shader" id=22]
  119. code = "shader_type spatial;
  120. render_mode blend_mix,depth_draw_never,cull_back,diffuse_burley,specular_schlick_ggx,depth_test_disable,unshaded;
  121. uniform sampler2D fbo_texture;
  122. void fragment() {
  123. ALBEDO = texture(fbo_texture, SCREEN_UV).rgb;
  124. ALPHA=1.;
  125. }"
  126. [sub_resource type="ViewportTexture" id=23]
  127. viewport_path = NodePath("p1")
  128. [sub_resource type="ShaderMaterial" id=24]
  129. resource_local_to_scene = true
  130. render_priority = 5
  131. shader = SubResource( 22 )
  132. shader_param/fbo_texture = SubResource( 23 )
  133. [sub_resource type="CylinderMesh" id=25]
  134. resource_local_to_scene = true
  135. flip_faces = true
  136. top_radius = 11.5
  137. bottom_radius = 11.5
  138. height = 20.0
  139. radial_segments = 8
  140. rings = 1
  141. [sub_resource type="BoxShape" id=26]
  142. extents = Vector3( 5, 10, 0.1 )
  143. [sub_resource type="BoxShape" id=27]
  144. extents = Vector3( 1.2, 10, 0.1 )
  145. [sub_resource type="ViewportTexture" id=28]
  146. viewport_path = NodePath("p2")
  147. [sub_resource type="ShaderMaterial" id=29]
  148. resource_local_to_scene = true
  149. render_priority = 15
  150. shader = SubResource( 15 )
  151. shader_param/is_opt = null
  152. shader_param/timer = null
  153. shader_param/fbo_texture = SubResource( 28 )
  154. shader_param/iChannel0 = ExtResource( 26 )
  155. [sub_resource type="PlaneMesh" id=30]
  156. resource_local_to_scene = true
  157. size = Vector2( 3.5, 5 )
  158. [sub_resource type="ShaderMaterial" id=31]
  159. resource_local_to_scene = true
  160. render_priority = 10
  161. shader = SubResource( 19 )
  162. [sub_resource type="CylinderMesh" id=32]
  163. resource_local_to_scene = true
  164. top_radius = 11.5
  165. bottom_radius = 11.5
  166. height = 20.0
  167. radial_segments = 8
  168. rings = 1
  169. [sub_resource type="ViewportTexture" id=33]
  170. viewport_path = NodePath("p2")
  171. [sub_resource type="ShaderMaterial" id=34]
  172. resource_local_to_scene = true
  173. render_priority = 5
  174. shader = SubResource( 22 )
  175. shader_param/fbo_texture = SubResource( 33 )
  176. [sub_resource type="CylinderMesh" id=35]
  177. resource_local_to_scene = true
  178. flip_faces = true
  179. top_radius = 11.5
  180. bottom_radius = 11.5
  181. height = 20.0
  182. radial_segments = 8
  183. rings = 1
  184. [sub_resource type="ViewportTexture" id=36]
  185. viewport_path = NodePath("p3")
  186. [sub_resource type="ShaderMaterial" id=37]
  187. resource_local_to_scene = true
  188. render_priority = 15
  189. shader = SubResource( 15 )
  190. shader_param/is_opt = null
  191. shader_param/timer = null
  192. shader_param/fbo_texture = SubResource( 36 )
  193. shader_param/iChannel0 = ExtResource( 26 )
  194. [sub_resource type="PlaneMesh" id=38]
  195. resource_local_to_scene = true
  196. size = Vector2( 3.5, 5 )
  197. [sub_resource type="ShaderMaterial" id=39]
  198. resource_local_to_scene = true
  199. render_priority = 10
  200. shader = SubResource( 19 )
  201. [sub_resource type="CylinderMesh" id=40]
  202. resource_local_to_scene = true
  203. top_radius = 11.5
  204. bottom_radius = 11.5
  205. height = 20.0
  206. radial_segments = 8
  207. rings = 1
  208. [sub_resource type="ViewportTexture" id=41]
  209. viewport_path = NodePath("p3")
  210. [sub_resource type="ShaderMaterial" id=42]
  211. resource_local_to_scene = true
  212. render_priority = 5
  213. shader = SubResource( 22 )
  214. shader_param/fbo_texture = SubResource( 41 )
  215. [sub_resource type="CylinderMesh" id=43]
  216. resource_local_to_scene = true
  217. flip_faces = true
  218. top_radius = 11.5
  219. bottom_radius = 11.5
  220. height = 20.0
  221. radial_segments = 8
  222. rings = 1
  223. [sub_resource type="ViewportTexture" id=44]
  224. viewport_path = NodePath("p4")
  225. [sub_resource type="ShaderMaterial" id=45]
  226. resource_local_to_scene = true
  227. render_priority = 15
  228. shader = SubResource( 15 )
  229. shader_param/is_opt = null
  230. shader_param/timer = null
  231. shader_param/fbo_texture = SubResource( 44 )
  232. shader_param/iChannel0 = ExtResource( 26 )
  233. [sub_resource type="PlaneMesh" id=46]
  234. resource_local_to_scene = true
  235. size = Vector2( 3.5, 5 )
  236. [sub_resource type="ShaderMaterial" id=47]
  237. resource_local_to_scene = true
  238. render_priority = 10
  239. shader = SubResource( 19 )
  240. [sub_resource type="CylinderMesh" id=48]
  241. resource_local_to_scene = true
  242. top_radius = 11.5
  243. bottom_radius = 11.5
  244. height = 20.0
  245. radial_segments = 8
  246. rings = 1
  247. [sub_resource type="ViewportTexture" id=49]
  248. viewport_path = NodePath("p4")
  249. [sub_resource type="ShaderMaterial" id=50]
  250. resource_local_to_scene = true
  251. render_priority = 5
  252. shader = SubResource( 22 )
  253. shader_param/fbo_texture = SubResource( 49 )
  254. [sub_resource type="CylinderMesh" id=51]
  255. resource_local_to_scene = true
  256. flip_faces = true
  257. top_radius = 11.5
  258. bottom_radius = 11.5
  259. height = 20.0
  260. radial_segments = 8
  261. rings = 1
  262. [sub_resource type="ViewportTexture" id=52]
  263. viewport_path = NodePath("p5")
  264. [sub_resource type="ShaderMaterial" id=53]
  265. resource_local_to_scene = true
  266. render_priority = 15
  267. shader = SubResource( 15 )
  268. shader_param/is_opt = null
  269. shader_param/timer = null
  270. shader_param/fbo_texture = SubResource( 52 )
  271. shader_param/iChannel0 = ExtResource( 26 )
  272. [sub_resource type="PlaneMesh" id=54]
  273. resource_local_to_scene = true
  274. size = Vector2( 3.5, 5 )
  275. [sub_resource type="ShaderMaterial" id=55]
  276. resource_local_to_scene = true
  277. render_priority = 10
  278. shader = SubResource( 19 )
  279. [sub_resource type="CylinderMesh" id=56]
  280. resource_local_to_scene = true
  281. top_radius = 11.5
  282. bottom_radius = 11.5
  283. height = 20.0
  284. radial_segments = 8
  285. rings = 1
  286. [sub_resource type="ViewportTexture" id=57]
  287. viewport_path = NodePath("p5")
  288. [sub_resource type="ShaderMaterial" id=58]
  289. resource_local_to_scene = true
  290. render_priority = 5
  291. shader = SubResource( 22 )
  292. shader_param/fbo_texture = SubResource( 57 )
  293. [sub_resource type="CylinderMesh" id=59]
  294. resource_local_to_scene = true
  295. flip_faces = true
  296. top_radius = 11.5
  297. bottom_radius = 11.5
  298. height = 20.0
  299. radial_segments = 8
  300. rings = 1
  301. [sub_resource type="ConvexPolygonShape" id=60]
  302. points = PoolVector3Array( -0.969629, 0.0688584, 0.183165, -0.936043, -0.205223, -0.243657, -0.932743, 0.250456, -0.212371, -0.840427, -0.446543, -0.272577, -0.840427, -0.446543, 0.272577, -0.838223, 0.430681, 0.302146, -0.749431, 0.12877, 0.636265, -0.748229, -0.143251, -0.635234, -0.748229, -0.143251, 0.635234, -0.746749, 0.400095, -0.513111, -0.690001, 0.705615, 0.06065, -0.596948, -0.778643, -0.120908, -0.564627, -0.655131, -0.482196, -0.534175, 0.700183, -0.451692, -0.447242, -0.113368, -0.880046, -0.443972, 0.70028, 0.542142, -0.414697, -0.535113, 0.724371, -0.386777, 0.250556, 0.880436, -0.357249, 0.921214, -0.0303277, -0.354292, -0.837403, 0.392441, -0.325083, 0.401311, -0.847749, -0.235463, -0.205052, 0.943289, -0.175122, -0.969547, 0.0914792, -0.174001, 0.827161, -0.515746, -0.173558, -0.53655, -0.816969, -0.143481, -0.658612, 0.72718, -0.113185, 0.855767, 0.484665, -0.0836475, 0.160588, -0.978608, -0.0836475, 0.160588, 0.978608, -0.0830945, 0.554042, 0.819556, -0.0830458, -0.841555, -0.515671, -0.0530873, -0.970386, -0.183309, 0.0690328, -0.96962, -0.183164, 0.0987385, 0.553265, -0.818421, 0.0988748, -0.902662, 0.394618, 0.098887, 0.888251, -0.424905, 0.0991281, -0.296242, -0.943242, 0.0993798, 0.953539, 0.244012, 0.160941, -0.0836318, 0.978553, 0.249753, -0.5062, 0.816475, 0.281933, -0.935908, 0.15224, 0.312077, 0.920585, -0.182414, 0.369727, 0.430035, -0.814553, 0.4302, 0.369556, 0.814547, 0.431405, -0.627491, -0.635387, 0.433764, -0.144015, -0.882166, 0.489163, 0.66957, -0.541648, 0.489163, 0.66957, 0.541648, 0.52246, 0.825345, 0.151371, 0.549211, -0.563745, 0.601702, 0.553526, -0.81078, -0.121197, 0.554154, -0.0830756, 0.819475, 0.611637, -0.716875, 0.301976, 0.613273, 0.280142, -0.726772, 0.700712, 0.580133, -0.391705, 0.734567, 0.643655, 0.151369, 0.764597, -0.173579, 0.605305, 0.766466, 0.311223, 0.546132, 0.792055, -0.384137, -0.452404, 0.857494, 0.0986642, -0.485352, 0.887957, -0.416787, 0.12131, 0.920577, 0.312099, -0.182418, 0.922235, 0.190676, 0.304763, 0.952196, -0.235481, -0.121743 )
  303. [sub_resource type="ConvexPolygonShape" id=61]
  304. points = PoolVector3Array( -0.969785, -0.212856, 0.0641888, -0.967192, 0.121254, 0.185281, -0.905657, -0.33328, -0.239106, -0.873773, 0.151284, -0.450452, -0.87254, 0.453214, -0.147671, -0.871399, -0.211187, 0.425773, -0.780784, 0.0903674, 0.606857, -0.751135, -0.63405, 0.154346, -0.750145, 0.361758, 0.546132, -0.690949, -0.181062, -0.691145, -0.688449, 0.661882, 0.27411, -0.657434, -0.570846, -0.477452, -0.656496, 0.600117, -0.446688, -0.596345, -0.329854, 0.723252, -0.510807, -0.847348, 0.0940315, -0.510265, 0.846455, -0.0871361, -0.509325, 0.12062, -0.841506, -0.476219, 0.539741, -0.686259, -0.47561, -0.658764, 0.572289, -0.450681, 0.0907029, 0.881776, -0.41842, -0.331527, -0.840813, -0.386698, 0.630483, 0.663789, -0.357017, -0.811415, -0.447407, -0.208033, 0.48387, -0.843279, -0.207261, -0.87379, 0.425099, -0.178735, -0.973157, -0.0876668, -0.177353, 0.814711, -0.539804, -0.148561, 0.152149, -0.970505, -0.117378, -0.514389, -0.84393, -0.117304, 0.937574, 0.305819, -0.0870925, -0.454158, 0.881553, -0.0572551, 0.152201, 0.977636, -0.0571598, -0.212709, -0.96931, 0.0644578, 0.152277, 0.978123, 0.0948818, 0.97358, -0.179003, 0.124025, 0.632783, 0.756623, 0.18437, -0.81316, -0.53877, 0.185121, 0.544421, -0.813137, 0.213959, -0.78161, 0.574446, 0.244523, 0.813009, 0.515281, 0.245923, -0.938999, 0.215377, 0.364248, -0.541095, -0.748068, 0.365527, -0.48272, 0.787773, 0.366333, -0.906975, -0.177881, 0.366626, 0.302569, -0.874163, 0.366971, 0.787502, -0.481246, 0.425881, -0.21115, -0.871636, 0.427597, -0.151462, 0.881991, 0.456358, 0.875484, 0.0938042, 0.513231, 0.449726, 0.722886, 0.572405, 0.47915, -0.655291, 0.573508, -0.630081, 0.513367, 0.664523, -0.631014, -0.387219, 0.725142, -0.631346, 0.243922, 0.728174, 0.573475, -0.358805, 0.759219, 0.0602242, 0.638027, 0.759309, 0.0905365, -0.631302, 0.785591, 0.571342, 0.213885, 0.815779, -0.300572, 0.484504, 0.818534, -0.301592, -0.479336, 0.881149, -0.453859, -0.0570767, 0.948887, 0.213403, -0.210003, 0.977103, -0.1519, -0.0573981, 0.97806, 0.15224, 0.0642577 )
  305. [sub_resource type="ConvexPolygonShape" id=62]
  306. points = PoolVector3Array( -0.969785, -0.212856, 0.0641888, -0.967192, 0.121254, 0.185281, -0.905657, -0.33328, -0.239106, -0.873773, 0.151284, -0.450452, -0.87254, 0.453214, -0.147671, -0.871399, -0.211187, 0.425773, -0.780784, 0.0903674, 0.606857, -0.751135, -0.63405, 0.154346, -0.750145, 0.361758, 0.546132, -0.690949, -0.181062, -0.691145, -0.688449, 0.661882, 0.27411, -0.657434, -0.570846, -0.477452, -0.656496, 0.600117, -0.446688, -0.596345, -0.329854, 0.723252, -0.510807, -0.847348, 0.0940315, -0.510265, 0.846455, -0.0871361, -0.509325, 0.12062, -0.841506, -0.476219, 0.539741, -0.686259, -0.47561, -0.658764, 0.572289, -0.450681, 0.0907029, 0.881776, -0.41842, -0.331527, -0.840813, -0.386698, 0.630483, 0.663789, -0.357017, -0.811415, -0.447407, -0.208033, 0.48387, -0.843279, -0.207261, -0.87379, 0.425099, -0.178735, -0.973157, -0.0876668, -0.177353, 0.814711, -0.539804, -0.148561, 0.152149, -0.970505, -0.117378, -0.514389, -0.84393, -0.117304, 0.937574, 0.305819, -0.0870925, -0.454158, 0.881553, -0.0572551, 0.152201, 0.977636, -0.0571598, -0.212709, -0.96931, 0.0644578, 0.152277, 0.978123, 0.0948818, 0.97358, -0.179003, 0.124025, 0.632783, 0.756623, 0.18437, -0.81316, -0.53877, 0.185121, 0.544421, -0.813137, 0.213959, -0.78161, 0.574446, 0.244523, 0.813009, 0.515281, 0.245923, -0.938999, 0.215377, 0.364248, -0.541095, -0.748068, 0.365527, -0.48272, 0.787773, 0.366333, -0.906975, -0.177881, 0.366626, 0.302569, -0.874163, 0.366971, 0.787502, -0.481246, 0.425881, -0.21115, -0.871636, 0.427597, -0.151462, 0.881991, 0.456358, 0.875484, 0.0938042, 0.513231, 0.449726, 0.722886, 0.572405, 0.47915, -0.655291, 0.573508, -0.630081, 0.513367, 0.664523, -0.631014, -0.387219, 0.725142, -0.631346, 0.243922, 0.728174, 0.573475, -0.358805, 0.759219, 0.0602242, 0.638027, 0.759309, 0.0905365, -0.631302, 0.785591, 0.571342, 0.213885, 0.815779, -0.300572, 0.484504, 0.818534, -0.301592, -0.479336, 0.881149, -0.453859, -0.0570767, 0.948887, 0.213403, -0.210003, 0.977103, -0.1519, -0.0573981, 0.97806, 0.15224, 0.0642577 )
  307. [sub_resource type="SphereShape" id=63]
  308. [sub_resource type="SphereShape" id=64]
  309. [sub_resource type="StyleBoxFlat" id=65]
  310. bg_color = Color( 0.52549, 0.780392, 0.956863, 1 )
  311. [sub_resource type="StyleBoxFlat" id=66]
  312. bg_color = Color( 0.0313726, 0.0313726, 0.0313726, 1 )
  313. [sub_resource type="StyleBoxFlat" id=67]
  314. bg_color = Color( 0.4, 0.521569, 0.580392, 1 )
  315. [sub_resource type="StyleBoxFlat" id=68]
  316. bg_color = Color( 0, 0, 0, 1 )
  317. [sub_resource type="StyleBoxFlat" id=69]
  318. bg_color = Color( 0, 0, 0, 1 )
  319. [node name="scene" type="Spatial"]
  320. script = ExtResource( 12 )
  321. [node name="p0" type="Viewport" parent="."]
  322. size = Vector2( 1280, 720 )
  323. keep_3d_linear = true
  324. shadow_atlas_size = 1
  325. [node name="Camera" type="Camera" parent="p0"]
  326. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.55013, 2.58168, -19.7168 )
  327. cull_mask = 2
  328. environment = ExtResource( 3 )
  329. [node name="p1" type="Viewport" parent="."]
  330. size = Vector2( 1280, 720 )
  331. own_world = true
  332. keep_3d_linear = true
  333. shadow_atlas_size = 1
  334. [node name="p1" parent="p1" instance=ExtResource( 10 )]
  335. [node name="p2" type="Viewport" parent="."]
  336. size = Vector2( 1280, 720 )
  337. own_world = true
  338. keep_3d_linear = true
  339. shadow_atlas_size = 1
  340. [node name="p2" parent="p2" instance=ExtResource( 20 )]
  341. [node name="p3" type="Viewport" parent="."]
  342. size = Vector2( 1280, 720 )
  343. own_world = true
  344. keep_3d_linear = true
  345. shadow_atlas_size = 1
  346. [node name="p3" parent="p3" instance=ExtResource( 22 )]
  347. [node name="p4" type="Viewport" parent="."]
  348. size = Vector2( 1280, 720 )
  349. own_world = true
  350. keep_3d_linear = true
  351. shadow_atlas_size = 1
  352. [node name="p4" parent="p4" instance=ExtResource( 21 )]
  353. [node name="p5" type="Viewport" parent="."]
  354. size = Vector2( 1280, 720 )
  355. own_world = true
  356. keep_3d_linear = true
  357. shadow_atlas_size = 1
  358. [node name="p5" parent="p5" instance=ExtResource( 23 )]
  359. [node name="DirectionalLight" type="DirectionalLight" parent="."]
  360. transform = Transform( 1, 0, 0, 0, -0.939693, 0.34202, 0, -0.34202, -0.939693, 16.7481, 5.36431, 0 )
  361. light_color = Color( 0.541176, 0.541176, 0.270588, 1 )
  362. shadow_enabled = true
  363. [node name="battle_creek" parent="." instance=ExtResource( 1 )]
  364. [node name="main_player" type="KinematicBody" parent="." groups=[
  365. "player",
  366. ]]
  367. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1.55013, 1.58168, -19.7168 )
  368. script = ExtResource( 2 )
  369. [node name="Camera" type="Camera" parent="main_player"]
  370. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
  371. cull_mask = 1
  372. environment = ExtResource( 3 )
  373. [node name="sphere" type="MeshInstance" parent="main_player/Camera"]
  374. layers = 3
  375. material_override = SubResource( 1 )
  376. mesh = SubResource( 2 )
  377. material/0 = null
  378. [node name="CollisionShape" type="CollisionShape" parent="main_player"]
  379. transform = Transform( 1, 0, 0, 0, -1.62921e-07, -1, 0, 1, -1.62921e-07, 0, 0, 0 )
  380. shape = SubResource( 3 )
  381. [node name="sun_pos" type="Spatial" parent="."]
  382. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, -2.79926, -1.16978, -17.1929 )
  383. script = ExtResource( 11 )
  384. [node name="b0" type="Spatial" parent="sun_pos"]
  385. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.3117, -1.27058, 0 )
  386. [node name="glow" type="MeshInstance" parent="sun_pos/b0"]
  387. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.700528, 0 )
  388. layers = 3
  389. material_override = SubResource( 5 )
  390. mesh = SubResource( 6 )
  391. material/0 = null
  392. [node name="button" parent="sun_pos/b0" instance=ExtResource( 5 )]
  393. [node name="Area_btn" type="Area" parent="sun_pos/b0"]
  394. [node name="CollisionShape" type="CollisionShape" parent="sun_pos/b0/Area_btn"]
  395. shape = SubResource( 7 )
  396. [node name="b1" type="Spatial" parent="sun_pos"]
  397. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.686, -1.27, -0.81 )
  398. [node name="glow" type="MeshInstance" parent="sun_pos/b1"]
  399. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.700528, 0 )
  400. layers = 3
  401. material_override = SubResource( 8 )
  402. mesh = SubResource( 6 )
  403. material/0 = null
  404. [node name="button" parent="sun_pos/b1" instance=ExtResource( 8 )]
  405. [node name="Area_btn" type="Area" parent="sun_pos/b1"]
  406. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.001, 0 )
  407. [node name="CollisionShape" type="CollisionShape" parent="sun_pos/b1/Area_btn"]
  408. shape = SubResource( 7 )
  409. [node name="b2" type="Spatial" parent="sun_pos"]
  410. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5.94, -1.27, -1.624 )
  411. [node name="glow" type="MeshInstance" parent="sun_pos/b2"]
  412. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.700528, 0 )
  413. layers = 3
  414. material_override = SubResource( 9 )
  415. mesh = SubResource( 6 )
  416. material/0 = null
  417. [node name="button" parent="sun_pos/b2" instance=ExtResource( 7 )]
  418. [node name="Area_btn" type="Area" parent="sun_pos/b2"]
  419. [node name="CollisionShape" type="CollisionShape" parent="sun_pos/b2/Area_btn"]
  420. shape = SubResource( 7 )
  421. [node name="portals" type="Spatial" parent="."]
  422. [node name="a" type="Spatial" parent="portals"]
  423. transform = Transform( -1.62921e-07, 0, -1, 0, 1, 0, 1, 0, -1.62921e-07, -5.43973, -2.7582, -33.3231 )
  424. [node name="Area" type="Area" parent="portals/a"]
  425. transform = Transform( 0.390731, 0, 0.920505, 0, 1, 0, -0.920505, 0, 0.390731, -10.6978, 1.10282, 2.86102e-06 )
  426. [node name="CollisionShape" type="CollisionShape" parent="portals/a/Area"]
  427. shape = SubResource( 10 )
  428. [node name="Area2" type="Area" parent="portals/a"]
  429. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -10.6978, 1.10282, 2.86102e-06 )
  430. [node name="CollisionShape" type="CollisionShape" parent="portals/a/Area2"]
  431. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7.15402, 0, -9.53674e-07 )
  432. shape = SubResource( 11 )
  433. [node name="CollisionShape3" type="CollisionShape" parent="portals/a/Area2"]
  434. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7.80056, 0, 3.5046 )
  435. shape = SubResource( 12 )
  436. [node name="CollisionShape4" type="CollisionShape" parent="portals/a/Area2"]
  437. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7.80056, 0, -3.40023 )
  438. shape = SubResource( 12 )
  439. [node name="CollisionShape2" type="CollisionShape" parent="portals/a/Area2"]
  440. transform = Transform( 0.390731, 0, 0.920505, 0, 1, 0, -0.920505, 0, 0.390731, -2.57009, 0, -0.0603828 )
  441. shape = SubResource( 10 )
  442. [node name="Area3" type="Area" parent="portals/a"]
  443. [node name="CollisionShape" type="CollisionShape" parent="portals/a/Area3"]
  444. shape = SubResource( 13 )
  445. [node name="CollisionShape2" type="CollisionShape" parent="portals/a/Area3"]
  446. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -9.97542, 0, 5.24521e-06 )
  447. shape = SubResource( 14 )
  448. [node name="stone_ancient_window__door_frame_pbr" parent="portals/a" instance=ExtResource( 6 )]
  449. [node name="low_poly_nature_scene" parent="portals/a" instance=ExtResource( 9 )]
  450. transform = Transform( -0.920505, -0.390731, -6.36581e-08, 0, -1.62921e-07, 1, -0.390731, 0.920505, 1.49969e-07, -9.04785, -2.21818, 2.38419e-06 )
  451. visible = false
  452. [node name="wall" type="Spatial" parent="portals/a"]
  453. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -9.04785, -2.21818, 2.38419e-06 )
  454. [node name="door_out" type="MeshInstance" parent="portals/a/wall"]
  455. transform = Transform( 0.00872632, 0.999962, -1.62914e-07, 0, -1.62921e-07, -1, -0.999962, 0.00872632, -1.4217e-09, 9.33, 4.871, 0.133 )
  456. layers = 3
  457. material_override = SubResource( 17 )
  458. cast_shadow = 0
  459. mesh = SubResource( 18 )
  460. material/0 = null
  461. [node name="wall_out" type="MeshInstance" parent="portals/a/wall"]
  462. transform = Transform( 0.390731, 1.49969e-07, 0.920505, 0, 1, -1.62921e-07, -0.920505, 6.36581e-08, 0.390731, -1.28648, 4.16811, -0.522929 )
  463. material_override = SubResource( 20 )
  464. cast_shadow = 0
  465. mesh = SubResource( 21 )
  466. material/0 = null
  467. [node name="wall_in" type="MeshInstance" parent="portals/a/wall"]
  468. transform = Transform( 0.390731, 1.49969e-07, 0.920505, 0, 1, -1.62921e-07, -0.920505, 6.36581e-08, 0.390731, -1.28648, 4.16811, -0.522929 )
  469. material_override = SubResource( 24 )
  470. cast_shadow = 0
  471. mesh = SubResource( 25 )
  472. material/0 = null
  473. [node name="walls_collision" type="Spatial" parent="portals/a"]
  474. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 33.3231, 2.7582, -5.43974 )
  475. [node name="StaticBody" type="StaticBody" parent="portals/a/walls_collision"]
  476. transform = Transform( 0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, 0.707107, -12.2451, -0.10538, -36.6109 )
  477. [node name="CollisionShape" type="CollisionShape" parent="portals/a/walls_collision/StaticBody"]
  478. shape = SubResource( 26 )
  479. [node name="StaticBody2" type="StaticBody" parent="portals/a/walls_collision"]
  480. transform = Transform( 0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, 0.707107, 2.44732, -0.10538, -36.9403 )
  481. [node name="CollisionShape" type="CollisionShape" parent="portals/a/walls_collision/StaticBody2"]
  482. shape = SubResource( 26 )
  483. [node name="StaticBody4" type="StaticBody" parent="portals/a/walls_collision"]
  484. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 4.83233, -0.10538, -43.9577 )
  485. [node name="CollisionShape" type="CollisionShape" parent="portals/a/walls_collision/StaticBody4"]
  486. shape = SubResource( 26 )
  487. [node name="StaticBody5" type="StaticBody" parent="portals/a/walls_collision"]
  488. transform = Transform( -0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, -0.707107, 2.12056, -0.10538, -50.3058 )
  489. [node name="CollisionShape" type="CollisionShape" parent="portals/a/walls_collision/StaticBody5"]
  490. shape = SubResource( 26 )
  491. [node name="StaticBody6" type="StaticBody" parent="portals/a/walls_collision"]
  492. transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, -5.16312, -0.10538, -53.4075 )
  493. [node name="CollisionShape" type="CollisionShape" parent="portals/a/walls_collision/StaticBody6"]
  494. shape = SubResource( 26 )
  495. [node name="StaticBody7" type="StaticBody" parent="portals/a/walls_collision"]
  496. transform = Transform( -0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, -0.707107, -11.7879, -0.10538, -50.5141 )
  497. [node name="CollisionShape" type="CollisionShape" parent="portals/a/walls_collision/StaticBody7"]
  498. shape = SubResource( 26 )
  499. [node name="StaticBody8" type="StaticBody" parent="portals/a/walls_collision"]
  500. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, -14.8162, -0.10538, -42.8408 )
  501. [node name="CollisionShape" type="CollisionShape" parent="portals/a/walls_collision/StaticBody8"]
  502. shape = SubResource( 26 )
  503. [node name="StaticBody3" type="StaticBody" parent="portals/a/walls_collision"]
  504. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2.44732, -0.10538, -33.5318 )
  505. [node name="CollisionShape" type="CollisionShape" parent="portals/a/walls_collision/StaticBody3"]
  506. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.73305, 0, 0 )
  507. shape = SubResource( 27 )
  508. [node name="sun_pos" type="Spatial" parent="portals/a"]
  509. transform = Transform( -0.734879, 0, 0.678198, 0, 1, 0, -0.678198, 0, -0.734879, -6.97079, 2.1654, 6.30041 )
  510. [node name="b0" type="Spatial" parent="portals/a/sun_pos"]
  511. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.3117, -1.27058, 0 )
  512. [node name="Area_btn" type="Area" parent="portals/a/sun_pos/b0"]
  513. [node name="CollisionShape" type="CollisionShape" parent="portals/a/sun_pos/b0/Area_btn"]
  514. shape = SubResource( 7 )
  515. [node name="b1" type="Spatial" parent="portals/a/sun_pos"]
  516. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.686, -1.27, -0.81 )
  517. [node name="Area_btn" type="Area" parent="portals/a/sun_pos/b1"]
  518. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.001, 0 )
  519. [node name="CollisionShape" type="CollisionShape" parent="portals/a/sun_pos/b1/Area_btn"]
  520. shape = SubResource( 7 )
  521. [node name="b2" type="Spatial" parent="portals/a/sun_pos"]
  522. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5.94, -1.27, -1.624 )
  523. [node name="Area_btn" type="Area" parent="portals/a/sun_pos/b2"]
  524. [node name="CollisionShape" type="CollisionShape" parent="portals/a/sun_pos/b2/Area_btn"]
  525. shape = SubResource( 7 )
  526. [node name="b" type="Spatial" parent="portals"]
  527. transform = Transform( -1.62921e-07, 0, -1, 0, 1, 0, 1, 0, -1.62921e-07, 15.2194, 0.103798, -33.3231 )
  528. [node name="Area" type="Area" parent="portals/b"]
  529. transform = Transform( 0.390731, 0, 0.920505, 0, 1, 0, -0.920505, 0, 0.390731, -10.6978, 1.10282, 2.86102e-06 )
  530. [node name="CollisionShape" type="CollisionShape" parent="portals/b/Area"]
  531. shape = SubResource( 10 )
  532. [node name="Area2" type="Area" parent="portals/b"]
  533. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -10.6978, 1.10282, 2.86102e-06 )
  534. [node name="CollisionShape" type="CollisionShape" parent="portals/b/Area2"]
  535. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7.15402, 0, -9.53674e-07 )
  536. shape = SubResource( 11 )
  537. [node name="CollisionShape3" type="CollisionShape" parent="portals/b/Area2"]
  538. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7.80056, 0, 3.5046 )
  539. shape = SubResource( 12 )
  540. [node name="CollisionShape4" type="CollisionShape" parent="portals/b/Area2"]
  541. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7.80056, 0, -3.40023 )
  542. shape = SubResource( 12 )
  543. [node name="CollisionShape2" type="CollisionShape" parent="portals/b/Area2"]
  544. transform = Transform( 0.390731, 0, 0.920505, 0, 1, 0, -0.920505, 0, 0.390731, -2.57009, 0, -0.0603828 )
  545. shape = SubResource( 10 )
  546. [node name="Area3" type="Area" parent="portals/b"]
  547. [node name="CollisionShape" type="CollisionShape" parent="portals/b/Area3"]
  548. shape = SubResource( 13 )
  549. [node name="CollisionShape2" type="CollisionShape" parent="portals/b/Area3"]
  550. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -9.97542, 0, 5.24521e-06 )
  551. shape = SubResource( 14 )
  552. [node name="stone_ancient_window__door_frame_pbr" parent="portals/b" instance=ExtResource( 6 )]
  553. [node name="low_poly_nature_scene" parent="portals/b" instance=ExtResource( 9 )]
  554. transform = Transform( -0.920505, -0.390731, -6.36581e-08, 0, -1.62921e-07, 1, -0.390731, 0.920505, 1.49969e-07, -9.04785, -2.21818, 2.38419e-06 )
  555. visible = false
  556. [node name="wall" type="Spatial" parent="portals/b"]
  557. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -9.04785, -2.21818, 2.38419e-06 )
  558. [node name="door_out" type="MeshInstance" parent="portals/b/wall"]
  559. transform = Transform( 0.00872632, 0.999962, -1.62914e-07, 0, -1.62921e-07, -1, -0.999962, 0.00872632, -1.4217e-09, 9.33, 4.871, 0.133 )
  560. layers = 3
  561. material_override = SubResource( 29 )
  562. cast_shadow = 0
  563. mesh = SubResource( 30 )
  564. material/0 = null
  565. [node name="wall_out" type="MeshInstance" parent="portals/b/wall"]
  566. transform = Transform( 0.390731, 1.49969e-07, 0.920505, 0, 1, -1.62921e-07, -0.920505, 6.36581e-08, 0.390731, -1.28648, 4.16811, -0.522929 )
  567. material_override = SubResource( 31 )
  568. cast_shadow = 0
  569. mesh = SubResource( 32 )
  570. material/0 = null
  571. [node name="wall_in" type="MeshInstance" parent="portals/b/wall"]
  572. transform = Transform( 0.390731, 1.49969e-07, 0.920505, 0, 1, -1.62921e-07, -0.920505, 6.36581e-08, 0.390731, -1.28648, 4.16811, -0.522929 )
  573. material_override = SubResource( 34 )
  574. cast_shadow = 0
  575. mesh = SubResource( 35 )
  576. material/0 = null
  577. [node name="walls_collision" type="Spatial" parent="portals/b"]
  578. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 33.3231, 2.7582, -5.43974 )
  579. [node name="StaticBody" type="StaticBody" parent="portals/b/walls_collision"]
  580. transform = Transform( 0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, 0.707107, -12.2451, -0.10538, -36.6109 )
  581. [node name="CollisionShape" type="CollisionShape" parent="portals/b/walls_collision/StaticBody"]
  582. shape = SubResource( 26 )
  583. [node name="StaticBody2" type="StaticBody" parent="portals/b/walls_collision"]
  584. transform = Transform( 0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, 0.707107, 2.44732, -0.10538, -36.9403 )
  585. [node name="CollisionShape" type="CollisionShape" parent="portals/b/walls_collision/StaticBody2"]
  586. shape = SubResource( 26 )
  587. [node name="StaticBody4" type="StaticBody" parent="portals/b/walls_collision"]
  588. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 4.83233, -0.10538, -43.9577 )
  589. [node name="CollisionShape" type="CollisionShape" parent="portals/b/walls_collision/StaticBody4"]
  590. shape = SubResource( 26 )
  591. [node name="StaticBody5" type="StaticBody" parent="portals/b/walls_collision"]
  592. transform = Transform( -0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, -0.707107, 2.12056, -0.10538, -50.3058 )
  593. [node name="CollisionShape" type="CollisionShape" parent="portals/b/walls_collision/StaticBody5"]
  594. shape = SubResource( 26 )
  595. [node name="StaticBody6" type="StaticBody" parent="portals/b/walls_collision"]
  596. transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, -5.16312, -0.10538, -53.4075 )
  597. [node name="CollisionShape" type="CollisionShape" parent="portals/b/walls_collision/StaticBody6"]
  598. shape = SubResource( 26 )
  599. [node name="StaticBody7" type="StaticBody" parent="portals/b/walls_collision"]
  600. transform = Transform( -0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, -0.707107, -11.7879, -0.10538, -50.5141 )
  601. [node name="CollisionShape" type="CollisionShape" parent="portals/b/walls_collision/StaticBody7"]
  602. shape = SubResource( 26 )
  603. [node name="StaticBody8" type="StaticBody" parent="portals/b/walls_collision"]
  604. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, -14.8162, -0.10538, -42.8408 )
  605. [node name="CollisionShape" type="CollisionShape" parent="portals/b/walls_collision/StaticBody8"]
  606. shape = SubResource( 26 )
  607. [node name="StaticBody3" type="StaticBody" parent="portals/b/walls_collision"]
  608. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2.44732, -0.10538, -33.5318 )
  609. [node name="CollisionShape" type="CollisionShape" parent="portals/b/walls_collision/StaticBody3"]
  610. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.73305, 0, 0 )
  611. shape = SubResource( 27 )
  612. [node name="sun_pos" type="Spatial" parent="portals/b"]
  613. transform = Transform( -0.734879, 0, 0.678198, 0, 1, 0, -0.678198, 0, -0.734879, -6.97079, 2.1654, 6.30041 )
  614. [node name="b0" type="Spatial" parent="portals/b/sun_pos"]
  615. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.3117, -1.27058, 0 )
  616. [node name="Area_btn" type="Area" parent="portals/b/sun_pos/b0"]
  617. [node name="CollisionShape" type="CollisionShape" parent="portals/b/sun_pos/b0/Area_btn"]
  618. shape = SubResource( 7 )
  619. [node name="b1" type="Spatial" parent="portals/b/sun_pos"]
  620. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.686, -1.27, -0.81 )
  621. [node name="Area_btn" type="Area" parent="portals/b/sun_pos/b1"]
  622. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.001, 0 )
  623. [node name="CollisionShape" type="CollisionShape" parent="portals/b/sun_pos/b1/Area_btn"]
  624. shape = SubResource( 7 )
  625. [node name="b2" type="Spatial" parent="portals/b/sun_pos"]
  626. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5.94, -1.27, -1.624 )
  627. [node name="Area_btn" type="Area" parent="portals/b/sun_pos/b2"]
  628. [node name="CollisionShape" type="CollisionShape" parent="portals/b/sun_pos/b2/Area_btn"]
  629. shape = SubResource( 7 )
  630. [node name="c" type="Spatial" parent="portals"]
  631. transform = Transform( -1.62921e-07, 0, -1, 0, 1, 0, 1, 0, -1.62921e-07, 32.5956, -4.31538, -33.6766 )
  632. [node name="Area" type="Area" parent="portals/c"]
  633. transform = Transform( 0.390731, 0, 0.920505, 0, 1, 0, -0.920505, 0, 0.390731, -10.6978, 1.10282, 2.86102e-06 )
  634. [node name="CollisionShape" type="CollisionShape" parent="portals/c/Area"]
  635. shape = SubResource( 10 )
  636. [node name="Area2" type="Area" parent="portals/c"]
  637. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -10.6978, 1.10282, 2.86102e-06 )
  638. [node name="CollisionShape" type="CollisionShape" parent="portals/c/Area2"]
  639. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7.15402, 0, -9.53674e-07 )
  640. shape = SubResource( 11 )
  641. [node name="CollisionShape3" type="CollisionShape" parent="portals/c/Area2"]
  642. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7.80056, 0, 3.5046 )
  643. shape = SubResource( 12 )
  644. [node name="CollisionShape4" type="CollisionShape" parent="portals/c/Area2"]
  645. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7.80056, 0, -3.40023 )
  646. shape = SubResource( 12 )
  647. [node name="CollisionShape2" type="CollisionShape" parent="portals/c/Area2"]
  648. transform = Transform( 0.390731, 0, 0.920505, 0, 1, 0, -0.920505, 0, 0.390731, -2.57009, 0, -0.0603828 )
  649. shape = SubResource( 10 )
  650. [node name="Area3" type="Area" parent="portals/c"]
  651. [node name="CollisionShape" type="CollisionShape" parent="portals/c/Area3"]
  652. shape = SubResource( 13 )
  653. [node name="CollisionShape2" type="CollisionShape" parent="portals/c/Area3"]
  654. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -9.97542, 0, 5.24521e-06 )
  655. shape = SubResource( 14 )
  656. [node name="stone_ancient_window__door_frame_pbr" parent="portals/c" instance=ExtResource( 6 )]
  657. [node name="low_poly_nature_scene" parent="portals/c" instance=ExtResource( 9 )]
  658. transform = Transform( -0.920505, -0.390731, -6.36581e-08, 0, -1.62921e-07, 1, -0.390731, 0.920505, 1.49969e-07, -9.04785, -2.21818, 2.38419e-06 )
  659. visible = false
  660. [node name="wall" type="Spatial" parent="portals/c"]
  661. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -9.04785, -2.21818, 2.38419e-06 )
  662. [node name="door_out" type="MeshInstance" parent="portals/c/wall"]
  663. transform = Transform( 0.00872632, 0.999962, -1.62914e-07, 0, -1.62921e-07, -1, -0.999962, 0.00872632, -1.4217e-09, 9.33, 4.871, 0.133 )
  664. layers = 3
  665. material_override = SubResource( 37 )
  666. cast_shadow = 0
  667. mesh = SubResource( 38 )
  668. material/0 = null
  669. [node name="wall_out" type="MeshInstance" parent="portals/c/wall"]
  670. transform = Transform( 0.390731, 1.49969e-07, 0.920505, 0, 1, -1.62921e-07, -0.920505, 6.36581e-08, 0.390731, -1.28648, 4.16811, -0.522929 )
  671. material_override = SubResource( 39 )
  672. cast_shadow = 0
  673. mesh = SubResource( 40 )
  674. material/0 = null
  675. [node name="wall_in" type="MeshInstance" parent="portals/c/wall"]
  676. transform = Transform( 0.390731, 1.49969e-07, 0.920505, 0, 1, -1.62921e-07, -0.920505, 6.36581e-08, 0.390731, -1.28648, 4.16811, -0.522929 )
  677. material_override = SubResource( 42 )
  678. cast_shadow = 0
  679. mesh = SubResource( 43 )
  680. material/0 = null
  681. [node name="walls_collision" type="Spatial" parent="portals/c"]
  682. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 33.3231, 2.7582, -5.43974 )
  683. [node name="StaticBody" type="StaticBody" parent="portals/c/walls_collision"]
  684. transform = Transform( 0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, 0.707107, -12.2451, -0.10538, -36.6109 )
  685. [node name="CollisionShape" type="CollisionShape" parent="portals/c/walls_collision/StaticBody"]
  686. shape = SubResource( 26 )
  687. [node name="StaticBody2" type="StaticBody" parent="portals/c/walls_collision"]
  688. transform = Transform( 0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, 0.707107, 2.44732, -0.10538, -36.9403 )
  689. [node name="CollisionShape" type="CollisionShape" parent="portals/c/walls_collision/StaticBody2"]
  690. shape = SubResource( 26 )
  691. [node name="StaticBody4" type="StaticBody" parent="portals/c/walls_collision"]
  692. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 4.83233, -0.10538, -43.9577 )
  693. [node name="CollisionShape" type="CollisionShape" parent="portals/c/walls_collision/StaticBody4"]
  694. shape = SubResource( 26 )
  695. [node name="StaticBody5" type="StaticBody" parent="portals/c/walls_collision"]
  696. transform = Transform( -0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, -0.707107, 2.12056, -0.10538, -50.3058 )
  697. [node name="CollisionShape" type="CollisionShape" parent="portals/c/walls_collision/StaticBody5"]
  698. shape = SubResource( 26 )
  699. [node name="StaticBody6" type="StaticBody" parent="portals/c/walls_collision"]
  700. transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, -5.16312, -0.10538, -53.4075 )
  701. [node name="CollisionShape" type="CollisionShape" parent="portals/c/walls_collision/StaticBody6"]
  702. shape = SubResource( 26 )
  703. [node name="StaticBody7" type="StaticBody" parent="portals/c/walls_collision"]
  704. transform = Transform( -0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, -0.707107, -11.7879, -0.10538, -50.5141 )
  705. [node name="CollisionShape" type="CollisionShape" parent="portals/c/walls_collision/StaticBody7"]
  706. shape = SubResource( 26 )
  707. [node name="StaticBody8" type="StaticBody" parent="portals/c/walls_collision"]
  708. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, -14.8162, -0.10538, -42.8408 )
  709. [node name="CollisionShape" type="CollisionShape" parent="portals/c/walls_collision/StaticBody8"]
  710. shape = SubResource( 26 )
  711. [node name="StaticBody3" type="StaticBody" parent="portals/c/walls_collision"]
  712. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2.44732, -0.10538, -33.5318 )
  713. [node name="CollisionShape" type="CollisionShape" parent="portals/c/walls_collision/StaticBody3"]
  714. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.73305, 0, 0 )
  715. shape = SubResource( 27 )
  716. [node name="sun_pos" type="Spatial" parent="portals/c"]
  717. transform = Transform( -0.734879, 0, 0.678198, 0, 1, 0, -0.678198, 0, -0.734879, -6.97079, 2.1654, 6.30041 )
  718. [node name="b0" type="Spatial" parent="portals/c/sun_pos"]
  719. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.3117, -1.27058, 0 )
  720. [node name="Area_btn" type="Area" parent="portals/c/sun_pos/b0"]
  721. [node name="CollisionShape" type="CollisionShape" parent="portals/c/sun_pos/b0/Area_btn"]
  722. shape = SubResource( 7 )
  723. [node name="b1" type="Spatial" parent="portals/c/sun_pos"]
  724. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.686, -1.27, -0.81 )
  725. [node name="Area_btn" type="Area" parent="portals/c/sun_pos/b1"]
  726. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.001, 0 )
  727. [node name="CollisionShape" type="CollisionShape" parent="portals/c/sun_pos/b1/Area_btn"]
  728. shape = SubResource( 7 )
  729. [node name="b2" type="Spatial" parent="portals/c/sun_pos"]
  730. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5.94, -1.27, -1.624 )
  731. [node name="Area_btn" type="Area" parent="portals/c/sun_pos/b2"]
  732. [node name="CollisionShape" type="CollisionShape" parent="portals/c/sun_pos/b2/Area_btn"]
  733. shape = SubResource( 7 )
  734. [node name="d" type="Spatial" parent="portals"]
  735. transform = Transform( -1, 0, 3.25841e-07, 0, 1, 0, -3.25841e-07, 0, -1, 38.3367, -3.74541, -27.0767 )
  736. [node name="Area" type="Area" parent="portals/d"]
  737. transform = Transform( 0.390731, 0, 0.920505, 0, 1, 0, -0.920505, 0, 0.390731, -10.6978, 1.10282, 2.86102e-06 )
  738. [node name="CollisionShape" type="CollisionShape" parent="portals/d/Area"]
  739. shape = SubResource( 10 )
  740. [node name="Area2" type="Area" parent="portals/d"]
  741. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -10.6978, 1.10282, 2.86102e-06 )
  742. [node name="CollisionShape" type="CollisionShape" parent="portals/d/Area2"]
  743. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7.15402, 0, -9.53674e-07 )
  744. shape = SubResource( 11 )
  745. [node name="CollisionShape3" type="CollisionShape" parent="portals/d/Area2"]
  746. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7.80056, 0, 3.5046 )
  747. shape = SubResource( 12 )
  748. [node name="CollisionShape4" type="CollisionShape" parent="portals/d/Area2"]
  749. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7.80056, 0, -3.40023 )
  750. shape = SubResource( 12 )
  751. [node name="CollisionShape2" type="CollisionShape" parent="portals/d/Area2"]
  752. transform = Transform( 0.390731, 0, 0.920505, 0, 1, 0, -0.920505, 0, 0.390731, -2.57009, 0, -0.0603828 )
  753. shape = SubResource( 10 )
  754. [node name="Area3" type="Area" parent="portals/d"]
  755. [node name="CollisionShape" type="CollisionShape" parent="portals/d/Area3"]
  756. shape = SubResource( 13 )
  757. [node name="CollisionShape2" type="CollisionShape" parent="portals/d/Area3"]
  758. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -9.97542, 0, 5.24521e-06 )
  759. shape = SubResource( 14 )
  760. [node name="stone_ancient_window__door_frame_pbr" parent="portals/d" instance=ExtResource( 6 )]
  761. [node name="low_poly_nature_scene" parent="portals/d" instance=ExtResource( 9 )]
  762. transform = Transform( -0.920505, -0.390731, -6.36581e-08, 0, -1.62921e-07, 1, -0.390731, 0.920505, 1.49969e-07, -9.04785, -2.21818, 2.38419e-06 )
  763. visible = false
  764. [node name="wall" type="Spatial" parent="portals/d"]
  765. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -9.04785, -2.21818, 2.38419e-06 )
  766. [node name="door_out" type="MeshInstance" parent="portals/d/wall"]
  767. transform = Transform( 0.00872632, 0.999962, -1.62914e-07, 0, -1.62921e-07, -1, -0.999962, 0.00872632, -1.4217e-09, 9.33, 4.871, 0.133 )
  768. layers = 3
  769. material_override = SubResource( 45 )
  770. cast_shadow = 0
  771. mesh = SubResource( 46 )
  772. material/0 = null
  773. [node name="wall_out" type="MeshInstance" parent="portals/d/wall"]
  774. transform = Transform( 0.390731, 1.49969e-07, 0.920505, 0, 1, -1.62921e-07, -0.920505, 6.36581e-08, 0.390731, -1.28648, 4.16811, -0.522929 )
  775. material_override = SubResource( 47 )
  776. cast_shadow = 0
  777. mesh = SubResource( 48 )
  778. material/0 = null
  779. [node name="wall_in" type="MeshInstance" parent="portals/d/wall"]
  780. transform = Transform( 0.390731, 1.49969e-07, 0.920505, 0, 1, -1.62921e-07, -0.920505, 6.36581e-08, 0.390731, -1.28648, 4.16811, -0.522929 )
  781. material_override = SubResource( 50 )
  782. cast_shadow = 0
  783. mesh = SubResource( 51 )
  784. material/0 = null
  785. [node name="walls_collision" type="Spatial" parent="portals/d"]
  786. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 33.3231, 2.7582, -5.43974 )
  787. [node name="StaticBody" type="StaticBody" parent="portals/d/walls_collision"]
  788. transform = Transform( 0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, 0.707107, -12.2451, -0.10538, -36.6109 )
  789. [node name="CollisionShape" type="CollisionShape" parent="portals/d/walls_collision/StaticBody"]
  790. shape = SubResource( 26 )
  791. [node name="StaticBody2" type="StaticBody" parent="portals/d/walls_collision"]
  792. transform = Transform( 0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, 0.707107, 2.44732, -0.10538, -36.9403 )
  793. [node name="CollisionShape" type="CollisionShape" parent="portals/d/walls_collision/StaticBody2"]
  794. shape = SubResource( 26 )
  795. [node name="StaticBody4" type="StaticBody" parent="portals/d/walls_collision"]
  796. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 4.83233, -0.10538, -43.9577 )
  797. [node name="CollisionShape" type="CollisionShape" parent="portals/d/walls_collision/StaticBody4"]
  798. shape = SubResource( 26 )
  799. [node name="StaticBody5" type="StaticBody" parent="portals/d/walls_collision"]
  800. transform = Transform( -0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, -0.707107, 2.12056, -0.10538, -50.3058 )
  801. [node name="CollisionShape" type="CollisionShape" parent="portals/d/walls_collision/StaticBody5"]
  802. shape = SubResource( 26 )
  803. [node name="StaticBody6" type="StaticBody" parent="portals/d/walls_collision"]
  804. transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, -5.16312, -0.10538, -53.4075 )
  805. [node name="CollisionShape" type="CollisionShape" parent="portals/d/walls_collision/StaticBody6"]
  806. shape = SubResource( 26 )
  807. [node name="StaticBody7" type="StaticBody" parent="portals/d/walls_collision"]
  808. transform = Transform( -0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, -0.707107, -11.7879, -0.10538, -50.5141 )
  809. [node name="CollisionShape" type="CollisionShape" parent="portals/d/walls_collision/StaticBody7"]
  810. shape = SubResource( 26 )
  811. [node name="StaticBody8" type="StaticBody" parent="portals/d/walls_collision"]
  812. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, -14.8162, -0.10538, -42.8408 )
  813. [node name="CollisionShape" type="CollisionShape" parent="portals/d/walls_collision/StaticBody8"]
  814. shape = SubResource( 26 )
  815. [node name="StaticBody3" type="StaticBody" parent="portals/d/walls_collision"]
  816. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2.44732, -0.10538, -33.5318 )
  817. [node name="CollisionShape" type="CollisionShape" parent="portals/d/walls_collision/StaticBody3"]
  818. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.73305, 0, 0 )
  819. shape = SubResource( 27 )
  820. [node name="sun_pos" type="Spatial" parent="portals/d"]
  821. transform = Transform( -0.734879, 0, 0.678198, 0, 1, 0, -0.678198, 0, -0.734879, -6.97079, 2.1654, 6.30041 )
  822. [node name="b0" type="Spatial" parent="portals/d/sun_pos"]
  823. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.3117, -1.27058, 0 )
  824. [node name="Area_btn" type="Area" parent="portals/d/sun_pos/b0"]
  825. [node name="CollisionShape" type="CollisionShape" parent="portals/d/sun_pos/b0/Area_btn"]
  826. shape = SubResource( 7 )
  827. [node name="b1" type="Spatial" parent="portals/d/sun_pos"]
  828. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.686, -1.27, -0.81 )
  829. [node name="Area_btn" type="Area" parent="portals/d/sun_pos/b1"]
  830. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.001, 0 )
  831. [node name="CollisionShape" type="CollisionShape" parent="portals/d/sun_pos/b1/Area_btn"]
  832. shape = SubResource( 7 )
  833. [node name="b2" type="Spatial" parent="portals/d/sun_pos"]
  834. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5.94, -1.27, -1.624 )
  835. [node name="Area_btn" type="Area" parent="portals/d/sun_pos/b2"]
  836. [node name="CollisionShape" type="CollisionShape" parent="portals/d/sun_pos/b2/Area_btn"]
  837. shape = SubResource( 7 )
  838. [node name="e" type="Spatial" parent="portals"]
  839. transform = Transform( -1, 0, 3.25841e-07, 0, 1, 0, -3.25841e-07, 0, -1, 41.4471, -0.899396, -1.25007 )
  840. [node name="Area" type="Area" parent="portals/e"]
  841. transform = Transform( 0.390731, 0, 0.920505, 0, 1, 0, -0.920505, 0, 0.390731, -10.6978, 1.10282, 2.86102e-06 )
  842. [node name="CollisionShape" type="CollisionShape" parent="portals/e/Area"]
  843. shape = SubResource( 10 )
  844. [node name="Area2" type="Area" parent="portals/e"]
  845. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -10.6978, 1.10282, 2.86102e-06 )
  846. [node name="CollisionShape" type="CollisionShape" parent="portals/e/Area2"]
  847. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7.15402, 0, -9.53674e-07 )
  848. shape = SubResource( 11 )
  849. [node name="CollisionShape3" type="CollisionShape" parent="portals/e/Area2"]
  850. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7.80056, 0, 3.5046 )
  851. shape = SubResource( 12 )
  852. [node name="CollisionShape4" type="CollisionShape" parent="portals/e/Area2"]
  853. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 7.80056, 0, -3.40023 )
  854. shape = SubResource( 12 )
  855. [node name="CollisionShape2" type="CollisionShape" parent="portals/e/Area2"]
  856. transform = Transform( 0.390731, 0, 0.920505, 0, 1, 0, -0.920505, 0, 0.390731, -2.57009, 0, -0.0603828 )
  857. shape = SubResource( 10 )
  858. [node name="Area3" type="Area" parent="portals/e"]
  859. [node name="CollisionShape" type="CollisionShape" parent="portals/e/Area3"]
  860. shape = SubResource( 13 )
  861. [node name="CollisionShape2" type="CollisionShape" parent="portals/e/Area3"]
  862. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -9.97542, 0, 5.24521e-06 )
  863. shape = SubResource( 14 )
  864. [node name="stone_ancient_window__door_frame_pbr" parent="portals/e" instance=ExtResource( 6 )]
  865. [node name="low_poly_nature_scene" parent="portals/e" instance=ExtResource( 9 )]
  866. transform = Transform( -0.920505, -0.390731, -6.36581e-08, 0, -1.62921e-07, 1, -0.390731, 0.920505, 1.49969e-07, -9.04785, -2.21818, 2.38419e-06 )
  867. visible = false
  868. [node name="wall" type="Spatial" parent="portals/e"]
  869. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -9.04785, -2.21818, 2.38419e-06 )
  870. [node name="door_out" type="MeshInstance" parent="portals/e/wall"]
  871. transform = Transform( 0.00872632, 0.999962, -1.62914e-07, 0, -1.62921e-07, -1, -0.999962, 0.00872632, -1.4217e-09, 9.33, 4.871, 0.133 )
  872. layers = 3
  873. material_override = SubResource( 53 )
  874. cast_shadow = 0
  875. mesh = SubResource( 54 )
  876. material/0 = null
  877. [node name="wall_out" type="MeshInstance" parent="portals/e/wall"]
  878. transform = Transform( 0.390731, 1.49969e-07, 0.920505, 0, 1, -1.62921e-07, -0.920505, 6.36581e-08, 0.390731, -1.28648, 4.16811, -0.522929 )
  879. material_override = SubResource( 55 )
  880. cast_shadow = 0
  881. mesh = SubResource( 56 )
  882. material/0 = null
  883. [node name="wall_in" type="MeshInstance" parent="portals/e/wall"]
  884. transform = Transform( 0.390731, 1.49969e-07, 0.920505, 0, 1, -1.62921e-07, -0.920505, 6.36581e-08, 0.390731, -1.28648, 4.16811, -0.522929 )
  885. material_override = SubResource( 58 )
  886. cast_shadow = 0
  887. mesh = SubResource( 59 )
  888. material/0 = null
  889. [node name="walls_collision" type="Spatial" parent="portals/e"]
  890. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 33.3231, 2.7582, -5.43974 )
  891. [node name="StaticBody" type="StaticBody" parent="portals/e/walls_collision"]
  892. transform = Transform( 0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, 0.707107, -12.2451, -0.10538, -36.6109 )
  893. [node name="CollisionShape" type="CollisionShape" parent="portals/e/walls_collision/StaticBody"]
  894. shape = SubResource( 26 )
  895. [node name="StaticBody2" type="StaticBody" parent="portals/e/walls_collision"]
  896. transform = Transform( 0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, 0.707107, 2.44732, -0.10538, -36.9403 )
  897. [node name="CollisionShape" type="CollisionShape" parent="portals/e/walls_collision/StaticBody2"]
  898. shape = SubResource( 26 )
  899. [node name="StaticBody4" type="StaticBody" parent="portals/e/walls_collision"]
  900. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, 4.83233, -0.10538, -43.9577 )
  901. [node name="CollisionShape" type="CollisionShape" parent="portals/e/walls_collision/StaticBody4"]
  902. shape = SubResource( 26 )
  903. [node name="StaticBody5" type="StaticBody" parent="portals/e/walls_collision"]
  904. transform = Transform( -0.707107, 0, 0.707107, 0, 1, 0, -0.707107, 0, -0.707107, 2.12056, -0.10538, -50.3058 )
  905. [node name="CollisionShape" type="CollisionShape" parent="portals/e/walls_collision/StaticBody5"]
  906. shape = SubResource( 26 )
  907. [node name="StaticBody6" type="StaticBody" parent="portals/e/walls_collision"]
  908. transform = Transform( -1, 0, -3.25841e-07, 0, 1, 0, 3.25841e-07, 0, -1, -5.16312, -0.10538, -53.4075 )
  909. [node name="CollisionShape" type="CollisionShape" parent="portals/e/walls_collision/StaticBody6"]
  910. shape = SubResource( 26 )
  911. [node name="StaticBody7" type="StaticBody" parent="portals/e/walls_collision"]
  912. transform = Transform( -0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, -0.707107, -11.7879, -0.10538, -50.5141 )
  913. [node name="CollisionShape" type="CollisionShape" parent="portals/e/walls_collision/StaticBody7"]
  914. shape = SubResource( 26 )
  915. [node name="StaticBody8" type="StaticBody" parent="portals/e/walls_collision"]
  916. transform = Transform( -1.62921e-07, 0, 1, 0, 1, 0, -1, 0, -1.62921e-07, -14.8162, -0.10538, -42.8408 )
  917. [node name="CollisionShape" type="CollisionShape" parent="portals/e/walls_collision/StaticBody8"]
  918. shape = SubResource( 26 )
  919. [node name="StaticBody3" type="StaticBody" parent="portals/e/walls_collision"]
  920. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2.44732, -0.10538, -33.5318 )
  921. [node name="CollisionShape" type="CollisionShape" parent="portals/e/walls_collision/StaticBody3"]
  922. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -4.73305, 0, 0 )
  923. shape = SubResource( 27 )
  924. [node name="sun_pos" type="Spatial" parent="portals/e"]
  925. transform = Transform( -0.734879, 0, 0.678198, 0, 1, 0, -0.678198, 0, -0.734879, -6.97079, 2.1654, 6.30041 )
  926. [node name="b0" type="Spatial" parent="portals/e/sun_pos"]
  927. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 1.3117, -1.27058, 0 )
  928. [node name="Area_btn" type="Area" parent="portals/e/sun_pos/b0"]
  929. [node name="CollisionShape" type="CollisionShape" parent="portals/e/sun_pos/b0/Area_btn"]
  930. shape = SubResource( 7 )
  931. [node name="b1" type="Spatial" parent="portals/e/sun_pos"]
  932. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 3.686, -1.27, -0.81 )
  933. [node name="Area_btn" type="Area" parent="portals/e/sun_pos/b1"]
  934. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.001, 0 )
  935. [node name="CollisionShape" type="CollisionShape" parent="portals/e/sun_pos/b1/Area_btn"]
  936. shape = SubResource( 7 )
  937. [node name="b2" type="Spatial" parent="portals/e/sun_pos"]
  938. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5.94, -1.27, -1.624 )
  939. [node name="Area_btn" type="Area" parent="portals/e/sun_pos/b2"]
  940. [node name="CollisionShape" type="CollisionShape" parent="portals/e/sun_pos/b2/Area_btn"]
  941. shape = SubResource( 7 )
  942. [node name="collision_spheres" type="Spatial" parent="."]
  943. [node name="sphere1" type="RigidBody" parent="collision_spheres" groups=[
  944. "spheres",
  945. ]]
  946. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 11.3875, 2.49297, -38.0404 )
  947. script = ExtResource( 17 )
  948. [node name="sphere1" parent="collision_spheres/sphere1" instance=ExtResource( 13 )]
  949. [node name="CollisionShape" type="CollisionShape" parent="collision_spheres/sphere1"]
  950. shape = SubResource( 60 )
  951. [node name="sphere2" type="RigidBody" parent="collision_spheres" groups=[
  952. "spheres",
  953. ]]
  954. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -6.58121, -0.254396, -38.0372 )
  955. script = ExtResource( 17 )
  956. [node name="sphere2" parent="collision_spheres/sphere2" instance=ExtResource( 14 )]
  957. [node name="CollisionShape" type="CollisionShape" parent="collision_spheres/sphere2"]
  958. shape = SubResource( 61 )
  959. [node name="sphere3" type="RigidBody" parent="collision_spheres" groups=[
  960. "spheres",
  961. ]]
  962. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 35.0255, -1.71856, -37.8944 )
  963. script = ExtResource( 17 )
  964. [node name="CollisionShape" type="CollisionShape" parent="collision_spheres/sphere3"]
  965. shape = SubResource( 62 )
  966. [node name="sphere3" parent="collision_spheres/sphere3" instance=ExtResource( 15 )]
  967. [node name="sphere4" type="RigidBody" parent="collision_spheres" groups=[
  968. "spheres",
  969. ]]
  970. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 43.2844, -1.29228, -26.8383 )
  971. script = ExtResource( 17 )
  972. [node name="CollisionShape" type="CollisionShape" parent="collision_spheres/sphere4"]
  973. shape = SubResource( 63 )
  974. [node name="sphere4" parent="collision_spheres/sphere4" instance=ExtResource( 19 )]
  975. [node name="sphere5" type="RigidBody" parent="collision_spheres" groups=[
  976. "spheres",
  977. ]]
  978. transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 46.4236, 1.36872, -1.66445 )
  979. script = ExtResource( 17 )
  980. [node name="CollisionShape" type="CollisionShape" parent="collision_spheres/sphere5"]
  981. shape = SubResource( 64 )
  982. [node name="sphere5" parent="collision_spheres/sphere5" instance=ExtResource( 18 )]
  983. [node name="post_init" type="Spatial" parent="."]
  984. script = ExtResource( 16 )
  985. [node name="Control" type="Control" parent="."]
  986. margin_right = 206.0
  987. margin_bottom = 93.0
  988. script = ExtResource( 25 )
  989. __meta__ = {
  990. "_edit_use_anchors_": false
  991. }
  992. [node name="options" type="Button" parent="Control"]
  993. margin_left = 57.0
  994. margin_top = 37.0
  995. margin_right = 184.0
  996. margin_bottom = 63.0
  997. custom_styles/hover = SubResource( 65 )
  998. custom_styles/pressed = SubResource( 66 )
  999. custom_styles/focus = SubResource( 67 )
  1000. custom_styles/disabled = SubResource( 68 )
  1001. custom_styles/normal = SubResource( 69 )
  1002. custom_fonts/font = ExtResource( 24 )
  1003. custom_colors/font_color_disabled = Color( 1, 1, 1, 1 )
  1004. custom_colors/font_color = Color( 1, 1, 1, 1 )
  1005. custom_colors/font_color_hover = Color( 1, 1, 1, 1 )
  1006. custom_colors/font_color_pressed = Color( 1, 1, 1, 1 )
  1007. text = "Options"
  1008. [node name="Control" type="Control" parent="Control"]
  1009. visible = false
  1010. margin_left = 50.0
  1011. margin_top = 109.0
  1012. margin_right = 429.0
  1013. margin_bottom = 291.0
  1014. [node name="CheckBox" type="CheckBox" parent="Control/Control"]
  1015. margin_left = 3.0
  1016. margin_top = 7.0
  1017. margin_right = 310.0
  1018. margin_bottom = 54.0
  1019. custom_fonts/font = ExtResource( 24 )
  1020. text = "Optimize portals"
  1021. __meta__ = {
  1022. "_edit_use_anchors_": false
  1023. }
  1024. [connection signal="body_entered" from="sun_pos/b0/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 0, 0 ]]
  1025. [connection signal="body_entered" from="sun_pos/b1/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 1, 0 ]]
  1026. [connection signal="body_entered" from="sun_pos/b2/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 2, 0 ]]
  1027. [connection signal="body_entered" from="portals/a/Area" to="." method="_on_Area_body_entered" binds= [ 0 ]]
  1028. [connection signal="body_exited" from="portals/a/Area" to="." method="_on_Area_body_exited" binds= [ 0 ]]
  1029. [connection signal="body_entered" from="portals/a/Area2" to="." method="_on_Area2_body_entered"]
  1030. [connection signal="body_exited" from="portals/a/Area2" to="." method="_on_Area2_body_exited"]
  1031. [connection signal="body_entered" from="portals/a/Area3" to="." method="_on_Area3_body_entered" binds= [ 0 ]]
  1032. [connection signal="body_exited" from="portals/a/Area3" to="." method="_on_Area3_body_exited" binds= [ 0 ]]
  1033. [connection signal="body_entered" from="portals/a/sun_pos/b0/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 0, 1 ]]
  1034. [connection signal="body_entered" from="portals/a/sun_pos/b1/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 1, 1 ]]
  1035. [connection signal="body_entered" from="portals/a/sun_pos/b2/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 2, 1 ]]
  1036. [connection signal="body_entered" from="portals/b/Area" to="." method="_on_Area_body_entered" binds= [ 1 ]]
  1037. [connection signal="body_exited" from="portals/b/Area" to="." method="_on_Area_body_exited" binds= [ 1 ]]
  1038. [connection signal="body_entered" from="portals/b/Area2" to="." method="_on_Area2_body_entered"]
  1039. [connection signal="body_exited" from="portals/b/Area2" to="." method="_on_Area2_body_exited"]
  1040. [connection signal="body_entered" from="portals/b/Area3" to="." method="_on_Area3_body_entered" binds= [ 1 ]]
  1041. [connection signal="body_exited" from="portals/b/Area3" to="." method="_on_Area3_body_exited" binds= [ 1 ]]
  1042. [connection signal="body_entered" from="portals/b/sun_pos/b0/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 0, 2 ]]
  1043. [connection signal="body_entered" from="portals/b/sun_pos/b1/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 1, 2 ]]
  1044. [connection signal="body_entered" from="portals/b/sun_pos/b2/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 2, 2 ]]
  1045. [connection signal="body_entered" from="portals/c/Area" to="." method="_on_Area_body_entered" binds= [ 2 ]]
  1046. [connection signal="body_exited" from="portals/c/Area" to="." method="_on_Area_body_exited" binds= [ 2 ]]
  1047. [connection signal="body_entered" from="portals/c/Area2" to="." method="_on_Area2_body_entered"]
  1048. [connection signal="body_exited" from="portals/c/Area2" to="." method="_on_Area2_body_exited"]
  1049. [connection signal="body_entered" from="portals/c/Area3" to="." method="_on_Area3_body_entered" binds= [ 2 ]]
  1050. [connection signal="body_exited" from="portals/c/Area3" to="." method="_on_Area3_body_exited" binds= [ 2 ]]
  1051. [connection signal="body_entered" from="portals/c/sun_pos/b0/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 0, 3 ]]
  1052. [connection signal="body_entered" from="portals/c/sun_pos/b1/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 1, 3 ]]
  1053. [connection signal="body_entered" from="portals/c/sun_pos/b2/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 2, 3 ]]
  1054. [connection signal="body_entered" from="portals/d/Area" to="." method="_on_Area_body_entered" binds= [ 3 ]]
  1055. [connection signal="body_exited" from="portals/d/Area" to="." method="_on_Area_body_exited" binds= [ 3 ]]
  1056. [connection signal="body_entered" from="portals/d/Area2" to="." method="_on_Area2_body_entered"]
  1057. [connection signal="body_exited" from="portals/d/Area2" to="." method="_on_Area2_body_exited"]
  1058. [connection signal="body_entered" from="portals/d/Area3" to="." method="_on_Area3_body_entered" binds= [ 3 ]]
  1059. [connection signal="body_exited" from="portals/d/Area3" to="." method="_on_Area3_body_exited" binds= [ 3 ]]
  1060. [connection signal="body_entered" from="portals/d/sun_pos/b0/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 0, 4 ]]
  1061. [connection signal="body_entered" from="portals/d/sun_pos/b1/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 1, 4 ]]
  1062. [connection signal="body_entered" from="portals/d/sun_pos/b2/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 2, 4 ]]
  1063. [connection signal="body_entered" from="portals/e/Area" to="." method="_on_Area_body_entered" binds= [ 4 ]]
  1064. [connection signal="body_exited" from="portals/e/Area" to="." method="_on_Area_body_exited" binds= [ 4 ]]
  1065. [connection signal="body_entered" from="portals/e/Area2" to="." method="_on_Area2_body_entered"]
  1066. [connection signal="body_exited" from="portals/e/Area2" to="." method="_on_Area2_body_exited"]
  1067. [connection signal="body_entered" from="portals/e/Area3" to="." method="_on_Area3_body_entered" binds= [ 4 ]]
  1068. [connection signal="body_exited" from="portals/e/Area3" to="." method="_on_Area3_body_exited" binds= [ 4 ]]
  1069. [connection signal="body_entered" from="portals/e/sun_pos/b0/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 0, 5 ]]
  1070. [connection signal="body_entered" from="portals/e/sun_pos/b1/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 1, 5 ]]
  1071. [connection signal="body_entered" from="portals/e/sun_pos/b2/Area_btn" to="sun_pos" method="_on_Area_btn_body_entered" binds= [ 2, 5 ]]
  1072. [connection signal="mouse_entered" from="Control" to="Control" method="_on_Control_mouse_entered"]
  1073. [connection signal="mouse_exited" from="Control" to="Control" method="_on_Control_mouse_exited"]
  1074. [connection signal="pressed" from="Control/options" to="Control" method="_on_options_pressed"]
  1075. [connection signal="pressed" from="Control/Control/CheckBox" to="Control" method="_on_CheckBox_pressed"]