main.ls 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411
  1. {
  2. "version":"LAYASCENE3D:01",
  3. "data":{
  4. "type":"Scene3D",
  5. "props":{
  6. "name":"main",
  7. "ambientColor":[
  8. 0.212,
  9. 0.227,
  10. 0.259
  11. ],
  12. "lightmaps":[],
  13. "enableFog":false,
  14. "fogStart":0,
  15. "fogRange":300,
  16. "fogColor":[
  17. 0.5,
  18. 0.5,
  19. 0.5
  20. ]
  21. },
  22. "child":[
  23. {
  24. "type":"Camera",
  25. "props":{
  26. "name":"Main Camera",
  27. "active":true,
  28. "isStatic":false,
  29. "layer":0,
  30. "position":[
  31. 0.1472194,
  32. 14.66864,
  33. -24.65624
  34. ],
  35. "rotation":[
  36. 0.000596198,
  37. -0.9679602,
  38. -0.251092,
  39. -0.00232742
  40. ],
  41. "scale":[
  42. 1,
  43. 1,
  44. 1
  45. ],
  46. "clearFlag":1,
  47. "orthographic":false,
  48. "fieldOfView":60,
  49. "nearPlane":0.3,
  50. "farPlane":1000,
  51. "viewport":[
  52. 0,
  53. 0,
  54. 1,
  55. 1
  56. ],
  57. "clearColor":[
  58. 0.1921569,
  59. 0.3019608,
  60. 0.4745098,
  61. 0
  62. ]
  63. },
  64. "components":[],
  65. "child":[]
  66. },
  67. {
  68. "type":"DirectionLight",
  69. "props":{
  70. "name":"Directional Light",
  71. "active":true,
  72. "isStatic":false,
  73. "layer":0,
  74. "position":[
  75. 0,
  76. 3,
  77. 0
  78. ],
  79. "rotation":[
  80. 0.1093816,
  81. 0.8754261,
  82. 0.4082179,
  83. -0.2345697
  84. ],
  85. "scale":[
  86. 1,
  87. 1,
  88. 1
  89. ],
  90. "intensity":1,
  91. "lightmapBakedType":0,
  92. "color":[
  93. 1,
  94. 0.9568627,
  95. 0.8392157
  96. ]
  97. },
  98. "components":[],
  99. "child":[]
  100. },
  101. {
  102. "type":"MeshSprite3D",
  103. "props":{
  104. "name":"wall",
  105. "active":true,
  106. "isStatic":false,
  107. "layer":8,
  108. "position":[
  109. 0,
  110. 0.5,
  111. 26.89
  112. ],
  113. "rotation":[
  114. 0,
  115. 0,
  116. 0,
  117. -1
  118. ],
  119. "scale":[
  120. 113.52,
  121. 12.93065,
  122. 1
  123. ],
  124. "meshPath":"Library/unity default resources-Cube.lm",
  125. "enableRender":true,
  126. "materials":[
  127. {
  128. "type":"Laya.BlinnPhongMaterial",
  129. "path":"Assets/New Material.lmat"
  130. }
  131. ]
  132. },
  133. "components":[
  134. {
  135. "type":"PhysicsCollider",
  136. "restitution":0,
  137. "friction":0.5,
  138. "rollingFriction":0,
  139. "shapes":[
  140. {
  141. "type":"BoxColliderShape",
  142. "center":[
  143. 0,
  144. 0,
  145. 0
  146. ],
  147. "size":[
  148. 1,
  149. 1,
  150. 1
  151. ]
  152. }
  153. ],
  154. "isTrigger":false
  155. }
  156. ],
  157. "child":[]
  158. },
  159. {
  160. "type":"Sprite3D",
  161. "props":{
  162. "name":"bullet",
  163. "active":true,
  164. "isStatic":false,
  165. "layer":0,
  166. "position":[
  167. 3.96,
  168. 1.5,
  169. 1.85
  170. ],
  171. "rotation":[
  172. 0,
  173. 0,
  174. 0,
  175. -1
  176. ],
  177. "scale":[
  178. 1,
  179. 1,
  180. 1
  181. ]
  182. },
  183. "components":[],
  184. "child":[
  185. {
  186. "type":"MeshSprite3D",
  187. "props":{
  188. "name":"Cylinder",
  189. "active":true,
  190. "isStatic":false,
  191. "layer":0,
  192. "position":[
  193. 0,
  194. 0,
  195. 0.5
  196. ],
  197. "rotation":[
  198. -0.7071068,
  199. 0,
  200. 0,
  201. -0.7071068
  202. ],
  203. "scale":[
  204. 0.1,
  205. 0.5,
  206. 0.1
  207. ],
  208. "meshPath":"Library/unity default resources-Cylinder.lm",
  209. "enableRender":true,
  210. "materials":[
  211. {
  212. "type":"Laya.BlinnPhongMaterial",
  213. "path":"Assets/New Material 1.lmat"
  214. }
  215. ]
  216. },
  217. "components":[],
  218. "child":[]
  219. }
  220. ]
  221. },
  222. {
  223. "type":"MeshSprite3D",
  224. "props":{
  225. "name":"Plane",
  226. "active":true,
  227. "isStatic":false,
  228. "layer":0,
  229. "position":[
  230. 0,
  231. 0,
  232. 0
  233. ],
  234. "rotation":[
  235. 0,
  236. 0,
  237. 0,
  238. -1
  239. ],
  240. "scale":[
  241. 100,
  242. 100,
  243. 100
  244. ],
  245. "meshPath":"Library/unity default resources-Plane.lm",
  246. "enableRender":true,
  247. "materials":[
  248. {
  249. "type":"Laya.BlinnPhongMaterial",
  250. "path":"Resources/unity_builtin_extra.lmat"
  251. }
  252. ]
  253. },
  254. "components":[],
  255. "child":[]
  256. },
  257. {
  258. "type":"MeshSprite3D",
  259. "props":{
  260. "name":"role",
  261. "active":true,
  262. "isStatic":false,
  263. "layer":9,
  264. "position":[
  265. 3.96,
  266. 1.5,
  267. 0.55
  268. ],
  269. "rotation":[
  270. 0,
  271. 0.06932122,
  272. 0,
  273. -0.9975944
  274. ],
  275. "scale":[
  276. 1,
  277. 3,
  278. 1
  279. ],
  280. "meshPath":"Library/unity default resources-Cube.lm",
  281. "enableRender":true,
  282. "materials":[
  283. {
  284. "type":"Laya.BlinnPhongMaterial",
  285. "path":"Assets/New Material 2.lmat"
  286. }
  287. ]
  288. },
  289. "components":[
  290. {
  291. "type":"PhysicsCollider",
  292. "restitution":0,
  293. "friction":0.5,
  294. "rollingFriction":0,
  295. "shapes":[
  296. {
  297. "type":"BoxColliderShape",
  298. "center":[
  299. 0,
  300. 0,
  301. 0
  302. ],
  303. "size":[
  304. 1,
  305. 1,
  306. 1
  307. ]
  308. }
  309. ],
  310. "isTrigger":false
  311. }
  312. ],
  313. "child":[
  314. {
  315. "type":"MeshSprite3D",
  316. "props":{
  317. "name":"bulltePos",
  318. "active":true,
  319. "isStatic":false,
  320. "layer":9,
  321. "position":[
  322. 0,
  323. 0,
  324. 1.3
  325. ],
  326. "rotation":[
  327. 0,
  328. 0,
  329. 0,
  330. -1
  331. ],
  332. "scale":[
  333. 1,
  334. 0.3333333,
  335. 1
  336. ],
  337. "meshPath":"Library/unity default resources-Sphere.lm",
  338. "enableRender":true,
  339. "materials":[
  340. {
  341. "type":"Laya.BlinnPhongMaterial",
  342. "path":"Assets/New Material.lmat"
  343. }
  344. ]
  345. },
  346. "components":[],
  347. "child":[]
  348. }
  349. ]
  350. },
  351. {
  352. "type":"MeshSprite3D",
  353. "props":{
  354. "name":"wall (1)",
  355. "active":true,
  356. "isStatic":false,
  357. "layer":8,
  358. "position":[
  359. 0,
  360. -2.43,
  361. -7.8
  362. ],
  363. "rotation":[
  364. 0,
  365. 0,
  366. 0,
  367. -1
  368. ],
  369. "scale":[
  370. 13.20082,
  371. 12.93065,
  372. 1
  373. ],
  374. "meshPath":"Library/unity default resources-Cube.lm",
  375. "enableRender":true,
  376. "materials":[
  377. {
  378. "type":"Laya.BlinnPhongMaterial",
  379. "path":"Assets/New Material.lmat"
  380. }
  381. ]
  382. },
  383. "components":[
  384. {
  385. "type":"PhysicsCollider",
  386. "restitution":0,
  387. "friction":0.5,
  388. "rollingFriction":0,
  389. "shapes":[
  390. {
  391. "type":"BoxColliderShape",
  392. "center":[
  393. 0,
  394. 0,
  395. 0
  396. ],
  397. "size":[
  398. 1,
  399. 1,
  400. 1
  401. ]
  402. }
  403. ],
  404. "isTrigger":false
  405. }
  406. ],
  407. "child":[]
  408. }
  409. ]
  410. }
  411. }