GameScene.ls 30 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625
  1. {
  2. "version":"LAYASCENE3D:01",
  3. "data":{
  4. "type":"Scene3D",
  5. "props":{
  6. "name":"GameScene",
  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. 1.71,
  32. 7.4,
  33. -10.01
  34. ],
  35. "rotation":[
  36. -0.02379568,
  37. 0.9470121,
  38. 0.3120562,
  39. 0.07226899
  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":"Sprite3D",
  103. "props":{
  104. "name":"Wall",
  105. "active":true,
  106. "isStatic":false,
  107. "layer":8,
  108. "position":[
  109. 2.48,
  110. 0,
  111. 0
  112. ],
  113. "rotation":[
  114. 0,
  115. 0.7071068,
  116. 0,
  117. -0.7071068
  118. ],
  119. "scale":[
  120. 1,
  121. 1,
  122. 1
  123. ]
  124. },
  125. "components":[],
  126. "child":[
  127. {
  128. "type":"MeshSprite3D",
  129. "props":{
  130. "name":"wall",
  131. "active":true,
  132. "isStatic":false,
  133. "layer":8,
  134. "position":[
  135. 0,
  136. 1,
  137. 0
  138. ],
  139. "rotation":[
  140. 0,
  141. 0,
  142. 0,
  143. -1
  144. ],
  145. "scale":[
  146. 1,
  147. 1,
  148. 1
  149. ],
  150. "meshPath":"Assets/LastRes/wall-Wall.lm",
  151. "enableRender":true,
  152. "materials":[
  153. {
  154. "path":"Assets/LastRes/Materials/Black.lmat"
  155. }
  156. ]
  157. },
  158. "components":[
  159. {
  160. "type":"PhysicsCollider",
  161. "restitution":0,
  162. "friction":0.5,
  163. "rollingFriction":0,
  164. "shapes":[
  165. {
  166. "type":"BoxColliderShape",
  167. "center":[
  168. 0,
  169. 0,
  170. 0
  171. ],
  172. "size":[
  173. 2,
  174. 2,
  175. 0.25
  176. ]
  177. }
  178. ],
  179. "isTrigger":false
  180. }
  181. ],
  182. "child":[]
  183. }
  184. ]
  185. },
  186. {
  187. "type":"Sprite3D",
  188. "props":{
  189. "name":"Wall (1)",
  190. "active":true,
  191. "isStatic":false,
  192. "layer":8,
  193. "position":[
  194. 0,
  195. 0,
  196. 0
  197. ],
  198. "rotation":[
  199. 0,
  200. 0.7071068,
  201. 0,
  202. -0.7071068
  203. ],
  204. "scale":[
  205. 1,
  206. 1,
  207. 1
  208. ]
  209. },
  210. "components":[],
  211. "child":[
  212. {
  213. "type":"MeshSprite3D",
  214. "props":{
  215. "name":"wall",
  216. "active":true,
  217. "isStatic":false,
  218. "layer":8,
  219. "position":[
  220. 0,
  221. 1,
  222. 0
  223. ],
  224. "rotation":[
  225. 0,
  226. 0,
  227. 0,
  228. -1
  229. ],
  230. "scale":[
  231. 1,
  232. 1,
  233. 1
  234. ],
  235. "meshPath":"Assets/LastRes/wall-Wall.lm",
  236. "enableRender":true,
  237. "materials":[
  238. {
  239. "path":"Assets/LastRes/Materials/Black.lmat"
  240. }
  241. ]
  242. },
  243. "components":[
  244. {
  245. "type":"PhysicsCollider",
  246. "restitution":0,
  247. "friction":0.5,
  248. "rollingFriction":0,
  249. "shapes":[
  250. {
  251. "type":"BoxColliderShape",
  252. "center":[
  253. 0,
  254. 0,
  255. 0
  256. ],
  257. "size":[
  258. 2,
  259. 2,
  260. 0.25
  261. ]
  262. }
  263. ],
  264. "isTrigger":false
  265. }
  266. ],
  267. "child":[]
  268. }
  269. ]
  270. },
  271. {
  272. "type":"Sprite3D",
  273. "props":{
  274. "name":"Wall (2)",
  275. "active":true,
  276. "isStatic":false,
  277. "layer":8,
  278. "position":[
  279. -2.48,
  280. 0,
  281. 0
  282. ],
  283. "rotation":[
  284. 0,
  285. 0.7071068,
  286. 0,
  287. -0.7071068
  288. ],
  289. "scale":[
  290. 1,
  291. 1,
  292. 1
  293. ]
  294. },
  295. "components":[],
  296. "child":[
  297. {
  298. "type":"MeshSprite3D",
  299. "props":{
  300. "name":"wall",
  301. "active":true,
  302. "isStatic":false,
  303. "layer":8,
  304. "position":[
  305. 0,
  306. 1,
  307. 0
  308. ],
  309. "rotation":[
  310. 0,
  311. 0,
  312. 0,
  313. -1
  314. ],
  315. "scale":[
  316. 1,
  317. 1,
  318. 1
  319. ],
  320. "meshPath":"Assets/LastRes/wall-Wall.lm",
  321. "enableRender":true,
  322. "materials":[
  323. {
  324. "path":"Assets/LastRes/Materials/Black.lmat"
  325. }
  326. ]
  327. },
  328. "components":[
  329. {
  330. "type":"PhysicsCollider",
  331. "restitution":0,
  332. "friction":0.5,
  333. "rollingFriction":0,
  334. "shapes":[
  335. {
  336. "type":"BoxColliderShape",
  337. "center":[
  338. 0,
  339. 0,
  340. 0
  341. ],
  342. "size":[
  343. 2,
  344. 2,
  345. 0.25
  346. ]
  347. }
  348. ],
  349. "isTrigger":false
  350. }
  351. ],
  352. "child":[]
  353. }
  354. ]
  355. },
  356. {
  357. "type":"MeshSprite3D",
  358. "props":{
  359. "name":"Plane",
  360. "active":true,
  361. "isStatic":false,
  362. "layer":0,
  363. "position":[
  364. 0,
  365. 0,
  366. 0
  367. ],
  368. "rotation":[
  369. 0,
  370. 0,
  371. 0,
  372. -1
  373. ],
  374. "scale":[
  375. 12.96822,
  376. 1,
  377. 13.81933
  378. ],
  379. "meshPath":"Library/unity default resources-Plane.lm",
  380. "enableRender":true,
  381. "materials":[
  382. {
  383. "type":"Laya.BlinnPhongMaterial",
  384. "path":"Assets/LastRes/Materials/Floor.lmat"
  385. }
  386. ]
  387. },
  388. "components":[
  389. {
  390. "type":"PhysicsCollider",
  391. "restitution":0,
  392. "friction":0.5,
  393. "rollingFriction":0,
  394. "shapes":[
  395. {
  396. "type":"MeshColliderShape",
  397. "mesh":"Library/unity default resources-Plane.lm"
  398. }
  399. ],
  400. "isTrigger":false
  401. }
  402. ],
  403. "child":[]
  404. },
  405. {
  406. "type":"Sprite3D",
  407. "props":{
  408. "name":"Players",
  409. "active":true,
  410. "isStatic":false,
  411. "layer":0,
  412. "position":[
  413. 0,
  414. 0,
  415. 0
  416. ],
  417. "rotation":[
  418. 0,
  419. 0,
  420. 0,
  421. -1
  422. ],
  423. "scale":[
  424. 1,
  425. 1,
  426. 1
  427. ]
  428. },
  429. "components":[],
  430. "child":[
  431. {
  432. "type":"Sprite3D",
  433. "props":{
  434. "name":"player_shoot1",
  435. "active":true,
  436. "isStatic":false,
  437. "layer":9,
  438. "position":[
  439. 0.893,
  440. 0,
  441. -2.857
  442. ],
  443. "rotation":[
  444. 0,
  445. -0.452746,
  446. 0,
  447. -0.8916396
  448. ],
  449. "scale":[
  450. 1,
  451. 1,
  452. 1
  453. ]
  454. },
  455. "components":[
  456. {
  457. "type":"PhysicsCollider",
  458. "restitution":0,
  459. "friction":0.5,
  460. "rollingFriction":0,
  461. "shapes":[
  462. {
  463. "type":"CapsuleColliderShape",
  464. "center":[
  465. 0,
  466. 0.86,
  467. 0
  468. ],
  469. "radius":0.3496907,
  470. "height":1.718704
  471. }
  472. ],
  473. "isTrigger":false
  474. },
  475. {
  476. "type":"Animator",
  477. "avatar":{
  478. "path":"Assets/LastRes/pasted__polySurface112-player_shoot1-pasted__polySurface112Avatar.lav",
  479. "linkSprites":{
  480. "GUN:pCube1":[
  481. "GUN:pCube1"
  482. ],
  483. "GUN:pCube2":[
  484. "GUN:pCube2"
  485. ],
  486. "bulletPos":[
  487. "bulletPos"
  488. ],
  489. "Shell":[
  490. "Shell"
  491. ]
  492. }
  493. },
  494. "layers":[],
  495. "cullingMode":0,
  496. "playOnWake":true
  497. }
  498. ],
  499. "child":[
  500. {
  501. "type":"SkinnedMeshSprite3D",
  502. "props":{
  503. "name":"pasted__polySurface11",
  504. "active":true,
  505. "isStatic":false,
  506. "layer":9,
  507. "position":[
  508. -4.836681,
  509. -0.8724918,
  510. -0.9277173
  511. ],
  512. "rotation":[
  513. 0,
  514. 0,
  515. 0,
  516. -1
  517. ],
  518. "scale":[
  519. 1,
  520. 1,
  521. 1
  522. ],
  523. "rootBone":"Floppy_Hips",
  524. "boundBox":{
  525. "min":[
  526. -0.8979983,
  527. -0.2801096,
  528. -0.4452674
  529. ],
  530. "max":[
  531. 0.9362673,
  532. 0.7032709,
  533. 0.40298
  534. ]
  535. },
  536. "boundSphere":{
  537. "center":[
  538. 0.01913446,
  539. 0.2115806,
  540. -0.0211437
  541. ],
  542. "radius":1.123732
  543. },
  544. "materials":[
  545. {
  546. "path":"Assets/LastRes/Materials/Gray.lmat"
  547. }
  548. ],
  549. "meshPath":"Assets/LastRes/pasted__polySurface11-pasted__polySurface11.lm"
  550. },
  551. "components":[],
  552. "child":[]
  553. },
  554. {
  555. "type":"MeshSprite3D",
  556. "props":{
  557. "name":"GUN:pCube1",
  558. "active":true,
  559. "isStatic":false,
  560. "layer":9,
  561. "position":[
  562. 0.05002916,
  563. 1.143232,
  564. 0.7839249
  565. ],
  566. "rotation":[
  567. -0.01783611,
  568. -0.0001072428,
  569. 0.005287394,
  570. -0.9998269
  571. ],
  572. "scale":[
  573. 2.688133,
  574. 2.688132,
  575. 2.688132
  576. ],
  577. "meshPath":"Assets/CrackRes/gun1-GUN_pCube1.lm",
  578. "enableRender":true,
  579. "materials":[
  580. {
  581. "type":"Laya.BlinnPhongMaterial",
  582. "path":"Assets/CrackRes/Materials/Black.lmat"
  583. }
  584. ]
  585. },
  586. "components":[],
  587. "child":[]
  588. },
  589. {
  590. "type":"MeshSprite3D",
  591. "props":{
  592. "name":"GUN:pCube2",
  593. "active":true,
  594. "isStatic":false,
  595. "layer":9,
  596. "position":[
  597. 0.0501879,
  598. 1.165311,
  599. 0.5989527
  600. ],
  601. "rotation":[
  602. -0.01783611,
  603. -0.0001072428,
  604. 0.005287394,
  605. -0.9998269
  606. ],
  607. "scale":[
  608. 2.688133,
  609. 2.688132,
  610. 2.688132
  611. ],
  612. "meshPath":"Assets/CrackRes/gun1-GUN_pCube2.lm",
  613. "enableRender":true,
  614. "materials":[
  615. {
  616. "type":"Laya.BlinnPhongMaterial",
  617. "path":"Assets/CrackRes/Materials/Black.lmat"
  618. }
  619. ]
  620. },
  621. "components":[],
  622. "child":[]
  623. },
  624. {
  625. "type":"MeshSprite3D",
  626. "props":{
  627. "name":"bulletPos",
  628. "active":true,
  629. "isStatic":false,
  630. "layer":9,
  631. "position":[
  632. 0.05295496,
  633. 1.157302,
  634. 1.05427
  635. ],
  636. "rotation":[
  637. -0.01905761,
  638. -0.0001007989,
  639. 0.005287521,
  640. -0.9998044
  641. ],
  642. "scale":[
  643. 1,
  644. 1,
  645. 1
  646. ],
  647. "enableRender":false,
  648. "materials":[]
  649. },
  650. "components":[],
  651. "child":[]
  652. },
  653. {
  654. "type":"MeshSprite3D",
  655. "props":{
  656. "name":"Shell",
  657. "active":true,
  658. "isStatic":false,
  659. "layer":9,
  660. "position":[
  661. 0.05298791,
  662. 1.174534,
  663. 0.6837572
  664. ],
  665. "rotation":[
  666. -0.7204443,
  667. 0.00366756,
  668. 0.003810125,
  669. -0.6934927
  670. ],
  671. "scale":[
  672. 1.5,
  673. 1.5,
  674. 1.5
  675. ],
  676. "meshPath":"Assets/CrackRes/gun1-Shell.lm",
  677. "enableRender":true,
  678. "materials":[
  679. {
  680. "type":"Laya.BlinnPhongMaterial",
  681. "path":"Assets/CrackRes/Materials/Black.lmat"
  682. }
  683. ]
  684. },
  685. "components":[],
  686. "child":[]
  687. }
  688. ]
  689. }
  690. ]
  691. },
  692. {
  693. "type":"Sprite3D",
  694. "props":{
  695. "name":"Mosters",
  696. "active":true,
  697. "isStatic":false,
  698. "layer":0,
  699. "position":[
  700. 0,
  701. 0,
  702. 0
  703. ],
  704. "rotation":[
  705. 0,
  706. 0,
  707. 0,
  708. -1
  709. ],
  710. "scale":[
  711. 1,
  712. 1,
  713. 1
  714. ]
  715. },
  716. "components":[],
  717. "child":[
  718. {
  719. "type":"Sprite3D",
  720. "props":{
  721. "name":"moster_shoot1",
  722. "active":true,
  723. "isStatic":false,
  724. "layer":10,
  725. "position":[
  726. -1.42,
  727. 0,
  728. -1.733
  729. ],
  730. "rotation":[
  731. 0,
  732. 0,
  733. 0,
  734. -1
  735. ],
  736. "scale":[
  737. 1,
  738. 1,
  739. 1
  740. ]
  741. },
  742. "components":[
  743. {
  744. "type":"PhysicsCollider",
  745. "restitution":0,
  746. "friction":0.5,
  747. "rollingFriction":0,
  748. "shapes":[
  749. {
  750. "type":"CapsuleColliderShape",
  751. "center":[
  752. 0,
  753. 0.86,
  754. 0
  755. ],
  756. "radius":0.3496907,
  757. "height":1.718704
  758. }
  759. ],
  760. "isTrigger":false
  761. },
  762. {
  763. "type":"Animator",
  764. "avatar":{
  765. "path":"Assets/LastRes/pasted__polySurface112-moster_shoot1-pasted__polySurface112Avatar.lav",
  766. "linkSprites":{
  767. "GUN:pCube1":[
  768. "GUN:pCube1"
  769. ],
  770. "GUN:pCube2":[
  771. "GUN:pCube2"
  772. ],
  773. "bulletPos":[
  774. "bulletPos"
  775. ],
  776. "Shell":[
  777. "Shell"
  778. ]
  779. }
  780. },
  781. "layers":[],
  782. "cullingMode":0,
  783. "playOnWake":true
  784. }
  785. ],
  786. "child":[
  787. {
  788. "type":"SkinnedMeshSprite3D",
  789. "props":{
  790. "name":"pasted__polySurface11",
  791. "active":true,
  792. "isStatic":false,
  793. "layer":10,
  794. "position":[
  795. -4.836681,
  796. -0.8724918,
  797. -0.9277174
  798. ],
  799. "rotation":[
  800. 0,
  801. 0,
  802. 0,
  803. -1
  804. ],
  805. "scale":[
  806. 1,
  807. 1,
  808. 1
  809. ],
  810. "rootBone":"Floppy_Hips",
  811. "boundBox":{
  812. "min":[
  813. -0.8979983,
  814. -0.2801096,
  815. -0.4452674
  816. ],
  817. "max":[
  818. 0.9362673,
  819. 0.7032709,
  820. 0.40298
  821. ]
  822. },
  823. "boundSphere":{
  824. "center":[
  825. 0.01913446,
  826. 0.2115806,
  827. -0.0211437
  828. ],
  829. "radius":1.123732
  830. },
  831. "materials":[
  832. {
  833. "path":"Assets/LastRes/Materials/Red.lmat"
  834. }
  835. ],
  836. "meshPath":"Assets/LastRes/pasted__polySurface11-pasted__polySurface11.lm"
  837. },
  838. "components":[],
  839. "child":[]
  840. },
  841. {
  842. "type":"MeshSprite3D",
  843. "props":{
  844. "name":"GUN:pCube1",
  845. "active":true,
  846. "isStatic":false,
  847. "layer":10,
  848. "position":[
  849. 0.05002916,
  850. 1.143232,
  851. 0.7839248
  852. ],
  853. "rotation":[
  854. -0.01783611,
  855. -0.0001072464,
  856. 0.005287395,
  857. -0.9998269
  858. ],
  859. "scale":[
  860. 2.688132,
  861. 2.688132,
  862. 2.688132
  863. ],
  864. "meshPath":"Assets/CrackRes/gun1-GUN_pCube1.lm",
  865. "enableRender":true,
  866. "materials":[
  867. {
  868. "type":"Laya.BlinnPhongMaterial",
  869. "path":"Assets/CrackRes/Materials/Black.lmat"
  870. }
  871. ]
  872. },
  873. "components":[],
  874. "child":[]
  875. },
  876. {
  877. "type":"MeshSprite3D",
  878. "props":{
  879. "name":"GUN:pCube2",
  880. "active":true,
  881. "isStatic":false,
  882. "layer":10,
  883. "position":[
  884. 0.05018795,
  885. 1.165311,
  886. 0.5989527
  887. ],
  888. "rotation":[
  889. -0.01783611,
  890. -0.0001072464,
  891. 0.005287395,
  892. -0.9998269
  893. ],
  894. "scale":[
  895. 2.688132,
  896. 2.688132,
  897. 2.688132
  898. ],
  899. "meshPath":"Assets/CrackRes/gun1-GUN_pCube2.lm",
  900. "enableRender":true,
  901. "materials":[
  902. {
  903. "type":"Laya.BlinnPhongMaterial",
  904. "path":"Assets/CrackRes/Materials/Black.lmat"
  905. }
  906. ]
  907. },
  908. "components":[],
  909. "child":[]
  910. },
  911. {
  912. "type":"MeshSprite3D",
  913. "props":{
  914. "name":"bulletPos",
  915. "active":true,
  916. "isStatic":false,
  917. "layer":10,
  918. "position":[
  919. 0.05295503,
  920. 1.157302,
  921. 1.05427
  922. ],
  923. "rotation":[
  924. -0.01905762,
  925. -0.0001007866,
  926. 0.005287522,
  927. -0.9998044
  928. ],
  929. "scale":[
  930. 1,
  931. 1,
  932. 1
  933. ],
  934. "enableRender":false,
  935. "materials":[]
  936. },
  937. "components":[],
  938. "child":[]
  939. },
  940. {
  941. "type":"MeshSprite3D",
  942. "props":{
  943. "name":"Shell",
  944. "active":true,
  945. "isStatic":false,
  946. "layer":10,
  947. "position":[
  948. 0.05298781,
  949. 1.174534,
  950. 0.6837573
  951. ],
  952. "rotation":[
  953. -0.7204443,
  954. 0.003667576,
  955. 0.00381011,
  956. -0.6934927
  957. ],
  958. "scale":[
  959. 1.5,
  960. 1.5,
  961. 1.5
  962. ],
  963. "meshPath":"Assets/CrackRes/gun1-Shell.lm",
  964. "enableRender":true,
  965. "materials":[
  966. {
  967. "type":"Laya.BlinnPhongMaterial",
  968. "path":"Assets/CrackRes/Materials/Black.lmat"
  969. }
  970. ]
  971. },
  972. "components":[],
  973. "child":[]
  974. }
  975. ]
  976. },
  977. {
  978. "type":"Sprite3D",
  979. "props":{
  980. "name":"moster_shoot1 (1)",
  981. "active":true,
  982. "isStatic":false,
  983. "layer":10,
  984. "position":[
  985. -1.42,
  986. 0,
  987. 3.96
  988. ],
  989. "rotation":[
  990. 0,
  991. -0.7484929,
  992. 0,
  993. -0.6631429
  994. ],
  995. "scale":[
  996. 1,
  997. 1,
  998. 1
  999. ]
  1000. },
  1001. "components":[
  1002. {
  1003. "type":"PhysicsCollider",
  1004. "restitution":0,
  1005. "friction":0.5,
  1006. "rollingFriction":0,
  1007. "shapes":[
  1008. {
  1009. "type":"CapsuleColliderShape",
  1010. "center":[
  1011. 0,
  1012. 0.86,
  1013. 0
  1014. ],
  1015. "radius":0.3496907,
  1016. "height":1.718704
  1017. }
  1018. ],
  1019. "isTrigger":false
  1020. },
  1021. {
  1022. "type":"Animator",
  1023. "avatar":{
  1024. "path":"Assets/LastRes/pasted__polySurface112-moster_shoot1 (1)-pasted__polySurface112Avatar.lav",
  1025. "linkSprites":{
  1026. "GUN:pCube1":[
  1027. "GUN:pCube1"
  1028. ],
  1029. "GUN:pCube2":[
  1030. "GUN:pCube2"
  1031. ],
  1032. "bulletPos":[
  1033. "bulletPos"
  1034. ],
  1035. "Shell":[
  1036. "Shell"
  1037. ]
  1038. }
  1039. },
  1040. "layers":[],
  1041. "cullingMode":0,
  1042. "playOnWake":true
  1043. }
  1044. ],
  1045. "child":[
  1046. {
  1047. "type":"SkinnedMeshSprite3D",
  1048. "props":{
  1049. "name":"pasted__polySurface11",
  1050. "active":true,
  1051. "isStatic":false,
  1052. "layer":10,
  1053. "position":[
  1054. -4.836682,
  1055. -0.8724918,
  1056. -0.9277176
  1057. ],
  1058. "rotation":[
  1059. 0,
  1060. 0,
  1061. 0,
  1062. -1
  1063. ],
  1064. "scale":[
  1065. 1,
  1066. 1,
  1067. 1
  1068. ],
  1069. "rootBone":"Floppy_Hips",
  1070. "boundBox":{
  1071. "min":[
  1072. -0.8979983,
  1073. -0.2801096,
  1074. -0.4452674
  1075. ],
  1076. "max":[
  1077. 0.9362673,
  1078. 0.7032709,
  1079. 0.40298
  1080. ]
  1081. },
  1082. "boundSphere":{
  1083. "center":[
  1084. 0.01913446,
  1085. 0.2115806,
  1086. -0.0211437
  1087. ],
  1088. "radius":1.123732
  1089. },
  1090. "materials":[
  1091. {
  1092. "path":"Assets/LastRes/Materials/Red.lmat"
  1093. }
  1094. ],
  1095. "meshPath":"Assets/LastRes/pasted__polySurface11-pasted__polySurface11.lm"
  1096. },
  1097. "components":[],
  1098. "child":[]
  1099. },
  1100. {
  1101. "type":"MeshSprite3D",
  1102. "props":{
  1103. "name":"GUN:pCube1",
  1104. "active":true,
  1105. "isStatic":false,
  1106. "layer":10,
  1107. "position":[
  1108. 0.05002901,
  1109. 1.143232,
  1110. 0.7839248
  1111. ],
  1112. "rotation":[
  1113. -0.01783611,
  1114. -0.0001072463,
  1115. 0.005287394,
  1116. -0.9998269
  1117. ],
  1118. "scale":[
  1119. 2.688133,
  1120. 2.688132,
  1121. 2.688133
  1122. ],
  1123. "meshPath":"Assets/CrackRes/gun1-GUN_pCube1.lm",
  1124. "enableRender":true,
  1125. "materials":[
  1126. {
  1127. "type":"Laya.BlinnPhongMaterial",
  1128. "path":"Assets/CrackRes/Materials/Black.lmat"
  1129. }
  1130. ]
  1131. },
  1132. "components":[],
  1133. "child":[]
  1134. },
  1135. {
  1136. "type":"MeshSprite3D",
  1137. "props":{
  1138. "name":"GUN:pCube2",
  1139. "active":true,
  1140. "isStatic":false,
  1141. "layer":10,
  1142. "position":[
  1143. 0.05018788,
  1144. 1.165311,
  1145. 0.5989526
  1146. ],
  1147. "rotation":[
  1148. -0.01783611,
  1149. -0.0001072463,
  1150. 0.005287394,
  1151. -0.9998269
  1152. ],
  1153. "scale":[
  1154. 2.688133,
  1155. 2.688132,
  1156. 2.688133
  1157. ],
  1158. "meshPath":"Assets/CrackRes/gun1-GUN_pCube2.lm",
  1159. "enableRender":true,
  1160. "materials":[
  1161. {
  1162. "type":"Laya.BlinnPhongMaterial",
  1163. "path":"Assets/CrackRes/Materials/Black.lmat"
  1164. }
  1165. ]
  1166. },
  1167. "components":[],
  1168. "child":[]
  1169. },
  1170. {
  1171. "type":"MeshSprite3D",
  1172. "props":{
  1173. "name":"bulletPos",
  1174. "active":true,
  1175. "isStatic":false,
  1176. "layer":10,
  1177. "position":[
  1178. 0.05295497,
  1179. 1.157302,
  1180. 1.05427
  1181. ],
  1182. "rotation":[
  1183. -0.01905761,
  1184. -0.0001007851,
  1185. 0.005287522,
  1186. -0.9998044
  1187. ],
  1188. "scale":[
  1189. 1,
  1190. 1,
  1191. 1
  1192. ],
  1193. "enableRender":false,
  1194. "materials":[]
  1195. },
  1196. "components":[],
  1197. "child":[]
  1198. },
  1199. {
  1200. "type":"MeshSprite3D",
  1201. "props":{
  1202. "name":"Shell",
  1203. "active":true,
  1204. "isStatic":false,
  1205. "layer":10,
  1206. "position":[
  1207. 0.05298764,
  1208. 1.174534,
  1209. 0.6837573
  1210. ],
  1211. "rotation":[
  1212. -0.7204443,
  1213. 0.003667578,
  1214. 0.003810109,
  1215. -0.6934927
  1216. ],
  1217. "scale":[
  1218. 1.5,
  1219. 1.5,
  1220. 1.5
  1221. ],
  1222. "meshPath":"Assets/CrackRes/gun1-Shell.lm",
  1223. "enableRender":true,
  1224. "materials":[
  1225. {
  1226. "type":"Laya.BlinnPhongMaterial",
  1227. "path":"Assets/CrackRes/Materials/Black.lmat"
  1228. }
  1229. ]
  1230. },
  1231. "components":[],
  1232. "child":[]
  1233. }
  1234. ]
  1235. },
  1236. {
  1237. "type":"Sprite3D",
  1238. "props":{
  1239. "name":"moster_shoot1 (2)",
  1240. "active":true,
  1241. "isStatic":false,
  1242. "layer":10,
  1243. "position":[
  1244. 2.14,
  1245. 0,
  1246. 3.1
  1247. ],
  1248. "rotation":[
  1249. 0,
  1250. -0.8761384,
  1251. 0,
  1252. -0.4820596
  1253. ],
  1254. "scale":[
  1255. 1,
  1256. 1,
  1257. 1
  1258. ]
  1259. },
  1260. "components":[
  1261. {
  1262. "type":"PhysicsCollider",
  1263. "restitution":0,
  1264. "friction":0.5,
  1265. "rollingFriction":0,
  1266. "shapes":[
  1267. {
  1268. "type":"CapsuleColliderShape",
  1269. "center":[
  1270. 0,
  1271. 0.86,
  1272. 0
  1273. ],
  1274. "radius":0.3496907,
  1275. "height":1.718704
  1276. }
  1277. ],
  1278. "isTrigger":false
  1279. },
  1280. {
  1281. "type":"Animator",
  1282. "avatar":{
  1283. "path":"Assets/LastRes/pasted__polySurface112-moster_shoot1 (2)-pasted__polySurface112Avatar.lav",
  1284. "linkSprites":{
  1285. "GUN:pCube1":[
  1286. "GUN:pCube1"
  1287. ],
  1288. "GUN:pCube2":[
  1289. "GUN:pCube2"
  1290. ],
  1291. "bulletPos":[
  1292. "bulletPos"
  1293. ],
  1294. "Shell":[
  1295. "Shell"
  1296. ]
  1297. }
  1298. },
  1299. "layers":[],
  1300. "cullingMode":0,
  1301. "playOnWake":true
  1302. }
  1303. ],
  1304. "child":[
  1305. {
  1306. "type":"SkinnedMeshSprite3D",
  1307. "props":{
  1308. "name":"pasted__polySurface11",
  1309. "active":true,
  1310. "isStatic":false,
  1311. "layer":10,
  1312. "position":[
  1313. -4.836682,
  1314. -0.8724918,
  1315. -0.9277176
  1316. ],
  1317. "rotation":[
  1318. 0,
  1319. -4.988443E-09,
  1320. 0,
  1321. -1
  1322. ],
  1323. "scale":[
  1324. 1,
  1325. 1,
  1326. 1
  1327. ],
  1328. "rootBone":"Floppy_Hips",
  1329. "boundBox":{
  1330. "min":[
  1331. -0.8979983,
  1332. -0.2801096,
  1333. -0.4452674
  1334. ],
  1335. "max":[
  1336. 0.9362673,
  1337. 0.7032709,
  1338. 0.40298
  1339. ]
  1340. },
  1341. "boundSphere":{
  1342. "center":[
  1343. 0.01913446,
  1344. 0.2115806,
  1345. -0.0211437
  1346. ],
  1347. "radius":1.123732
  1348. },
  1349. "materials":[
  1350. {
  1351. "path":"Assets/LastRes/Materials/Red.lmat"
  1352. }
  1353. ],
  1354. "meshPath":"Assets/LastRes/pasted__polySurface11-pasted__polySurface11.lm"
  1355. },
  1356. "components":[],
  1357. "child":[]
  1358. },
  1359. {
  1360. "type":"MeshSprite3D",
  1361. "props":{
  1362. "name":"GUN:pCube1",
  1363. "active":true,
  1364. "isStatic":false,
  1365. "layer":10,
  1366. "position":[
  1367. 0.05002913,
  1368. 1.143232,
  1369. 0.783925
  1370. ],
  1371. "rotation":[
  1372. -0.01783611,
  1373. -0.0001072592,
  1374. 0.005287394,
  1375. -0.9998269
  1376. ],
  1377. "scale":[
  1378. 2.688133,
  1379. 2.688132,
  1380. 2.688132
  1381. ],
  1382. "meshPath":"Assets/CrackRes/gun1-GUN_pCube1.lm",
  1383. "enableRender":true,
  1384. "materials":[
  1385. {
  1386. "type":"Laya.BlinnPhongMaterial",
  1387. "path":"Assets/CrackRes/Materials/Black.lmat"
  1388. }
  1389. ]
  1390. },
  1391. "components":[],
  1392. "child":[]
  1393. },
  1394. {
  1395. "type":"MeshSprite3D",
  1396. "props":{
  1397. "name":"GUN:pCube2",
  1398. "active":true,
  1399. "isStatic":false,
  1400. "layer":10,
  1401. "position":[
  1402. 0.05018787,
  1403. 1.165311,
  1404. 0.5989526
  1405. ],
  1406. "rotation":[
  1407. -0.01783611,
  1408. -0.0001072592,
  1409. 0.005287394,
  1410. -0.9998269
  1411. ],
  1412. "scale":[
  1413. 2.688133,
  1414. 2.688132,
  1415. 2.688132
  1416. ],
  1417. "meshPath":"Assets/CrackRes/gun1-GUN_pCube2.lm",
  1418. "enableRender":true,
  1419. "materials":[
  1420. {
  1421. "type":"Laya.BlinnPhongMaterial",
  1422. "path":"Assets/CrackRes/Materials/Black.lmat"
  1423. }
  1424. ]
  1425. },
  1426. "components":[],
  1427. "child":[]
  1428. },
  1429. {
  1430. "type":"MeshSprite3D",
  1431. "props":{
  1432. "name":"bulletPos",
  1433. "active":true,
  1434. "isStatic":false,
  1435. "layer":10,
  1436. "position":[
  1437. 0.05295486,
  1438. 1.157302,
  1439. 1.05427
  1440. ],
  1441. "rotation":[
  1442. -0.01905761,
  1443. -0.0001007845,
  1444. 0.005287521,
  1445. -0.9998044
  1446. ],
  1447. "scale":[
  1448. 1,
  1449. 1,
  1450. 1
  1451. ],
  1452. "enableRender":false,
  1453. "materials":[]
  1454. },
  1455. "components":[],
  1456. "child":[]
  1457. },
  1458. {
  1459. "type":"MeshSprite3D",
  1460. "props":{
  1461. "name":"Shell",
  1462. "active":true,
  1463. "isStatic":false,
  1464. "layer":10,
  1465. "position":[
  1466. 0.05298765,
  1467. 1.174534,
  1468. 0.6837575
  1469. ],
  1470. "rotation":[
  1471. -0.7204443,
  1472. 0.003667574,
  1473. 0.003810113,
  1474. -0.6934927
  1475. ],
  1476. "scale":[
  1477. 1.5,
  1478. 1.5,
  1479. 1.5
  1480. ],
  1481. "meshPath":"Assets/CrackRes/gun1-Shell.lm",
  1482. "enableRender":true,
  1483. "materials":[
  1484. {
  1485. "type":"Laya.BlinnPhongMaterial",
  1486. "path":"Assets/CrackRes/Materials/Black.lmat"
  1487. }
  1488. ]
  1489. },
  1490. "components":[],
  1491. "child":[]
  1492. }
  1493. ]
  1494. }
  1495. ]
  1496. },
  1497. {
  1498. "type":"Sprite3D",
  1499. "props":{
  1500. "name":"bulletR",
  1501. "active":true,
  1502. "isStatic":false,
  1503. "layer":0,
  1504. "position":[
  1505. -1.07,
  1506. 1.68,
  1507. -4.1
  1508. ],
  1509. "rotation":[
  1510. 0,
  1511. -0.7113516,
  1512. 0,
  1513. -0.7028363
  1514. ],
  1515. "scale":[
  1516. 1,
  1517. 1,
  1518. 1
  1519. ]
  1520. },
  1521. "components":[],
  1522. "child":[
  1523. {
  1524. "type":"MeshSprite3D",
  1525. "props":{
  1526. "name":"Cylinder",
  1527. "active":true,
  1528. "isStatic":false,
  1529. "layer":0,
  1530. "position":[
  1531. 0,
  1532. 0,
  1533. 0.5
  1534. ],
  1535. "rotation":[
  1536. -0.7071068,
  1537. 0,
  1538. 0,
  1539. -0.7071068
  1540. ],
  1541. "scale":[
  1542. 0.05,
  1543. 0.5,
  1544. 0.05
  1545. ],
  1546. "meshPath":"Library/unity default resources-Cylinder.lm",
  1547. "enableRender":true,
  1548. "materials":[
  1549. {
  1550. "type":"Laya.BlinnPhongMaterial",
  1551. "path":"Assets/RM.lmat"
  1552. }
  1553. ]
  1554. },
  1555. "components":[],
  1556. "child":[]
  1557. }
  1558. ]
  1559. },
  1560. {
  1561. "type":"Sprite3D",
  1562. "props":{
  1563. "name":"bulletG",
  1564. "active":true,
  1565. "isStatic":false,
  1566. "layer":0,
  1567. "position":[
  1568. -1.1,
  1569. 1.68,
  1570. -6.49
  1571. ],
  1572. "rotation":[
  1573. 0,
  1574. -0.7113516,
  1575. 0,
  1576. -0.7028363
  1577. ],
  1578. "scale":[
  1579. 1,
  1580. 1,
  1581. 1
  1582. ]
  1583. },
  1584. "components":[],
  1585. "child":[
  1586. {
  1587. "type":"MeshSprite3D",
  1588. "props":{
  1589. "name":"Cylinder",
  1590. "active":true,
  1591. "isStatic":false,
  1592. "layer":0,
  1593. "position":[
  1594. 0,
  1595. 0,
  1596. 0.5
  1597. ],
  1598. "rotation":[
  1599. -0.7071068,
  1600. 0,
  1601. 0,
  1602. -0.7071068
  1603. ],
  1604. "scale":[
  1605. 0.05,
  1606. 0.5,
  1607. 0.05
  1608. ],
  1609. "meshPath":"Library/unity default resources-Cylinder.lm",
  1610. "enableRender":true,
  1611. "materials":[
  1612. {
  1613. "type":"Laya.BlinnPhongMaterial",
  1614. "path":"Assets/GM.lmat"
  1615. }
  1616. ]
  1617. },
  1618. "components":[],
  1619. "child":[]
  1620. }
  1621. ]
  1622. }
  1623. ]
  1624. }
  1625. }