0hf3r2-K

Working Smash Hit Door

Jan 20th, 2023
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.74 KB | None | 0 0
  1. // FileVersion 21
  2. // Phunlet created by Algodoo v2.1.3
  3.  
  4. FileInfo -> {
  5. title = "Knife Collide Prototype";
  6. author = "Trần Anh Kỳ";
  7. version = 21
  8. };
  9. Scene.addBox {
  10. inertiaMultiplier := 1.0000000;
  11. resources := [];
  12. timeToLive := +inf;
  13. textureClamped := [false, false];
  14. adhesion := 0.0000000;
  15. attractionType := 2;
  16. attraction := 0.0000000;
  17. textScale := 0.50000000;
  18. texture := "";
  19. update := (e)=>{};
  20. controllerInvertX := false;
  21. controllerInvertY := false;
  22. showMomentum := false;
  23. textConstrained := true;
  24. vel := [0.0000000, 0.0000000];
  25. restitution := 0.50000000;
  26. onCollide := (e)=>{};
  27. killer := false;
  28. materialVelocity := 0.0000000;
  29. showForceArrows := false;
  30. controllerReverseXY := false;
  31. refractiveIndex := 1.5000000;
  32. textureMatrix := [1.0000000, 0.0000000, 0.0000000, 0.0000000, 1.0000000, 0.0000000, 0.0000000, 0.0000000, 1.0000000];
  33. immortal := false;
  34. ruler := false;
  35. textColor := [1.0000000, 1.0000000, 1.0000000, 1.0000000];
  36. area := 0.31250000;
  37. collideSet := 3;
  38. drawBorder := false;
  39. reflectiveness := 1.0000000;
  40. size := [1.2500000, 0.25000000];
  41. friction := 0.50000000;
  42. entityID := 2176;
  43. velocityDamping := [0.0000000, 0.0000000, 0.0000000];
  44. onClick := (e)=>{};
  45. color := [0.12358247, 0.095278859, 0.94073510, 0.0000000];
  46. collideWater := true;
  47. onSpawn := (e)=>{};
  48. materialName := "";
  49. textFontSize := 32.000000;
  50. onHitByLaser := (e)=>{};
  51. textFont := "Verdana";
  52. pos := [969.37500, 7.1250000];
  53. onDie := (e)=>{};
  54. density := 2.0000000;
  55. airFrictionMult := 1.0000000;
  56. controllerAcc := 11.000000;
  57. colorHSVA := [242.00864, 0.89871871, 0.94073510, 0.0000000];
  58. angvel := 0.0000000;
  59. heteroCollide := false;
  60. glued := true;
  61. onKey := (e)=>{};
  62. showVelocity := false;
  63. postStep := (e)=>{};
  64. text := "";
  65. opaqueBorders := true;
  66. geomID := 1662;
  67. body := 0;
  68. edgeBlur := 0.0000000;
  69. angle := 0.0000000;
  70. zDepth := 407.00000;
  71. layer := 0
  72. };
  73. Scene.addBox {
  74. inertiaMultiplier := 1.0000000;
  75. resources := [];
  76. timeToLive := +inf;
  77. textureClamped := [false, false];
  78. adhesion := 0.0000000;
  79. attractionType := 2;
  80. attraction := 0.0000000;
  81. textScale := 0.50000000;
  82. texture := "";
  83. update := (e)=>{};
  84. controllerInvertX := false;
  85. controllerInvertY := false;
  86. showMomentum := false;
  87. textConstrained := true;
  88. vel := [0.0000000, 0.0000000];
  89. restitution := 0.50000000;
  90. onCollide := (e)=>{
  91. timetolive = 0
  92. };
  93. killer := false;
  94. materialVelocity := 0.0000000;
  95. showForceArrows := false;
  96. controllerReverseXY := false;
  97. refractiveIndex := 1.5000000;
  98. textureMatrix := [1.0000000, 0.0000000, 0.0000000, 0.0000000, 1.0000000, 0.0000000, 0.0000000, 0.0000000, 1.0000000];
  99. immortal := false;
  100. ruler := false;
  101. textColor := [1.0000000, 1.0000000, 1.0000000, 1.0000000];
  102. area := 0.12500000;
  103. collideSet := 513;
  104. drawBorder := false;
  105. reflectiveness := 1.0000000;
  106. size := [0.25000000, 0.50000000];
  107. friction := 0.50000000;
  108. entityID := 2156;
  109. velocityDamping := [0.0000000, 0.0000000, 0.0000000];
  110. onClick := (e)=>{};
  111. color := [0.0000000, 1.0000000, 1.0000000, 1.0000000];
  112. collideWater := true;
  113. onSpawn := (e)=>{};
  114. materialName := "";
  115. textFontSize := 32.000000;
  116. onHitByLaser := (e)=>{};
  117. textFont := "Verdana";
  118. pos := [968.87500, 7.5000000];
  119. onDie := (e)=>{};
  120. density := 2.0000000;
  121. airFrictionMult := 1.0000000;
  122. controllerAcc := 11.000000;
  123. colorHSVA := [180.00000, 1.0000000, 1.0000000, 1.0000000];
  124. angvel := 0.0000000;
  125. heteroCollide := false;
  126. glued := true;
  127. onKey := (e)=>{};
  128. showVelocity := false;
  129. postStep := (e)=>{};
  130. text := "";
  131. opaqueBorders := true;
  132. geomID := 1646;
  133. body := 0;
  134. edgeBlur := 0.0000000;
  135. angle := 0.0000000;
  136. zDepth := 405.00000;
  137. layer := 0
  138. };
  139. Scene.addBox {
  140. inertiaMultiplier := 1.0000000;
  141. resources := [];
  142. timeToLive := +inf;
  143. textureClamped := [false, false];
  144. adhesion := 0.0000000;
  145. attractionType := 2;
  146. attraction := 0.0000000;
  147. textScale := 0.50000000;
  148. texture := "";
  149. update := (e)=>{};
  150. controllerInvertX := false;
  151. controllerInvertY := false;
  152. showMomentum := false;
  153. textConstrained := true;
  154. vel := [0.0000000, 0.0000000];
  155. restitution := 0.50000000;
  156. onCollide := (e)=>{};
  157. killer := false;
  158. materialVelocity := 0.0000000;
  159. showForceArrows := false;
  160. controllerReverseXY := false;
  161. refractiveIndex := 1.5000000;
  162. textureMatrix := [1.0000000, 0.0000000, 0.0000000, 0.0000000, 1.0000000, 0.0000000, 0.0000000, 0.0000000, 1.0000000];
  163. immortal := false;
  164. ruler := false;
  165. textColor := [1.0000000, 1.0000000, 1.0000000, 1.0000000];
  166. area := 0.37500000;
  167. collideSet := 0;
  168. drawBorder := true;
  169. reflectiveness := 1.0000000;
  170. size := [0.50000000, 0.75000000];
  171. friction := 0.50000000;
  172. entityID := 2507;
  173. velocityDamping := [0.0000000, 0.0000000, 0.0000000];
  174. onClick := (e)=>{};
  175. color := [0.51800525, 0.18482222, 0.16811526, 1.0000000];
  176. collideWater := true;
  177. onSpawn := (e)=>{};
  178. materialName := "";
  179. textFontSize := 32.000000;
  180. onHitByLaser := (e)=>{};
  181. textFont := "Verdana";
  182. pos := [970.00000, 7.1250000];
  183. onDie := (e)=>{};
  184. density := 2.0000000;
  185. airFrictionMult := 1.0000000;
  186. controllerAcc := 11.000000;
  187. colorHSVA := [2.8649507, 0.67545646, 0.51800525, 1.0000000];
  188. angvel := 0.0000000;
  189. heteroCollide := false;
  190. glued := false;
  191. onKey := (e)=>{};
  192. showVelocity := false;
  193. postStep := (e)=>{};
  194. text := "";
  195. opaqueBorders := true;
  196. geomID := 1993;
  197. body := 0;
  198. edgeBlur := 0.0000000;
  199. angle := 0.0000000;
  200. zDepth := 410.00000;
  201. layer := 0
  202. };
  203. Scene.addBox {
  204. inertiaMultiplier := 1.0000000;
  205. resources := [];
  206. timeToLive := +inf;
  207. textureClamped := [false, false];
  208. adhesion := 0.0000000;
  209. attractionType := 2;
  210. attraction := 0.0000000;
  211. textScale := 0.50000000;
  212. texture := "";
  213. update := (e)=>{};
  214. controllerInvertX := false;
  215. controllerInvertY := false;
  216. showMomentum := false;
  217. textConstrained := true;
  218. vel := [0.0000000, 0.0000000];
  219. restitution := 0.50000000;
  220. onCollide := (e)=>{};
  221. killer := false;
  222. materialVelocity := 0.0000000;
  223. showForceArrows := false;
  224. controllerReverseXY := false;
  225. refractiveIndex := 1.5000000;
  226. textureMatrix := [1.0000000, 0.0000000, 0.0000000, 0.0000000, 1.0000000, 0.0000000, 0.0000000, 0.0000000, 1.0000000];
  227. immortal := false;
  228. ruler := false;
  229. textColor := [1.0000000, 1.0000000, 1.0000000, 1.0000000];
  230. area := 0.62500000;
  231. collideSet := 0;
  232. drawBorder := true;
  233. reflectiveness := 1.0000000;
  234. size := [1.2500000, 0.50000000];
  235. friction := 0.50000000;
  236. entityID := 2506;
  237. velocityDamping := [0.0000000, 0.0000000, 0.0000000];
  238. onClick := (e)=>{};
  239. color := [0.052171711, 0.048080802, 0.64577335, 1.0000000];
  240. collideWater := true;
  241. onSpawn := (e)=>{};
  242. materialName := "";
  243. textFontSize := 32.000000;
  244. onHitByLaser := (e)=>{};
  245. textFont := "Verdana";
  246. pos := [969.62500, 7.5000000];
  247. onDie := (e)=>{};
  248. density := 2.0000000;
  249. airFrictionMult := 1.0000000;
  250. controllerAcc := 11.000000;
  251. colorHSVA := [240.41068, 0.92554539, 0.64577335, 1.0000000];
  252. angvel := 0.0000000;
  253. heteroCollide := false;
  254. glued := true;
  255. onKey := (e)=>{};
  256. showVelocity := false;
  257. postStep := (e)=>{};
  258. text := "";
  259. opaqueBorders := true;
  260. geomID := 1992;
  261. body := 0;
  262. edgeBlur := 0.0000000;
  263. angle := 0.0000000;
  264. zDepth := 409.00000;
  265. layer := 0
  266. };
  267. Scene.addBox {
  268. inertiaMultiplier := 1.0000000;
  269. resources := [];
  270. timeToLive := +inf;
  271. textureClamped := [false, false];
  272. adhesion := 0.0000000;
  273. attractionType := 2;
  274. attraction := 0.0000000;
  275. textScale := 0.50000000;
  276. texture := "steel.png";
  277. update := (e)=>{};
  278. controllerInvertX := false;
  279. controllerInvertY := false;
  280. showMomentum := false;
  281. textConstrained := true;
  282. vel := [0.0000000, 0.0000000];
  283. restitution := 0.75000000;
  284. onCollide := (e)=>{};
  285. killer := false;
  286. materialVelocity := 0.0000000;
  287. showForceArrows := false;
  288. controllerReverseXY := false;
  289. refractiveIndex := 1.5000000;
  290. textureMatrix := [1.0000000, 0.0000000, 0.0000000, 0.0000000, 1.0000000, 0.0000000, 0.0000000, 0.0000000, 1.0000000];
  291. immortal := false;
  292. ruler := false;
  293. textColor := [1.0000000, 1.0000000, 1.0000000, 1.0000000];
  294. area := 10.000000;
  295. collideSet := 515;
  296. drawBorder := true;
  297. reflectiveness := 1.0000000;
  298. size := [2.0000000, 5.0000000];
  299. friction := 0.74000001;
  300. entityID := 2155;
  301. velocityDamping := [0.0000000, 0.0000000, 0.0000000];
  302. onClick := (e)=>{};
  303. color := [0.69999999, 0.75000000, 0.80000001, 1];
  304. collideWater := true;
  305. onSpawn := (e)=>{};
  306. materialName := "steel";
  307. textFontSize := 32.000000;
  308. onHitByLaser := (e)=>{};
  309. textFont := "Verdana";
  310. pos := [970.00000, 4.5000000];
  311. onDie := (e)=>{};
  312. density := 7.8000002;
  313. airFrictionMult := 1.0000000;
  314. controllerAcc := 11.000000;
  315. colorHSVA := [210.00000, 0.12500000, 0.80000001, 1.0000000];
  316. angvel := 0.0000000;
  317. heteroCollide := false;
  318. glued := false;
  319. onKey := (e)=>{};
  320. showVelocity := false;
  321. postStep := (e)=>{};
  322. text := "";
  323. opaqueBorders := true;
  324. geomID := 1645;
  325. body := 0;
  326. edgeBlur := 0.0000000;
  327. angle := 0.0000000;
  328. zDepth := 404.00000;
  329. layer := 0
  330. };
  331. Scene.addBox {
  332. inertiaMultiplier := 1.0000000;
  333. resources := [];
  334. timeToLive := +inf;
  335. textureClamped := [false, false];
  336. adhesion := 0.0000000;
  337. attractionType := 2;
  338. attraction := 0.0000000;
  339. textScale := 0.50000000;
  340. texture := "";
  341. update := (e)=>{};
  342. controllerInvertX := false;
  343. controllerInvertY := false;
  344. showMomentum := false;
  345. textConstrained := true;
  346. vel := [0.0000000, 0.0000000];
  347. restitution := 0.50000000;
  348. onCollide := (e)=>{};
  349. killer := false;
  350. materialVelocity := 0.0000000;
  351. showForceArrows := false;
  352. controllerReverseXY := false;
  353. refractiveIndex := 1.5000000;
  354. textureMatrix := [1.0000000, 0.0000000, 0.0000000, 0.0000000, 1.0000000, 0.0000000, 0.0000000, 0.0000000, 1.0000000];
  355. immortal := false;
  356. ruler := false;
  357. textColor := [1.0000000, 1.0000000, 1.0000000, 1.0000000];
  358. area := 2.0000000;
  359. collideSet := 1;
  360. drawBorder := true;
  361. reflectiveness := 1.0000000;
  362. size := [2.0000000, 1.0000000];
  363. friction := 0.50000000;
  364. entityID := 2152;
  365. velocityDamping := [0.0000000, 0.0000000, 0.0000000];
  366. onClick := (e)=>{};
  367. color := [1.0000000, 1.0000000, 1.0000000, 1.0000000];
  368. collideWater := true;
  369. onSpawn := (e)=>{};
  370. materialName := "";
  371. textFontSize := 32.000000;
  372. onHitByLaser := (e)=>{};
  373. textFont := "Verdana";
  374. pos := [970.00000, 7.5000000];
  375. onDie := (e)=>{};
  376. density := 2.0000000;
  377. airFrictionMult := 1.0000000;
  378. controllerAcc := 11.000000;
  379. colorHSVA := [0.0000000, 0.0000000, 1.0000000, 1.0000000];
  380. angvel := 0.0000000;
  381. heteroCollide := false;
  382. glued := true;
  383. onKey := (e)=>{};
  384. showVelocity := false;
  385. postStep := (e)=>{};
  386. text := "";
  387. opaqueBorders := true;
  388. geomID := 1642;
  389. body := 0;
  390. edgeBlur := 0.0000000;
  391. angle := 0.0000000;
  392. zDepth := 403.00000;
  393. layer := 0
  394. };
  395. Scene.addBox {
  396. inertiaMultiplier := 1.0000000;
  397. resources := [];
  398. timeToLive := +inf;
  399. textureClamped := [false, false];
  400. adhesion := 0.0000000;
  401. attractionType := 2;
  402. attraction := 0.0000000;
  403. textScale := 0.50000000;
  404. texture := "";
  405. update := (e)=>{};
  406. controllerInvertX := false;
  407. controllerInvertY := false;
  408. showMomentum := false;
  409. textConstrained := true;
  410. vel := [0.0000000, 0.0000000];
  411. restitution := 0.50000000;
  412. onCollide := (e)=>{};
  413. killer := false;
  414. materialVelocity := 0.0000000;
  415. showForceArrows := false;
  416. controllerReverseXY := false;
  417. refractiveIndex := 1.5000000;
  418. textureMatrix := [1.0000000, 0.0000000, 0.0000000, 0.0000000, 1.0000000, 0.0000000, 0.0000000, 0.0000000, 1.0000000];
  419. immortal := false;
  420. ruler := false;
  421. textColor := [1.0000000, 1.0000000, 1.0000000, 1.0000000];
  422. area := 0.50000000;
  423. collideSet := 2;
  424. drawBorder := false;
  425. reflectiveness := 1.0000000;
  426. size := [1.0000000, 0.50000000];
  427. friction := 0.50000000;
  428. entityID := 2170;
  429. velocityDamping := [0.0000000, 0.0000000, 0.0000000];
  430. onClick := (e)=>{};
  431. color := [0.27957490, 0.11162400, 0.90257883, 0.0000000];
  432. collideWater := true;
  433. onSpawn := (e)=>{};
  434. materialName := "";
  435. textFontSize := 32.000000;
  436. onHitByLaser := (e)=>{};
  437. textFont := "Verdana";
  438. pos := [969.50000, 7.5000000];
  439. onDie := (e)=>{};
  440. density := 2.0000000;
  441. airFrictionMult := 1.0000000;
  442. controllerAcc := 11.000000;
  443. colorHSVA := [252.74037, 0.87632769, 0.90257883, 0.0000000];
  444. angvel := 0.0000000;
  445. heteroCollide := false;
  446. glued := true;
  447. onKey := (e)=>{};
  448. showVelocity := false;
  449. postStep := (e)=>{};
  450. text := "";
  451. opaqueBorders := true;
  452. geomID := 1659;
  453. body := 0;
  454. edgeBlur := 0.0000000;
  455. angle := 0.0000000;
  456. zDepth := 408.00000;
  457. layer := 0
  458. };
  459. Scene.addBox {
  460. inertiaMultiplier := 1.0000000;
  461. resources := [];
  462. timeToLive := +inf;
  463. textureClamped := [false, false];
  464. adhesion := 0.0000000;
  465. attractionType := 2;
  466. attraction := 0.0000000;
  467. textScale := 0.50000000;
  468. texture := "";
  469. update := (e)=>{};
  470. controllerInvertX := false;
  471. controllerInvertY := false;
  472. showMomentum := false;
  473. textConstrained := true;
  474. vel := [0.0000000, 0.0000000];
  475. restitution := 0.50000000;
  476. onCollide := (e)=>{};
  477. killer := false;
  478. materialVelocity := 0.0000000;
  479. showForceArrows := false;
  480. controllerReverseXY := false;
  481. refractiveIndex := 1.5000000;
  482. textureMatrix := [1.0000000, 0.0000000, 0.0000000, 0.0000000, 1.0000000, 0.0000000, 0.0000000, 0.0000000, 1.0000000];
  483. immortal := false;
  484. ruler := false;
  485. textColor := [1.0000000, 1.0000000, 1.0000000, 1.0000000];
  486. area := 0.31250000;
  487. collideSet := 3;
  488. drawBorder := false;
  489. reflectiveness := 1.0000000;
  490. size := [1.2500000, 0.25000000];
  491. friction := 0.50000000;
  492. entityID := 2180;
  493. velocityDamping := [0.0000000, 0.0000000, 0.0000000];
  494. onClick := (e)=>{};
  495. color := [0.84171003, 0.92793548, 0.069623746, 0.0000000];
  496. collideWater := true;
  497. onSpawn := (e)=>{};
  498. materialName := "";
  499. textFontSize := 32.000000;
  500. onHitByLaser := (e)=>{};
  501. textFont := "Verdana";
  502. pos := [969.37500, 7.8750000];
  503. onDie := (e)=>{};
  504. density := 2.0000000;
  505. airFrictionMult := 1.0000000;
  506. controllerAcc := 11.000000;
  507. colorHSVA := [66.027557, 0.92496920, 0.92793548, 0.0000000];
  508. angvel := 0.0000000;
  509. heteroCollide := false;
  510. glued := true;
  511. onKey := (e)=>{};
  512. showVelocity := false;
  513. postStep := (e)=>{};
  514. text := "";
  515. opaqueBorders := true;
  516. geomID := 1666;
  517. body := 0;
  518. edgeBlur := 0.0000000;
  519. angle := 0.0000000;
  520. zDepth := 406.00000;
  521. layer := 0
  522. };
  523. Scene.addFixjoint {
  524. geom0 := 1993;
  525. geom0pos := [0.0000000, 0.31250000];
  526. geom1 := 1992;
  527. geom1pos := [0.37500000, -0.062500000];
  528. opaqueBorders := true;
  529. size := 0.10698768;
  530. colorHSVA := [331.89374, 0.73341215, 0.63736987, 1.0000000];
  531. onKey := (e)=>{};
  532. update := (e)=>{};
  533. postStep := (e)=>{};
  534. timeToLive := +inf;
  535. entityID := 2509;
  536. resources := [];
  537. color := [0.63736987, 0.16991507, 0.38888848, 1.0000000];
  538. onSpawn := (e)=>{};
  539. zDepth := 411.00000;
  540. onDie := (e)=>{};
  541. onClick := (e)=>{};
  542. layer := 0
  543. };
  544. Scene.addFixjoint {
  545. geom0 := 1645;
  546. geom0pos := [0.0000000, 2.3750000];
  547. geom1 := 1993;
  548. geom1pos := [0.0000000, -0.25000000];
  549. opaqueBorders := true;
  550. size := 0.096501231;
  551. colorHSVA := [259.19159, 0.61514390, 0.69022048, 1.0000000];
  552. onKey := (e)=>{};
  553. update := (e)=>{};
  554. postStep := (e)=>{};
  555. timeToLive := +inf;
  556. entityID := 2511;
  557. resources := [];
  558. color := [0.40144330, 0.26563555, 0.69022048, 1.0000000];
  559. onSpawn := (e)=>{};
  560. zDepth := 412.00000;
  561. onDie := (e)=>{};
  562. onClick := (e)=>{};
  563. layer := 0
  564. }
Advertisement
Add Comment
Please, Sign In to add comment