From 57701059b1b65fc08366318e92d32d9dd7094d25 Mon Sep 17 00:00:00 2001 From: Alexander Pickering Date: Sun, 2 Feb 2020 08:11:08 -0500 Subject: inital commit --- .gitignore | 5 + Makefile | 71 ++++++++ aap-64-1x.png | Bin 0 -> 404 bytes data_src/Alien-Ships/Alien-Battlecruiser.psd | Bin 0 -> 339491 bytes data_src/Alien-Ships/Alien-Battleship.psd | Bin 0 -> 435938 bytes data_src/Alien-Ships/Alien-Bomber.psd | Bin 0 -> 244816 bytes data_src/Alien-Ships/Alien-Cruiser.psd | Bin 0 -> 321892 bytes data_src/Alien-Ships/Alien-Destroyer.psd | Bin 0 -> 279479 bytes data_src/Alien-Ships/Alien-Frigate.psd | Bin 0 -> 259057 bytes data_src/Alien-Ships/Alien-HeavyCruiser.psd | Bin 0 -> 351442 bytes data_src/Alien-Ships/Alien-Mothership2.psd | Bin 0 -> 1231452 bytes data_src/Alien-Ships/Alien-Scout.psd | Bin 0 -> 97573 bytes data_src/Alien-Ships/Alien-Spacestation.psd | Bin 0 -> 378697 bytes data_src/Example_ships/1.png | Bin 0 -> 15069 bytes data_src/Example_ships/10.png | Bin 0 -> 14008 bytes data_src/Example_ships/10B.png | Bin 0 -> 15176 bytes data_src/Example_ships/11.png | Bin 0 -> 50593 bytes data_src/Example_ships/11B.png | Bin 0 -> 51495 bytes data_src/Example_ships/12.png | Bin 0 -> 22295 bytes data_src/Example_ships/12B.png | Bin 0 -> 24022 bytes data_src/Example_ships/13.png | Bin 0 -> 21685 bytes data_src/Example_ships/13B.png | Bin 0 -> 21726 bytes data_src/Example_ships/1B.png | Bin 0 -> 15375 bytes data_src/Example_ships/2.png | Bin 0 -> 24673 bytes data_src/Example_ships/2B.png | Bin 0 -> 25614 bytes data_src/Example_ships/3.png | Bin 0 -> 43412 bytes data_src/Example_ships/3B.png | Bin 0 -> 45068 bytes data_src/Example_ships/4.png | Bin 0 -> 22095 bytes data_src/Example_ships/4B.png | Bin 0 -> 24181 bytes data_src/Example_ships/5.png | Bin 0 -> 18363 bytes data_src/Example_ships/5B.png | Bin 0 -> 19024 bytes data_src/Example_ships/6.png | Bin 0 -> 18372 bytes data_src/Example_ships/6B.png | Bin 0 -> 18959 bytes data_src/Example_ships/7.png | Bin 0 -> 40327 bytes data_src/Example_ships/7B.png | Bin 0 -> 42819 bytes data_src/Example_ships/8.png | Bin 0 -> 39442 bytes data_src/Example_ships/8B.png | Bin 0 -> 40069 bytes data_src/Example_ships/9.png | Bin 0 -> 73113 bytes data_src/Example_ships/9B.png | Bin 0 -> 77847 bytes data_src/MONK.blend | Bin 0 -> 5642310 bytes data_src/Spaceship-Parts/Spaceship-Parts.ora | Bin 0 -> 433785 bytes data_src/Spaceship-Parts/Spaceship-Parts.psd | Bin 0 -> 1253406 bytes .../Spaceship-Parts/Thumbnails/thumbnail.png | Bin 0 -> 59494 bytes .../Spaceship-Parts/data/001-000.png | Bin 0 -> 1108 bytes .../Spaceship-Parts/data/001-001.png | Bin 0 -> 1439 bytes .../Spaceship-Parts/data/001-002.png | Bin 0 -> 1671 bytes .../Spaceship-Parts/data/001-003.png | Bin 0 -> 1619 bytes .../Spaceship-Parts/data/001-004.png | Bin 0 -> 1308 bytes .../Spaceship-Parts/data/001-005.png | Bin 0 -> 3857 bytes .../Spaceship-Parts/data/001-006.png | Bin 0 -> 547 bytes .../Spaceship-Parts/data/001-007.png | Bin 0 -> 546 bytes .../Spaceship-Parts/Spaceship-Parts/data/001.png | Bin 0 -> 1198 bytes .../Spaceship-Parts/Spaceship-Parts/data/002.png | Bin 0 -> 5060 bytes .../Spaceship-Parts/Spaceship-Parts/data/003.png | Bin 0 -> 3889 bytes .../Spaceship-Parts/Spaceship-Parts/data/004.png | Bin 0 -> 2006 bytes .../Spaceship-Parts/Spaceship-Parts/data/005.png | Bin 0 -> 6513 bytes .../Spaceship-Parts/Spaceship-Parts/data/006.png | Bin 0 -> 4266 bytes .../Spaceship-Parts/Spaceship-Parts/data/007.png | Bin 0 -> 902 bytes .../Spaceship-Parts/Spaceship-Parts/data/008.png | Bin 0 -> 814 bytes .../Spaceship-Parts/Spaceship-Parts/data/009.png | Bin 0 -> 898 bytes .../Spaceship-Parts/Spaceship-Parts/data/010.png | Bin 0 -> 3029 bytes .../Spaceship-Parts/Spaceship-Parts/data/011.png | Bin 0 -> 1736 bytes .../Spaceship-Parts/Spaceship-Parts/data/012.png | Bin 0 -> 1578 bytes .../Spaceship-Parts/Spaceship-Parts/data/013.png | Bin 0 -> 1035 bytes .../Spaceship-Parts/Spaceship-Parts/data/014.png | Bin 0 -> 2027 bytes .../Spaceship-Parts/Spaceship-Parts/data/015.png | Bin 0 -> 813 bytes .../Spaceship-Parts/Spaceship-Parts/data/016.png | Bin 0 -> 1555 bytes .../Spaceship-Parts/Spaceship-Parts/data/017.png | Bin 0 -> 2874 bytes .../Spaceship-Parts/Spaceship-Parts/data/018.png | Bin 0 -> 568 bytes .../Spaceship-Parts/Spaceship-Parts/data/019.png | Bin 0 -> 584 bytes .../Spaceship-Parts/Spaceship-Parts/data/020.png | Bin 0 -> 724 bytes .../Spaceship-Parts/Spaceship-Parts/data/021.png | Bin 0 -> 490 bytes .../Spaceship-Parts/Spaceship-Parts/data/022.png | Bin 0 -> 545 bytes .../Spaceship-Parts/Spaceship-Parts/data/023.png | Bin 0 -> 1093 bytes .../Spaceship-Parts/Spaceship-Parts/data/024.png | Bin 0 -> 7805 bytes .../Spaceship-Parts/Spaceship-Parts/data/025.png | Bin 0 -> 1028 bytes .../Spaceship-Parts/Spaceship-Parts/data/026.png | Bin 0 -> 1989 bytes .../Spaceship-Parts/Spaceship-Parts/data/027.png | Bin 0 -> 2220 bytes .../Spaceship-Parts/Spaceship-Parts/data/028.png | Bin 0 -> 679 bytes .../Spaceship-Parts/Spaceship-Parts/data/029.png | Bin 0 -> 3171 bytes .../Spaceship-Parts/Spaceship-Parts/data/030.png | Bin 0 -> 12118 bytes .../Spaceship-Parts/Spaceship-Parts/data/031.png | Bin 0 -> 3031 bytes .../Spaceship-Parts/Spaceship-Parts/data/032.png | Bin 0 -> 3041 bytes .../Spaceship-Parts/Spaceship-Parts/data/033.png | Bin 0 -> 5406 bytes .../Spaceship-Parts/Spaceship-Parts/data/034.png | Bin 0 -> 787 bytes .../Spaceship-Parts/Spaceship-Parts/data/035.png | Bin 0 -> 2780 bytes .../Spaceship-Parts/Spaceship-Parts/data/036.png | Bin 0 -> 983 bytes .../Spaceship-Parts/Spaceship-Parts/data/037.png | Bin 0 -> 1321 bytes .../Spaceship-Parts/Spaceship-Parts/data/038.png | Bin 0 -> 500 bytes .../Spaceship-Parts/Spaceship-Parts/data/039.png | Bin 0 -> 345 bytes .../Spaceship-Parts/Spaceship-Parts/data/040.png | Bin 0 -> 383 bytes .../Spaceship-Parts/Spaceship-Parts/data/041.png | Bin 0 -> 357 bytes .../Spaceship-Parts/Spaceship-Parts/data/042.png | Bin 0 -> 1312 bytes .../Spaceship-Parts/Spaceship-Parts/data/043.png | Bin 0 -> 1987 bytes .../Spaceship-Parts/Spaceship-Parts/data/044.png | Bin 0 -> 2864 bytes .../Spaceship-Parts/Spaceship-Parts/data/045.png | Bin 0 -> 3293 bytes .../Spaceship-Parts/Spaceship-Parts/data/046.png | Bin 0 -> 1953 bytes .../Spaceship-Parts/Spaceship-Parts/data/047.png | Bin 0 -> 393 bytes .../Spaceship-Parts/Spaceship-Parts/data/048.png | Bin 0 -> 434 bytes .../Spaceship-Parts/Spaceship-Parts/data/049.png | Bin 0 -> 4128 bytes .../Spaceship-Parts/Spaceship-Parts/data/050.png | Bin 0 -> 2121 bytes .../Spaceship-Parts/Spaceship-Parts/data/051.png | Bin 0 -> 6985 bytes .../Spaceship-Parts/Spaceship-Parts/data/052.png | Bin 0 -> 254 bytes .../Spaceship-Parts/Spaceship-Parts/data/053.png | Bin 0 -> 2082 bytes .../Spaceship-Parts/Spaceship-Parts/data/054.png | Bin 0 -> 306 bytes .../Spaceship-Parts/Spaceship-Parts/data/055.png | Bin 0 -> 2214 bytes .../Spaceship-Parts/Spaceship-Parts/data/056.png | Bin 0 -> 522 bytes .../Spaceship-Parts/Spaceship-Parts/data/057.png | Bin 0 -> 2288 bytes .../Spaceship-Parts/Spaceship-Parts/data/058.png | Bin 0 -> 831 bytes .../Spaceship-Parts/Spaceship-Parts/data/059.png | Bin 0 -> 3048 bytes .../Spaceship-Parts/Spaceship-Parts/data/060.png | Bin 0 -> 2050 bytes .../Spaceship-Parts/Spaceship-Parts/data/061.png | Bin 0 -> 4096 bytes .../Spaceship-Parts/Spaceship-Parts/data/062.png | Bin 0 -> 3185 bytes .../Spaceship-Parts/Spaceship-Parts/data/063.png | Bin 0 -> 1008 bytes .../Spaceship-Parts/Spaceship-Parts/data/064.png | Bin 0 -> 3787 bytes .../Spaceship-Parts/Spaceship-Parts/data/065.png | Bin 0 -> 3708 bytes .../Spaceship-Parts/Spaceship-Parts/data/066.png | Bin 0 -> 1445 bytes .../Spaceship-Parts/Spaceship-Parts/data/067.png | Bin 0 -> 1472 bytes .../Spaceship-Parts/Spaceship-Parts/data/068.png | Bin 0 -> 1427 bytes .../Spaceship-Parts/Spaceship-Parts/data/069.png | Bin 0 -> 1335 bytes .../Spaceship-Parts/Spaceship-Parts/data/070.png | Bin 0 -> 948 bytes .../Spaceship-Parts/Spaceship-Parts/data/071.png | Bin 0 -> 1076 bytes .../Spaceship-Parts/Spaceship-Parts/data/072.png | Bin 0 -> 439 bytes .../Spaceship-Parts/Spaceship-Parts/data/073.png | Bin 0 -> 3259 bytes .../Spaceship-Parts/Spaceship-Parts/data/074.png | Bin 0 -> 1557 bytes .../Spaceship-Parts/Spaceship-Parts/data/075.png | Bin 0 -> 1168 bytes .../Spaceship-Parts/Spaceship-Parts/data/076.png | Bin 0 -> 615 bytes .../Spaceship-Parts/Spaceship-Parts/data/077.png | Bin 0 -> 2004 bytes .../Spaceship-Parts/Spaceship-Parts/data/078.png | Bin 0 -> 448 bytes .../Spaceship-Parts/Spaceship-Parts/data/079.png | Bin 0 -> 1671 bytes .../Spaceship-Parts/Spaceship-Parts/data/080.png | Bin 0 -> 1922 bytes .../Spaceship-Parts/Spaceship-Parts/data/081.png | Bin 0 -> 266 bytes .../Spaceship-Parts/Spaceship-Parts/data/082.png | Bin 0 -> 808 bytes .../Spaceship-Parts/Spaceship-Parts/data/083.png | Bin 0 -> 1906 bytes .../Spaceship-Parts/Spaceship-Parts/data/084.png | Bin 0 -> 1002 bytes .../Spaceship-Parts/Spaceship-Parts/data/085.png | Bin 0 -> 1179 bytes .../Spaceship-Parts/Spaceship-Parts/data/086.png | Bin 0 -> 1176 bytes .../Spaceship-Parts/Spaceship-Parts/data/087.png | Bin 0 -> 5040 bytes .../Spaceship-Parts/Spaceship-Parts/data/088.png | Bin 0 -> 2090 bytes .../Spaceship-Parts/Spaceship-Parts/data/089.png | Bin 0 -> 988 bytes .../Spaceship-Parts/Spaceship-Parts/data/090.png | Bin 0 -> 2165 bytes .../Spaceship-Parts/Spaceship-Parts/data/091.png | Bin 0 -> 1668 bytes .../Spaceship-Parts/Spaceship-Parts/data/092.png | Bin 0 -> 913 bytes .../Spaceship-Parts/Spaceship-Parts/data/093.png | Bin 0 -> 3350 bytes .../Spaceship-Parts/Spaceship-Parts/data/094.png | Bin 0 -> 8794 bytes .../Spaceship-Parts/Spaceship-Parts/data/095.png | Bin 0 -> 6645 bytes .../Spaceship-Parts/Spaceship-Parts/data/096.png | Bin 0 -> 2054 bytes .../Spaceship-Parts/Spaceship-Parts/data/097.png | Bin 0 -> 1032 bytes .../Spaceship-Parts/Spaceship-Parts/data/098.png | Bin 0 -> 1675 bytes .../Spaceship-Parts/Spaceship-Parts/data/099.png | Bin 0 -> 1856 bytes .../Spaceship-Parts/Spaceship-Parts/data/100.png | Bin 0 -> 1681 bytes .../Spaceship-Parts/Spaceship-Parts/data/101.png | Bin 0 -> 2148 bytes .../Spaceship-Parts/Spaceship-Parts/data/102.png | Bin 0 -> 3137 bytes .../Spaceship-Parts/Spaceship-Parts/data/103.png | Bin 0 -> 11027 bytes .../Spaceship-Parts/Spaceship-Parts/data/104.png | Bin 0 -> 3559 bytes .../Spaceship-Parts/Spaceship-Parts/data/105.png | Bin 0 -> 13236 bytes .../Spaceship-Parts/Spaceship-Parts/data/106.png | Bin 0 -> 1707 bytes .../Spaceship-Parts/Spaceship-Parts/data/107.png | Bin 0 -> 3912 bytes .../Spaceship-Parts/Spaceship-Parts/data/108.png | Bin 0 -> 4983 bytes .../Spaceship-Parts/Spaceship-Parts/data/109.png | Bin 0 -> 2414 bytes .../Spaceship-Parts/Spaceship-Parts/data/110.png | Bin 0 -> 880 bytes .../Spaceship-Parts/Spaceship-Parts/data/111.png | Bin 0 -> 1042 bytes .../Spaceship-Parts/Spaceship-Parts/data/112.png | Bin 0 -> 1871 bytes .../Spaceship-Parts/Spaceship-Parts/data/113.png | Bin 0 -> 3064 bytes .../Spaceship-Parts/Spaceship-Parts/data/114.png | Bin 0 -> 803 bytes .../Spaceship-Parts/Spaceship-Parts/data/115.png | Bin 0 -> 690 bytes .../Spaceship-Parts/Spaceship-Parts/data/116.png | Bin 0 -> 1435 bytes .../Spaceship-Parts/Spaceship-Parts/data/117.png | Bin 0 -> 4522 bytes .../Spaceship-Parts/Spaceship-Parts/data/118.png | Bin 0 -> 9447 bytes .../Spaceship-Parts/Spaceship-Parts/data/119.png | Bin 0 -> 800 bytes .../Spaceship-Parts/Spaceship-Parts/data/120.png | Bin 0 -> 3412 bytes .../Spaceship-Parts/Spaceship-Parts/data/121.png | Bin 0 -> 3386 bytes .../Spaceship-Parts/Spaceship-Parts/data/122.png | Bin 0 -> 2690 bytes .../Spaceship-Parts/Spaceship-Parts/data/123.png | Bin 0 -> 4202 bytes .../Spaceship-Parts/Spaceship-Parts/data/124.png | Bin 0 -> 7416 bytes .../Spaceship-Parts/Spaceship-Parts/data/125.png | Bin 0 -> 14258 bytes .../Spaceship-Parts/Spaceship-Parts/data/126.png | Bin 0 -> 655 bytes .../Spaceship-Parts/Spaceship-Parts/data/127.png | Bin 0 -> 3519 bytes .../Spaceship-Parts/Spaceship-Parts/data/128.png | Bin 0 -> 6077 bytes data_src/Spaceship-Parts/Spaceship-Parts/mimetype | 1 + data_src/Spaceship-Parts/Spaceship-Parts/stack.xml | 2 + data_src/Stars-Nebulae/Nebula1.png | Bin 0 -> 441422 bytes data_src/Stars-Nebulae/Nebula2.png | Bin 0 -> 354620 bytes data_src/Stars-Nebulae/Nebula3.png | Bin 0 -> 570970 bytes data_src/Stars-Nebulae/Stars.png | Bin 0 -> 82047 bytes data_src/afterburn.png | Bin 0 -> 9152 bytes data_src/car-battery.png | Bin 0 -> 3582 bytes data_src/electric.png | Bin 0 -> 4802 bytes data_src/electrical-resistance.png | Bin 0 -> 6632 bytes data_src/fuel-tank.png | Bin 0 -> 7576 bytes data_src/joint1000.png | Bin 0 -> 1436 bytes data_src/joint1010.png | Bin 0 -> 1395 bytes data_src/joint1100.png | Bin 0 -> 1469 bytes data_src/joint1110.png | Bin 0 -> 1442 bytes data_src/joint1111.png | Bin 0 -> 1485 bytes data_src/lightning-dissipation.png | Bin 0 -> 14989 bytes data_src/models/complete.blend | Bin 0 -> 478116 bytes data_src/models/complete.blend1 | Bin 0 -> 467072 bytes data_src/models/green_outline.blend | Bin 0 -> 479788 bytes data_src/models/green_outline.blend1 | Bin 0 -> 479788 bytes data_src/models/grid.blend | Bin 0 -> 450064 bytes data_src/models/grid.blend1 | Bin 0 -> 450064 bytes data_src/models/icon_battery.blend | Bin 0 -> 420780 bytes data_src/models/icon_battery.blend1 | Bin 0 -> 464636 bytes data_src/models/icon_engine.blend | Bin 0 -> 430124 bytes data_src/models/icon_engine.blend1 | Bin 0 -> 430124 bytes data_src/models/icon_fueltank.blend | Bin 0 -> 466724 bytes data_src/models/icon_fueltank.blend1 | Bin 0 -> 466724 bytes data_src/models/icon_generator.blend | Bin 0 -> 462212 bytes data_src/models/icon_generator.blend1 | Bin 0 -> 462212 bytes data_src/models/icon_high_voltage.blend | Bin 0 -> 464712 bytes data_src/models/icon_high_voltage.blend1 | Bin 0 -> 465048 bytes data_src/models/icon_hv_source.blend | Bin 0 -> 428212 bytes data_src/models/icon_hv_source.blend1 | Bin 0 -> 471980 bytes data_src/models/icon_ionthrust.blend | Bin 0 -> 466932 bytes data_src/models/icon_ionthrust.blend1 | Bin 0 -> 466932 bytes data_src/models/icon_laser_turret.blend | Bin 0 -> 428124 bytes data_src/models/icon_laser_turret.blend1 | Bin 0 -> 463916 bytes data_src/models/icon_wire.blend | Bin 0 -> 426856 bytes data_src/models/icon_wire.blend1 | Bin 0 -> 428096 bytes data_src/models/layer_electric.blend | Bin 0 -> 470936 bytes data_src/models/layer_electric.blend1 | Bin 0 -> 468568 bytes data_src/models/layer_fuel.blend | Bin 0 -> 489780 bytes data_src/models/layer_fuel.blend1 | Bin 0 -> 489780 bytes data_src/models/layer_hv.blend | Bin 0 -> 480008 bytes data_src/models/layer_hv.blend1 | Bin 0 -> 483452 bytes data_src/models/level_1.blend | Bin 0 -> 468212 bytes data_src/models/level_1.blend1 | Bin 0 -> 468212 bytes data_src/models/level_10.blend | Bin 0 -> 439832 bytes data_src/models/level_10.blend1 | Bin 0 -> 432712 bytes data_src/models/level_11.blend | Bin 0 -> 631168 bytes data_src/models/level_12.blend | Bin 0 -> 487332 bytes data_src/models/level_12.blend1 | Bin 0 -> 487332 bytes data_src/models/level_2.blend | Bin 0 -> 471764 bytes data_src/models/level_2.blend1 | Bin 0 -> 471764 bytes data_src/models/level_3.blend | Bin 0 -> 468956 bytes data_src/models/level_3p2.blend | Bin 0 -> 476340 bytes data_src/models/level_3p2.blend1 | Bin 0 -> 476340 bytes data_src/models/level_4.blend | Bin 0 -> 460484 bytes data_src/models/level_4.blend1 | Bin 0 -> 460484 bytes data_src/models/level_5.blend | Bin 0 -> 463708 bytes data_src/models/level_5.blend1 | Bin 0 -> 463708 bytes data_src/models/level_6.blend | Bin 0 -> 468988 bytes data_src/models/level_6.blend1 | Bin 0 -> 468988 bytes data_src/models/level_7.blend | Bin 0 -> 471700 bytes data_src/models/level_7.blend1 | Bin 0 -> 471700 bytes data_src/models/level_8.blend | Bin 0 -> 523668 bytes data_src/models/level_8.blend1 | Bin 0 -> 457488 bytes data_src/models/level_9.blend | Bin 0 -> 428188 bytes data_src/models/level_9.blend1 | Bin 0 -> 471956 bytes data_src/models/level_complete.blend | Bin 0 -> 459228 bytes data_src/models/level_complete.blend1 | Bin 0 -> 459228 bytes data_src/models/manage_chatbox.blend | Bin 0 -> 482684 bytes data_src/models/manage_chatbox.blend1 | Bin 0 -> 496380 bytes data_src/models/manage_portrait.blend | Bin 0 -> 7270428 bytes data_src/models/manage_portrait.blend1 | Bin 0 -> 7268444 bytes data_src/models/money_background.blend | Bin 0 -> 478384 bytes data_src/models/money_background.blend1 | Bin 0 -> 478384 bytes data_src/models/numbered_grid.blend | Bin 0 -> 478596 bytes data_src/models/numbered_grid.blend1 | Bin 0 -> 454588 bytes data_src/models/ph_manager.blend | Bin 0 -> 5568828 bytes data_src/models/ph_manager.blend1 | Bin 0 -> 5568828 bytes data_src/models/ph_start_screen.blend | Bin 0 -> 462676 bytes data_src/models/ph_start_screen.blend1 | Bin 0 -> 462676 bytes data_src/models/pipe1111.blend | Bin 0 -> 483752 bytes data_src/models/pipe1111.blend1 | Bin 0 -> 490936 bytes data_src/models/pipe1111_hint.blend | Bin 0 -> 488276 bytes data_src/models/selected_layer_outline.blend | Bin 0 -> 464020 bytes data_src/models/selected_layer_outline.blend1 | Bin 0 -> 464020 bytes data_src/models/star.blend1 | Bin 0 -> 468996 bytes data_src/models/star1.blend | Bin 0 -> 465016 bytes data_src/models/star2.blend | Bin 0 -> 460492 bytes data_src/models/star2.blend1 | Bin 0 -> 468996 bytes data_src/models/star3.blend | Bin 0 -> 464580 bytes data_src/models/star3.blend1 | Bin 0 -> 464580 bytes data_src/models/test.blend | Bin 0 -> 457488 bytes data_src/models/test_ship.blend | Bin 0 -> 479668 bytes data_src/models/test_ship.blend1 | Bin 0 -> 479668 bytes data_src/models/texture_brick.blend | Bin 0 -> 508884 bytes data_src/models/texture_dirt_1.blend | Bin 0 -> 495156 bytes data_src/models/texture_dirt_1.blend1 | Bin 0 -> 495156 bytes data_src/models/texture_red_white_checker.blend | Bin 0 -> 493964 bytes data_src/models/texture_red_white_checker.blend1 | Bin 0 -> 493964 bytes data_src/models/texture_wood_1.blend | Bin 0 -> 496220 bytes data_src/models/unselected_layer_outline.blend | Bin 0 -> 477016 bytes data_src/models/unselected_layer_outline.blend1 | Bin 0 -> 477016 bytes data_src/nuclear-plant.png | Bin 0 -> 13627 bytes data_src/plug.png | Bin 0 -> 5382 bytes data_src/power-generator.png | Bin 0 -> 11264 bytes data_src/pylon.png | Bin 0 -> 11519 bytes data_src/rocket-thruster.png | Bin 0 -> 19239 bytes data_src/space.jpg | Bin 0 -> 285337 bytes data_src/straight-pipe.png | Bin 0 -> 4585 bytes data_src/tee-pipe.png | Bin 0 -> 5058 bytes data_src/tesla-turret.png | Bin 0 -> 7579 bytes data_src/test_ship.tsx | 7 + rewrite.lua | 30 ++++ src/complete.moon | 37 ++++ src/conf.lua | 6 + src/dispatch.moon | 72 ++++++++ src/ext.lua | 72 ++++++++ src/game.moon | 131 ++++++++++++++ src/global.moon | 22 +++ src/graph.lua | 191 +++++++++++++++++++++ src/layers.moon | 151 ++++++++++++++++ src/level1.moon | 56 ++++++ src/level10.moon | 54 ++++++ src/level11.moon | 83 +++++++++ src/level12.moon | 83 +++++++++ src/level2.moon | 43 +++++ src/level3.moon | 40 +++++ src/level3p2.moon | 44 +++++ src/level4.moon | 52 ++++++ src/level5.moon | 52 ++++++ src/level6.moon | 56 ++++++ src/level7.moon | 56 ++++++ src/level8.moon | 56 ++++++ src/level9.moon | 56 ++++++ src/main.moon | 36 ++++ src/manager.moon | 9 + src/startscreen.moon | 12 ++ src/ui.moon | 70 ++++++++ 322 files changed, 1656 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 aap-64-1x.png create mode 100644 data_src/Alien-Ships/Alien-Battlecruiser.psd create mode 100644 data_src/Alien-Ships/Alien-Battleship.psd create mode 100644 data_src/Alien-Ships/Alien-Bomber.psd create mode 100644 data_src/Alien-Ships/Alien-Cruiser.psd create mode 100644 data_src/Alien-Ships/Alien-Destroyer.psd create mode 100644 data_src/Alien-Ships/Alien-Frigate.psd create mode 100644 data_src/Alien-Ships/Alien-HeavyCruiser.psd create mode 100644 data_src/Alien-Ships/Alien-Mothership2.psd create mode 100644 data_src/Alien-Ships/Alien-Scout.psd create mode 100644 data_src/Alien-Ships/Alien-Spacestation.psd create mode 100644 data_src/Example_ships/1.png create mode 100644 data_src/Example_ships/10.png create mode 100644 data_src/Example_ships/10B.png create mode 100644 data_src/Example_ships/11.png create mode 100644 data_src/Example_ships/11B.png create mode 100644 data_src/Example_ships/12.png create mode 100644 data_src/Example_ships/12B.png create mode 100644 data_src/Example_ships/13.png create mode 100644 data_src/Example_ships/13B.png create mode 100644 data_src/Example_ships/1B.png create mode 100644 data_src/Example_ships/2.png create mode 100644 data_src/Example_ships/2B.png create mode 100644 data_src/Example_ships/3.png create mode 100644 data_src/Example_ships/3B.png create mode 100644 data_src/Example_ships/4.png create mode 100644 data_src/Example_ships/4B.png create mode 100644 data_src/Example_ships/5.png create mode 100644 data_src/Example_ships/5B.png create mode 100644 data_src/Example_ships/6.png create mode 100644 data_src/Example_ships/6B.png create mode 100644 data_src/Example_ships/7.png create mode 100644 data_src/Example_ships/7B.png create mode 100644 data_src/Example_ships/8.png create mode 100644 data_src/Example_ships/8B.png create mode 100644 data_src/Example_ships/9.png create mode 100644 data_src/Example_ships/9B.png create mode 100644 data_src/MONK.blend create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts.ora create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts.psd create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/Thumbnails/thumbnail.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/001-000.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/001-001.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/001-002.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/001-003.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/001-004.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/001-005.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/001-006.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/001-007.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/001.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/002.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/003.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/004.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/005.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/006.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/007.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/008.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/009.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/010.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/011.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/012.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/013.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/014.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/015.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/016.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/017.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/018.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/019.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/020.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/021.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/022.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/023.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/024.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/025.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/026.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/027.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/028.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/029.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/030.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/031.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/032.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/033.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/034.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/035.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/036.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/037.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/038.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/039.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/040.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/041.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/042.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/043.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/044.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/045.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/046.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/047.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/048.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/049.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/050.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/051.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/052.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/053.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/054.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/055.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/056.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/057.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/058.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/059.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/060.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/061.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/062.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/063.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/064.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/065.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/066.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/067.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/068.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/069.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/070.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/071.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/072.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/073.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/074.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/075.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/076.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/077.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/078.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/079.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/080.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/081.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/082.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/083.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/084.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/085.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/086.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/087.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/088.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/089.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/090.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/091.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/092.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/093.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/094.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/095.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/096.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/097.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/098.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/099.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/100.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/101.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/102.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/103.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/104.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/105.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/106.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/107.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/108.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/109.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/110.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/111.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/112.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/113.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/114.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/115.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/116.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/117.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/118.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/119.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/120.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/121.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/122.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/123.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/124.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/125.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/126.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/127.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/data/128.png create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/mimetype create mode 100644 data_src/Spaceship-Parts/Spaceship-Parts/stack.xml create mode 100644 data_src/Stars-Nebulae/Nebula1.png create mode 100644 data_src/Stars-Nebulae/Nebula2.png create mode 100644 data_src/Stars-Nebulae/Nebula3.png create mode 100644 data_src/Stars-Nebulae/Stars.png create mode 100644 data_src/afterburn.png create mode 100644 data_src/car-battery.png create mode 100644 data_src/electric.png create mode 100644 data_src/electrical-resistance.png create mode 100644 data_src/fuel-tank.png create mode 100644 data_src/joint1000.png create mode 100644 data_src/joint1010.png create mode 100644 data_src/joint1100.png create mode 100644 data_src/joint1110.png create mode 100644 data_src/joint1111.png create mode 100644 data_src/lightning-dissipation.png create mode 100644 data_src/models/complete.blend create mode 100644 data_src/models/complete.blend1 create mode 100644 data_src/models/green_outline.blend create mode 100644 data_src/models/green_outline.blend1 create mode 100644 data_src/models/grid.blend create mode 100644 data_src/models/grid.blend1 create mode 100644 data_src/models/icon_battery.blend create mode 100644 data_src/models/icon_battery.blend1 create mode 100644 data_src/models/icon_engine.blend create mode 100644 data_src/models/icon_engine.blend1 create mode 100644 data_src/models/icon_fueltank.blend create mode 100644 data_src/models/icon_fueltank.blend1 create mode 100644 data_src/models/icon_generator.blend create mode 100644 data_src/models/icon_generator.blend1 create mode 100644 data_src/models/icon_high_voltage.blend create mode 100644 data_src/models/icon_high_voltage.blend1 create mode 100644 data_src/models/icon_hv_source.blend create mode 100644 data_src/models/icon_hv_source.blend1 create mode 100644 data_src/models/icon_ionthrust.blend create mode 100644 data_src/models/icon_ionthrust.blend1 create mode 100644 data_src/models/icon_laser_turret.blend create mode 100644 data_src/models/icon_laser_turret.blend1 create mode 100644 data_src/models/icon_wire.blend create mode 100644 data_src/models/icon_wire.blend1 create mode 100644 data_src/models/layer_electric.blend create mode 100644 data_src/models/layer_electric.blend1 create mode 100644 data_src/models/layer_fuel.blend create mode 100644 data_src/models/layer_fuel.blend1 create mode 100644 data_src/models/layer_hv.blend create mode 100644 data_src/models/layer_hv.blend1 create mode 100644 data_src/models/level_1.blend create mode 100644 data_src/models/level_1.blend1 create mode 100644 data_src/models/level_10.blend create mode 100644 data_src/models/level_10.blend1 create mode 100644 data_src/models/level_11.blend create mode 100644 data_src/models/level_12.blend create mode 100644 data_src/models/level_12.blend1 create mode 100644 data_src/models/level_2.blend create mode 100644 data_src/models/level_2.blend1 create mode 100644 data_src/models/level_3.blend create mode 100644 data_src/models/level_3p2.blend create mode 100644 data_src/models/level_3p2.blend1 create mode 100644 data_src/models/level_4.blend create mode 100644 data_src/models/level_4.blend1 create mode 100644 data_src/models/level_5.blend create mode 100644 data_src/models/level_5.blend1 create mode 100644 data_src/models/level_6.blend create mode 100644 data_src/models/level_6.blend1 create mode 100644 data_src/models/level_7.blend create mode 100644 data_src/models/level_7.blend1 create mode 100644 data_src/models/level_8.blend create mode 100644 data_src/models/level_8.blend1 create mode 100644 data_src/models/level_9.blend create mode 100644 data_src/models/level_9.blend1 create mode 100644 data_src/models/level_complete.blend create mode 100644 data_src/models/level_complete.blend1 create mode 100644 data_src/models/manage_chatbox.blend create mode 100644 data_src/models/manage_chatbox.blend1 create mode 100644 data_src/models/manage_portrait.blend create mode 100644 data_src/models/manage_portrait.blend1 create mode 100644 data_src/models/money_background.blend create mode 100644 data_src/models/money_background.blend1 create mode 100644 data_src/models/numbered_grid.blend create mode 100644 data_src/models/numbered_grid.blend1 create mode 100644 data_src/models/ph_manager.blend create mode 100644 data_src/models/ph_manager.blend1 create mode 100644 data_src/models/ph_start_screen.blend create mode 100644 data_src/models/ph_start_screen.blend1 create mode 100644 data_src/models/pipe1111.blend create mode 100644 data_src/models/pipe1111.blend1 create mode 100644 data_src/models/pipe1111_hint.blend create mode 100644 data_src/models/selected_layer_outline.blend create mode 100644 data_src/models/selected_layer_outline.blend1 create mode 100644 data_src/models/star.blend1 create mode 100644 data_src/models/star1.blend create mode 100644 data_src/models/star2.blend create mode 100644 data_src/models/star2.blend1 create mode 100644 data_src/models/star3.blend create mode 100644 data_src/models/star3.blend1 create mode 100644 data_src/models/test.blend create mode 100644 data_src/models/test_ship.blend create mode 100644 data_src/models/test_ship.blend1 create mode 100644 data_src/models/texture_brick.blend create mode 100644 data_src/models/texture_dirt_1.blend create mode 100644 data_src/models/texture_dirt_1.blend1 create mode 100644 data_src/models/texture_red_white_checker.blend create mode 100644 data_src/models/texture_red_white_checker.blend1 create mode 100644 data_src/models/texture_wood_1.blend create mode 100644 data_src/models/unselected_layer_outline.blend create mode 100644 data_src/models/unselected_layer_outline.blend1 create mode 100644 data_src/nuclear-plant.png create mode 100644 data_src/plug.png create mode 100644 data_src/power-generator.png create mode 100644 data_src/pylon.png create mode 100644 data_src/rocket-thruster.png create mode 100644 data_src/space.jpg create mode 100644 data_src/straight-pipe.png create mode 100644 data_src/tee-pipe.png create mode 100644 data_src/tesla-turret.png create mode 100644 data_src/test_ship.tsx create mode 100644 rewrite.lua create mode 100644 src/complete.moon create mode 100644 src/conf.lua create mode 100644 src/dispatch.moon create mode 100644 src/ext.lua create mode 100644 src/game.moon create mode 100644 src/global.moon create mode 100644 src/graph.lua create mode 100644 src/layers.moon create mode 100644 src/level1.moon create mode 100644 src/level10.moon create mode 100644 src/level11.moon create mode 100644 src/level12.moon create mode 100644 src/level2.moon create mode 100644 src/level3.moon create mode 100644 src/level3p2.moon create mode 100644 src/level4.moon create mode 100644 src/level5.moon create mode 100644 src/level6.moon create mode 100644 src/level7.moon create mode 100644 src/level8.moon create mode 100644 src/level9.moon create mode 100644 src/main.moon create mode 100644 src/manager.moon create mode 100644 src/startscreen.moon create mode 100644 src/ui.moon diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4dd8d16 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +build/* +data_src/img_raw/* +debug/* +ggj20/* +*.zip diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e59c443 --- /dev/null +++ b/Makefile @@ -0,0 +1,71 @@ + +#Binaries +BLENDER = "C:\Program Files\Blender Foundation\Blender\blender.exe" +CONVERT = convert +MOONC = moonc.bat +CP = cp +CAT = cat +CD = cd +AMULET = amulet-console +LUA = lua +MV = mv +UNZIP = unzip -o #overwrite without asking +HTTP_SERVER = python -m http.server #STL +OPEN_BROWSER = rundll32 url.dll,FileProtocolHandler http://localhost:8000 +ECHO=echo + +moon_files = $(shell ls src/*.moon) +lua_files = $(shell ls src/*.lua) +build_moon_files = $(moon_files:src/%.moon=build/%.lua) +debug_moon_files = $(moon_files:src/%.moon=debug/%.lua.X) +build_lua_files = $(lua_files:src/%.lua=build/%.lua) + +#Sprites from models +model_files = $(shell sh -c "find data_src/models/*.blend") +raw_imgs = $(model_files:data_src/models/%.blend=data_src/img_raw/%_raw.png) +static_files = $(shell ls data_src/*.jpg) $(shell ls data_src/*.png) +static_imgs = $(static_files:data_src/%=build/data/%) +sprites = $(raw_imgs:data_src/img_raw/%_raw.png=build/data/%.png) +all_files = $(build_moon_files) $(build_lua_files) $(debug_moon_files) $(sprites) + +all ggj20-1.0.0-html.zip : $(build_lua_files) $(build_moon_files) $(sprites) $(static_imgs) + $(AMULET) export -r -windows -mac -linux -html build + +serve: ggj20-1.0.0-html.zip + $(UNZIP) $^ + $(OPEN_BROWSER) + $(CD) ggj20 && $(HTTP_SERVER) + +dev: $(build_lua_files) $(build_moon_files) $(debug_moon_files) $(sprites) $(static_imgs) + $(CD) build && $(AMULET) 2> err.log || true + $(CAT) build/err.log | $(LUA) rewrite.lua + +$(build_moon_files) : build/%.lua : src/%.moon + $(MOONC) -o $@ $< + +$(debug_moon_files) : debug/%.lua.X : src/%.moon + $(MOONC) -X $< > $@ + +$(build_lua_files) : build/%.lua : src/%.lua + $(CP) $< $@ + +#Convert images to our reduce 64 colors +$(sprites) : build/data/%.png : data_src/img_raw/%_raw.png + $(CONVERT) $^ +dither -remap aap-64-1x.png $@ + +$(raw_imgs) : data_src/img_raw/%_raw.png : data_src/models/%.blend + $(BLENDER) -b $^ -o //../../$(@:%_raw.png=%_raw_) -f 1 + $(MV) $(@:%_raw.png=%_raw_0001.png) $@ + +$(static_imgs) : build/data/% : data_src/% + $(CP) $^ $@ + +clean: + $(RM) -f debug/* + $(RM) -f build/*.lua + $(RM) -f build/data/*.png + $(RM) -f data_src/img_raw/*.png + $(RM) -f build/out.log + $(RM) -f build/err.log + $(RM) -f *.zip + $(RM) -rf ggj20 diff --git a/aap-64-1x.png b/aap-64-1x.png new file mode 100644 index 0000000..165ed09 Binary files /dev/null and b/aap-64-1x.png differ diff --git a/data_src/Alien-Ships/Alien-Battlecruiser.psd b/data_src/Alien-Ships/Alien-Battlecruiser.psd new file mode 100644 index 0000000..aff384a Binary files /dev/null and b/data_src/Alien-Ships/Alien-Battlecruiser.psd differ diff --git a/data_src/Alien-Ships/Alien-Battleship.psd b/data_src/Alien-Ships/Alien-Battleship.psd new file mode 100644 index 0000000..58e5fe4 Binary files /dev/null and b/data_src/Alien-Ships/Alien-Battleship.psd differ diff --git a/data_src/Alien-Ships/Alien-Bomber.psd b/data_src/Alien-Ships/Alien-Bomber.psd new file mode 100644 index 0000000..9819924 Binary files /dev/null and b/data_src/Alien-Ships/Alien-Bomber.psd differ diff --git a/data_src/Alien-Ships/Alien-Cruiser.psd b/data_src/Alien-Ships/Alien-Cruiser.psd new file mode 100644 index 0000000..6609184 Binary files /dev/null and b/data_src/Alien-Ships/Alien-Cruiser.psd differ diff --git a/data_src/Alien-Ships/Alien-Destroyer.psd b/data_src/Alien-Ships/Alien-Destroyer.psd new file mode 100644 index 0000000..fb0782d Binary files /dev/null and b/data_src/Alien-Ships/Alien-Destroyer.psd differ diff --git a/data_src/Alien-Ships/Alien-Frigate.psd b/data_src/Alien-Ships/Alien-Frigate.psd new file mode 100644 index 0000000..e41fab7 Binary files /dev/null and b/data_src/Alien-Ships/Alien-Frigate.psd differ diff --git a/data_src/Alien-Ships/Alien-HeavyCruiser.psd b/data_src/Alien-Ships/Alien-HeavyCruiser.psd new file mode 100644 index 0000000..e01a47d Binary files /dev/null and b/data_src/Alien-Ships/Alien-HeavyCruiser.psd differ diff --git a/data_src/Alien-Ships/Alien-Mothership2.psd b/data_src/Alien-Ships/Alien-Mothership2.psd new file mode 100644 index 0000000..b322d19 Binary files /dev/null and b/data_src/Alien-Ships/Alien-Mothership2.psd differ diff --git a/data_src/Alien-Ships/Alien-Scout.psd b/data_src/Alien-Ships/Alien-Scout.psd new file mode 100644 index 0000000..9543016 Binary files /dev/null and b/data_src/Alien-Ships/Alien-Scout.psd differ diff --git a/data_src/Alien-Ships/Alien-Spacestation.psd b/data_src/Alien-Ships/Alien-Spacestation.psd new file mode 100644 index 0000000..7b2fb92 Binary files /dev/null and b/data_src/Alien-Ships/Alien-Spacestation.psd differ diff --git a/data_src/Example_ships/1.png b/data_src/Example_ships/1.png new file mode 100644 index 0000000..708d595 Binary files /dev/null and b/data_src/Example_ships/1.png differ diff --git a/data_src/Example_ships/10.png b/data_src/Example_ships/10.png new file mode 100644 index 0000000..46adef6 Binary files /dev/null and b/data_src/Example_ships/10.png differ diff --git a/data_src/Example_ships/10B.png b/data_src/Example_ships/10B.png new file mode 100644 index 0000000..2b2c6da Binary files /dev/null and b/data_src/Example_ships/10B.png differ diff --git a/data_src/Example_ships/11.png b/data_src/Example_ships/11.png new file mode 100644 index 0000000..4495f38 Binary files /dev/null and b/data_src/Example_ships/11.png differ diff --git a/data_src/Example_ships/11B.png b/data_src/Example_ships/11B.png new file mode 100644 index 0000000..c5cf76a Binary files /dev/null and b/data_src/Example_ships/11B.png differ diff --git a/data_src/Example_ships/12.png b/data_src/Example_ships/12.png new file mode 100644 index 0000000..4bdf2c3 Binary files /dev/null and b/data_src/Example_ships/12.png differ diff --git a/data_src/Example_ships/12B.png b/data_src/Example_ships/12B.png new file mode 100644 index 0000000..90c2d6a Binary files /dev/null and b/data_src/Example_ships/12B.png differ diff --git a/data_src/Example_ships/13.png b/data_src/Example_ships/13.png new file mode 100644 index 0000000..198572a Binary files /dev/null and b/data_src/Example_ships/13.png differ diff --git a/data_src/Example_ships/13B.png b/data_src/Example_ships/13B.png new file mode 100644 index 0000000..74befdb Binary files /dev/null and b/data_src/Example_ships/13B.png differ diff --git a/data_src/Example_ships/1B.png b/data_src/Example_ships/1B.png new file mode 100644 index 0000000..e9091ec Binary files /dev/null and b/data_src/Example_ships/1B.png differ diff --git a/data_src/Example_ships/2.png b/data_src/Example_ships/2.png new file mode 100644 index 0000000..88fc959 Binary files /dev/null and b/data_src/Example_ships/2.png differ diff --git a/data_src/Example_ships/2B.png b/data_src/Example_ships/2B.png new file mode 100644 index 0000000..8f4e9f0 Binary files /dev/null and b/data_src/Example_ships/2B.png differ diff --git a/data_src/Example_ships/3.png b/data_src/Example_ships/3.png new file mode 100644 index 0000000..d180b05 Binary files /dev/null and b/data_src/Example_ships/3.png differ diff --git a/data_src/Example_ships/3B.png b/data_src/Example_ships/3B.png new file mode 100644 index 0000000..bf85dce Binary files /dev/null and b/data_src/Example_ships/3B.png differ diff --git a/data_src/Example_ships/4.png b/data_src/Example_ships/4.png new file mode 100644 index 0000000..74c7cd1 Binary files /dev/null and b/data_src/Example_ships/4.png differ diff --git a/data_src/Example_ships/4B.png b/data_src/Example_ships/4B.png new file mode 100644 index 0000000..6a2802d Binary files /dev/null and b/data_src/Example_ships/4B.png differ diff --git a/data_src/Example_ships/5.png b/data_src/Example_ships/5.png new file mode 100644 index 0000000..485382d Binary files /dev/null and b/data_src/Example_ships/5.png differ diff --git a/data_src/Example_ships/5B.png b/data_src/Example_ships/5B.png new file mode 100644 index 0000000..5122982 Binary files /dev/null and b/data_src/Example_ships/5B.png differ diff --git a/data_src/Example_ships/6.png b/data_src/Example_ships/6.png new file mode 100644 index 0000000..673a0ab Binary files /dev/null and b/data_src/Example_ships/6.png differ diff --git a/data_src/Example_ships/6B.png b/data_src/Example_ships/6B.png new file mode 100644 index 0000000..e6323e9 Binary files /dev/null and b/data_src/Example_ships/6B.png differ diff --git a/data_src/Example_ships/7.png b/data_src/Example_ships/7.png new file mode 100644 index 0000000..3a8e607 Binary files /dev/null and b/data_src/Example_ships/7.png differ diff --git a/data_src/Example_ships/7B.png b/data_src/Example_ships/7B.png new file mode 100644 index 0000000..238a444 Binary files /dev/null and b/data_src/Example_ships/7B.png differ diff --git a/data_src/Example_ships/8.png b/data_src/Example_ships/8.png new file mode 100644 index 0000000..86d5d4e Binary files /dev/null and b/data_src/Example_ships/8.png differ diff --git a/data_src/Example_ships/8B.png b/data_src/Example_ships/8B.png new file mode 100644 index 0000000..462a3e8 Binary files /dev/null and b/data_src/Example_ships/8B.png differ diff --git a/data_src/Example_ships/9.png b/data_src/Example_ships/9.png new file mode 100644 index 0000000..bb194a0 Binary files /dev/null and b/data_src/Example_ships/9.png differ diff --git a/data_src/Example_ships/9B.png b/data_src/Example_ships/9B.png new file mode 100644 index 0000000..2641475 Binary files /dev/null and b/data_src/Example_ships/9B.png differ diff --git a/data_src/MONK.blend b/data_src/MONK.blend new file mode 100644 index 0000000..524457d Binary files /dev/null and b/data_src/MONK.blend differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts.ora b/data_src/Spaceship-Parts/Spaceship-Parts.ora new file mode 100644 index 0000000..d8c0359 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts.ora differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts.psd b/data_src/Spaceship-Parts/Spaceship-Parts.psd new file mode 100644 index 0000000..dc31470 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts.psd differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/Thumbnails/thumbnail.png b/data_src/Spaceship-Parts/Spaceship-Parts/Thumbnails/thumbnail.png new file mode 100644 index 0000000..81c61a5 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/Thumbnails/thumbnail.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/001-000.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/001-000.png new file mode 100644 index 0000000..476a617 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/001-000.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/001-001.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/001-001.png new file mode 100644 index 0000000..225e56b Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/001-001.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/001-002.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/001-002.png new file mode 100644 index 0000000..01978a2 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/001-002.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/001-003.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/001-003.png new file mode 100644 index 0000000..a399b6b Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/001-003.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/001-004.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/001-004.png new file mode 100644 index 0000000..9e40340 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/001-004.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/001-005.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/001-005.png new file mode 100644 index 0000000..65d0ce7 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/001-005.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/001-006.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/001-006.png new file mode 100644 index 0000000..567855e Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/001-006.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/001-007.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/001-007.png new file mode 100644 index 0000000..33b7b53 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/001-007.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/001.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/001.png new file mode 100644 index 0000000..3993503 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/001.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/002.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/002.png new file mode 100644 index 0000000..bdc67b0 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/002.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/003.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/003.png new file mode 100644 index 0000000..8694d3e Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/003.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/004.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/004.png new file mode 100644 index 0000000..2fecc89 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/004.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/005.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/005.png new file mode 100644 index 0000000..a883ba9 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/005.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/006.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/006.png new file mode 100644 index 0000000..f30b152 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/006.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/007.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/007.png new file mode 100644 index 0000000..12fbdb9 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/007.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/008.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/008.png new file mode 100644 index 0000000..7f0426d Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/008.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/009.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/009.png new file mode 100644 index 0000000..e980cd8 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/009.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/010.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/010.png new file mode 100644 index 0000000..438bce4 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/010.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/011.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/011.png new file mode 100644 index 0000000..5070162 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/011.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/012.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/012.png new file mode 100644 index 0000000..1990bbe Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/012.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/013.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/013.png new file mode 100644 index 0000000..5b35520 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/013.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/014.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/014.png new file mode 100644 index 0000000..bcd84c5 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/014.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/015.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/015.png new file mode 100644 index 0000000..95a16a4 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/015.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/016.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/016.png new file mode 100644 index 0000000..3a9c2c6 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/016.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/017.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/017.png new file mode 100644 index 0000000..54d1286 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/017.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/018.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/018.png new file mode 100644 index 0000000..ee0c8f2 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/018.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/019.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/019.png new file mode 100644 index 0000000..bd28a40 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/019.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/020.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/020.png new file mode 100644 index 0000000..793ff42 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/020.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/021.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/021.png new file mode 100644 index 0000000..c00ecef Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/021.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/022.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/022.png new file mode 100644 index 0000000..356dc8a Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/022.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/023.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/023.png new file mode 100644 index 0000000..479b8a0 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/023.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/024.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/024.png new file mode 100644 index 0000000..79ee5fe Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/024.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/025.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/025.png new file mode 100644 index 0000000..d4acc89 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/025.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/026.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/026.png new file mode 100644 index 0000000..a45383d Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/026.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/027.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/027.png new file mode 100644 index 0000000..51967e7 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/027.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/028.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/028.png new file mode 100644 index 0000000..f100d1c Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/028.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/029.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/029.png new file mode 100644 index 0000000..5ae9da8 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/029.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/030.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/030.png new file mode 100644 index 0000000..ba910d9 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/030.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/031.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/031.png new file mode 100644 index 0000000..769da17 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/031.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/032.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/032.png new file mode 100644 index 0000000..1927d1c Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/032.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/033.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/033.png new file mode 100644 index 0000000..951333b Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/033.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/034.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/034.png new file mode 100644 index 0000000..51f5183 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/034.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/035.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/035.png new file mode 100644 index 0000000..3d2d2a9 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/035.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/036.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/036.png new file mode 100644 index 0000000..506eba2 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/036.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/037.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/037.png new file mode 100644 index 0000000..86fdafa Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/037.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/038.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/038.png new file mode 100644 index 0000000..26020f4 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/038.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/039.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/039.png new file mode 100644 index 0000000..b35d921 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/039.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/040.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/040.png new file mode 100644 index 0000000..16d6c92 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/040.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/041.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/041.png new file mode 100644 index 0000000..6466c5e Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/041.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/042.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/042.png new file mode 100644 index 0000000..938c938 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/042.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/043.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/043.png new file mode 100644 index 0000000..32750e3 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/043.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/044.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/044.png new file mode 100644 index 0000000..a77aa7d Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/044.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/045.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/045.png new file mode 100644 index 0000000..ead2e26 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/045.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/046.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/046.png new file mode 100644 index 0000000..66982b0 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/046.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/047.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/047.png new file mode 100644 index 0000000..be8ebf5 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/047.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/048.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/048.png new file mode 100644 index 0000000..3eddc00 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/048.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/049.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/049.png new file mode 100644 index 0000000..7927dee Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/049.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/050.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/050.png new file mode 100644 index 0000000..52a71fa Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/050.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/051.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/051.png new file mode 100644 index 0000000..5236924 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/051.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/052.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/052.png new file mode 100644 index 0000000..058fabc Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/052.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/053.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/053.png new file mode 100644 index 0000000..6841ca5 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/053.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/054.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/054.png new file mode 100644 index 0000000..9067cd7 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/054.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/055.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/055.png new file mode 100644 index 0000000..43d5d86 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/055.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/056.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/056.png new file mode 100644 index 0000000..125e8e5 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/056.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/057.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/057.png new file mode 100644 index 0000000..f52bdb9 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/057.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/058.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/058.png new file mode 100644 index 0000000..22522e0 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/058.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/059.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/059.png new file mode 100644 index 0000000..c293673 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/059.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/060.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/060.png new file mode 100644 index 0000000..bff75b8 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/060.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/061.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/061.png new file mode 100644 index 0000000..35afd80 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/061.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/062.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/062.png new file mode 100644 index 0000000..22151f9 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/062.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/063.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/063.png new file mode 100644 index 0000000..fafcab4 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/063.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/064.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/064.png new file mode 100644 index 0000000..dc97389 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/064.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/065.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/065.png new file mode 100644 index 0000000..b7d105c Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/065.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/066.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/066.png new file mode 100644 index 0000000..5cb21ed Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/066.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/067.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/067.png new file mode 100644 index 0000000..fadc0dd Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/067.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/068.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/068.png new file mode 100644 index 0000000..5077c51 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/068.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/069.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/069.png new file mode 100644 index 0000000..0b0aa0c Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/069.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/070.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/070.png new file mode 100644 index 0000000..ae6bf4b Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/070.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/071.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/071.png new file mode 100644 index 0000000..36ee373 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/071.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/072.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/072.png new file mode 100644 index 0000000..9b4a903 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/072.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/073.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/073.png new file mode 100644 index 0000000..8f481cb Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/073.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/074.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/074.png new file mode 100644 index 0000000..9f49647 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/074.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/075.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/075.png new file mode 100644 index 0000000..e2f6909 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/075.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/076.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/076.png new file mode 100644 index 0000000..3019fea Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/076.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/077.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/077.png new file mode 100644 index 0000000..3bffae3 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/077.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/078.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/078.png new file mode 100644 index 0000000..3d26094 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/078.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/079.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/079.png new file mode 100644 index 0000000..6ee01bd Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/079.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/080.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/080.png new file mode 100644 index 0000000..0f2b34b Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/080.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/081.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/081.png new file mode 100644 index 0000000..9a97a55 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/081.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/082.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/082.png new file mode 100644 index 0000000..e1fed20 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/082.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/083.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/083.png new file mode 100644 index 0000000..a8f5f64 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/083.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/084.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/084.png new file mode 100644 index 0000000..384db03 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/084.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/085.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/085.png new file mode 100644 index 0000000..34da3b4 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/085.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/086.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/086.png new file mode 100644 index 0000000..295e560 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/086.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/087.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/087.png new file mode 100644 index 0000000..9f33c7f Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/087.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/088.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/088.png new file mode 100644 index 0000000..ed14815 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/088.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/089.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/089.png new file mode 100644 index 0000000..a31326b Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/089.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/090.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/090.png new file mode 100644 index 0000000..e764686 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/090.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/091.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/091.png new file mode 100644 index 0000000..072b3ac Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/091.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/092.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/092.png new file mode 100644 index 0000000..1b0bc10 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/092.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/093.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/093.png new file mode 100644 index 0000000..77e3b5b Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/093.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/094.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/094.png new file mode 100644 index 0000000..2bbb24d Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/094.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/095.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/095.png new file mode 100644 index 0000000..ebfce1a Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/095.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/096.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/096.png new file mode 100644 index 0000000..a039287 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/096.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/097.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/097.png new file mode 100644 index 0000000..e1701e2 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/097.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/098.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/098.png new file mode 100644 index 0000000..5432c2b Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/098.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/099.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/099.png new file mode 100644 index 0000000..b8f57ea Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/099.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/100.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/100.png new file mode 100644 index 0000000..fcf37ec Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/100.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/101.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/101.png new file mode 100644 index 0000000..b0b7bdc Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/101.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/102.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/102.png new file mode 100644 index 0000000..29572a5 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/102.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/103.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/103.png new file mode 100644 index 0000000..07a5286 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/103.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/104.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/104.png new file mode 100644 index 0000000..cb1e20e Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/104.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/105.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/105.png new file mode 100644 index 0000000..c533c98 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/105.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/106.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/106.png new file mode 100644 index 0000000..d9399e0 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/106.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/107.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/107.png new file mode 100644 index 0000000..45734f4 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/107.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/108.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/108.png new file mode 100644 index 0000000..e9f4561 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/108.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/109.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/109.png new file mode 100644 index 0000000..789ba37 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/109.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/110.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/110.png new file mode 100644 index 0000000..1736177 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/110.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/111.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/111.png new file mode 100644 index 0000000..4f26f41 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/111.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/112.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/112.png new file mode 100644 index 0000000..a1ea91f Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/112.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/113.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/113.png new file mode 100644 index 0000000..0c19319 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/113.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/114.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/114.png new file mode 100644 index 0000000..e2a038f Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/114.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/115.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/115.png new file mode 100644 index 0000000..d38e7a0 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/115.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/116.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/116.png new file mode 100644 index 0000000..7f74eb0 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/116.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/117.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/117.png new file mode 100644 index 0000000..6b150d7 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/117.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/118.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/118.png new file mode 100644 index 0000000..e6b1c00 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/118.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/119.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/119.png new file mode 100644 index 0000000..8a49ac1 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/119.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/120.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/120.png new file mode 100644 index 0000000..b9d61a3 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/120.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/121.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/121.png new file mode 100644 index 0000000..7c15a3b Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/121.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/122.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/122.png new file mode 100644 index 0000000..e45c931 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/122.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/123.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/123.png new file mode 100644 index 0000000..980b24d Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/123.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/124.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/124.png new file mode 100644 index 0000000..7ae5c91 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/124.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/125.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/125.png new file mode 100644 index 0000000..f2e3520 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/125.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/126.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/126.png new file mode 100644 index 0000000..eeae6e5 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/126.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/127.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/127.png new file mode 100644 index 0000000..5677e39 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/127.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/data/128.png b/data_src/Spaceship-Parts/Spaceship-Parts/data/128.png new file mode 100644 index 0000000..85f6776 Binary files /dev/null and b/data_src/Spaceship-Parts/Spaceship-Parts/data/128.png differ diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/mimetype b/data_src/Spaceship-Parts/Spaceship-Parts/mimetype new file mode 100644 index 0000000..42f4972 --- /dev/null +++ b/data_src/Spaceship-Parts/Spaceship-Parts/mimetype @@ -0,0 +1 @@ +image/openraster \ No newline at end of file diff --git a/data_src/Spaceship-Parts/Spaceship-Parts/stack.xml b/data_src/Spaceship-Parts/Spaceship-Parts/stack.xml new file mode 100644 index 0000000..69e5436 --- /dev/null +++ b/data_src/Spaceship-Parts/Spaceship-Parts/stack.xml @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/data_src/Stars-Nebulae/Nebula1.png b/data_src/Stars-Nebulae/Nebula1.png new file mode 100644 index 0000000..2e1e3c3 Binary files /dev/null and b/data_src/Stars-Nebulae/Nebula1.png differ diff --git a/data_src/Stars-Nebulae/Nebula2.png b/data_src/Stars-Nebulae/Nebula2.png new file mode 100644 index 0000000..1457e1d Binary files /dev/null and b/data_src/Stars-Nebulae/Nebula2.png differ diff --git a/data_src/Stars-Nebulae/Nebula3.png b/data_src/Stars-Nebulae/Nebula3.png new file mode 100644 index 0000000..6cfdba8 Binary files /dev/null and b/data_src/Stars-Nebulae/Nebula3.png differ diff --git a/data_src/Stars-Nebulae/Stars.png b/data_src/Stars-Nebulae/Stars.png new file mode 100644 index 0000000..e9b89d4 Binary files /dev/null and b/data_src/Stars-Nebulae/Stars.png differ diff --git a/data_src/afterburn.png b/data_src/afterburn.png new file mode 100644 index 0000000..5c2da34 Binary files /dev/null and b/data_src/afterburn.png differ diff --git a/data_src/car-battery.png b/data_src/car-battery.png new file mode 100644 index 0000000..45576aa Binary files /dev/null and b/data_src/car-battery.png differ diff --git a/data_src/electric.png b/data_src/electric.png new file mode 100644 index 0000000..28a4fec Binary files /dev/null and b/data_src/electric.png differ diff --git a/data_src/electrical-resistance.png b/data_src/electrical-resistance.png new file mode 100644 index 0000000..91efc62 Binary files /dev/null and b/data_src/electrical-resistance.png differ diff --git a/data_src/fuel-tank.png b/data_src/fuel-tank.png new file mode 100644 index 0000000..7268059 Binary files /dev/null and b/data_src/fuel-tank.png differ diff --git a/data_src/joint1000.png b/data_src/joint1000.png new file mode 100644 index 0000000..783aad4 Binary files /dev/null and b/data_src/joint1000.png differ diff --git a/data_src/joint1010.png b/data_src/joint1010.png new file mode 100644 index 0000000..1dc9061 Binary files /dev/null and b/data_src/joint1010.png differ diff --git a/data_src/joint1100.png b/data_src/joint1100.png new file mode 100644 index 0000000..946e176 Binary files /dev/null and b/data_src/joint1100.png differ diff --git a/data_src/joint1110.png b/data_src/joint1110.png new file mode 100644 index 0000000..c989386 Binary files /dev/null and b/data_src/joint1110.png differ diff --git a/data_src/joint1111.png b/data_src/joint1111.png new file mode 100644 index 0000000..647a626 Binary files /dev/null and b/data_src/joint1111.png differ diff --git a/data_src/lightning-dissipation.png b/data_src/lightning-dissipation.png new file mode 100644 index 0000000..d66bfc2 Binary files /dev/null and b/data_src/lightning-dissipation.png differ diff --git a/data_src/models/complete.blend b/data_src/models/complete.blend new file mode 100644 index 0000000..d994134 Binary files /dev/null and b/data_src/models/complete.blend differ diff --git a/data_src/models/complete.blend1 b/data_src/models/complete.blend1 new file mode 100644 index 0000000..6ce1372 Binary files /dev/null and b/data_src/models/complete.blend1 differ diff --git a/data_src/models/green_outline.blend b/data_src/models/green_outline.blend new file mode 100644 index 0000000..ac470ed Binary files /dev/null and b/data_src/models/green_outline.blend differ diff --git a/data_src/models/green_outline.blend1 b/data_src/models/green_outline.blend1 new file mode 100644 index 0000000..0aea309 Binary files /dev/null and b/data_src/models/green_outline.blend1 differ diff --git a/data_src/models/grid.blend b/data_src/models/grid.blend new file mode 100644 index 0000000..58750fd Binary files /dev/null and b/data_src/models/grid.blend differ diff --git a/data_src/models/grid.blend1 b/data_src/models/grid.blend1 new file mode 100644 index 0000000..c08196d Binary files /dev/null and b/data_src/models/grid.blend1 differ diff --git a/data_src/models/icon_battery.blend b/data_src/models/icon_battery.blend new file mode 100644 index 0000000..6bba30c Binary files /dev/null and b/data_src/models/icon_battery.blend differ diff --git a/data_src/models/icon_battery.blend1 b/data_src/models/icon_battery.blend1 new file mode 100644 index 0000000..dc2537e Binary files /dev/null and b/data_src/models/icon_battery.blend1 differ diff --git a/data_src/models/icon_engine.blend b/data_src/models/icon_engine.blend new file mode 100644 index 0000000..8976da1 Binary files /dev/null and b/data_src/models/icon_engine.blend differ diff --git a/data_src/models/icon_engine.blend1 b/data_src/models/icon_engine.blend1 new file mode 100644 index 0000000..b3d782a Binary files /dev/null and b/data_src/models/icon_engine.blend1 differ diff --git a/data_src/models/icon_fueltank.blend b/data_src/models/icon_fueltank.blend new file mode 100644 index 0000000..7963afb Binary files /dev/null and b/data_src/models/icon_fueltank.blend differ diff --git a/data_src/models/icon_fueltank.blend1 b/data_src/models/icon_fueltank.blend1 new file mode 100644 index 0000000..a5b5dc0 Binary files /dev/null and b/data_src/models/icon_fueltank.blend1 differ diff --git a/data_src/models/icon_generator.blend b/data_src/models/icon_generator.blend new file mode 100644 index 0000000..9efd0ba Binary files /dev/null and b/data_src/models/icon_generator.blend differ diff --git a/data_src/models/icon_generator.blend1 b/data_src/models/icon_generator.blend1 new file mode 100644 index 0000000..7d13e3f Binary files /dev/null and b/data_src/models/icon_generator.blend1 differ diff --git a/data_src/models/icon_high_voltage.blend b/data_src/models/icon_high_voltage.blend new file mode 100644 index 0000000..508d34d Binary files /dev/null and b/data_src/models/icon_high_voltage.blend differ diff --git a/data_src/models/icon_high_voltage.blend1 b/data_src/models/icon_high_voltage.blend1 new file mode 100644 index 0000000..012b4d1 Binary files /dev/null and b/data_src/models/icon_high_voltage.blend1 differ diff --git a/data_src/models/icon_hv_source.blend b/data_src/models/icon_hv_source.blend new file mode 100644 index 0000000..ed17e53 Binary files /dev/null and b/data_src/models/icon_hv_source.blend differ diff --git a/data_src/models/icon_hv_source.blend1 b/data_src/models/icon_hv_source.blend1 new file mode 100644 index 0000000..f700d4c Binary files /dev/null and b/data_src/models/icon_hv_source.blend1 differ diff --git a/data_src/models/icon_ionthrust.blend b/data_src/models/icon_ionthrust.blend new file mode 100644 index 0000000..f18aefd Binary files /dev/null and b/data_src/models/icon_ionthrust.blend differ diff --git a/data_src/models/icon_ionthrust.blend1 b/data_src/models/icon_ionthrust.blend1 new file mode 100644 index 0000000..f4da45d Binary files /dev/null and b/data_src/models/icon_ionthrust.blend1 differ diff --git a/data_src/models/icon_laser_turret.blend b/data_src/models/icon_laser_turret.blend new file mode 100644 index 0000000..d533caf Binary files /dev/null and b/data_src/models/icon_laser_turret.blend differ diff --git a/data_src/models/icon_laser_turret.blend1 b/data_src/models/icon_laser_turret.blend1 new file mode 100644 index 0000000..9848f23 Binary files /dev/null and b/data_src/models/icon_laser_turret.blend1 differ diff --git a/data_src/models/icon_wire.blend b/data_src/models/icon_wire.blend new file mode 100644 index 0000000..d68db38 Binary files /dev/null and b/data_src/models/icon_wire.blend differ diff --git a/data_src/models/icon_wire.blend1 b/data_src/models/icon_wire.blend1 new file mode 100644 index 0000000..88056a5 Binary files /dev/null and b/data_src/models/icon_wire.blend1 differ diff --git a/data_src/models/layer_electric.blend b/data_src/models/layer_electric.blend new file mode 100644 index 0000000..8cd5332 Binary files /dev/null and b/data_src/models/layer_electric.blend differ diff --git a/data_src/models/layer_electric.blend1 b/data_src/models/layer_electric.blend1 new file mode 100644 index 0000000..2475e7d Binary files /dev/null and b/data_src/models/layer_electric.blend1 differ diff --git a/data_src/models/layer_fuel.blend b/data_src/models/layer_fuel.blend new file mode 100644 index 0000000..a987af1 Binary files /dev/null and b/data_src/models/layer_fuel.blend differ diff --git a/data_src/models/layer_fuel.blend1 b/data_src/models/layer_fuel.blend1 new file mode 100644 index 0000000..309bf0f Binary files /dev/null and b/data_src/models/layer_fuel.blend1 differ diff --git a/data_src/models/layer_hv.blend b/data_src/models/layer_hv.blend new file mode 100644 index 0000000..ed25fa8 Binary files /dev/null and b/data_src/models/layer_hv.blend differ diff --git a/data_src/models/layer_hv.blend1 b/data_src/models/layer_hv.blend1 new file mode 100644 index 0000000..119db1b Binary files /dev/null and b/data_src/models/layer_hv.blend1 differ diff --git a/data_src/models/level_1.blend b/data_src/models/level_1.blend new file mode 100644 index 0000000..e3623bf Binary files /dev/null and b/data_src/models/level_1.blend differ diff --git a/data_src/models/level_1.blend1 b/data_src/models/level_1.blend1 new file mode 100644 index 0000000..8b427d8 Binary files /dev/null and b/data_src/models/level_1.blend1 differ diff --git a/data_src/models/level_10.blend b/data_src/models/level_10.blend new file mode 100644 index 0000000..480363f Binary files /dev/null and b/data_src/models/level_10.blend differ diff --git a/data_src/models/level_10.blend1 b/data_src/models/level_10.blend1 new file mode 100644 index 0000000..8a14887 Binary files /dev/null and b/data_src/models/level_10.blend1 differ diff --git a/data_src/models/level_11.blend b/data_src/models/level_11.blend new file mode 100644 index 0000000..db99249 Binary files /dev/null and b/data_src/models/level_11.blend differ diff --git a/data_src/models/level_12.blend b/data_src/models/level_12.blend new file mode 100644 index 0000000..9e57015 Binary files /dev/null and b/data_src/models/level_12.blend differ diff --git a/data_src/models/level_12.blend1 b/data_src/models/level_12.blend1 new file mode 100644 index 0000000..89f0e15 Binary files /dev/null and b/data_src/models/level_12.blend1 differ diff --git a/data_src/models/level_2.blend b/data_src/models/level_2.blend new file mode 100644 index 0000000..e5057e6 Binary files /dev/null and b/data_src/models/level_2.blend differ diff --git a/data_src/models/level_2.blend1 b/data_src/models/level_2.blend1 new file mode 100644 index 0000000..dcda7f9 Binary files /dev/null and b/data_src/models/level_2.blend1 differ diff --git a/data_src/models/level_3.blend b/data_src/models/level_3.blend new file mode 100644 index 0000000..3c38d43 Binary files /dev/null and b/data_src/models/level_3.blend differ diff --git a/data_src/models/level_3p2.blend b/data_src/models/level_3p2.blend new file mode 100644 index 0000000..77f0df4 Binary files /dev/null and b/data_src/models/level_3p2.blend differ diff --git a/data_src/models/level_3p2.blend1 b/data_src/models/level_3p2.blend1 new file mode 100644 index 0000000..4b14876 Binary files /dev/null and b/data_src/models/level_3p2.blend1 differ diff --git a/data_src/models/level_4.blend b/data_src/models/level_4.blend new file mode 100644 index 0000000..c9c0279 Binary files /dev/null and b/data_src/models/level_4.blend differ diff --git a/data_src/models/level_4.blend1 b/data_src/models/level_4.blend1 new file mode 100644 index 0000000..b01de38 Binary files /dev/null and b/data_src/models/level_4.blend1 differ diff --git a/data_src/models/level_5.blend b/data_src/models/level_5.blend new file mode 100644 index 0000000..c2ae60e Binary files /dev/null and b/data_src/models/level_5.blend differ diff --git a/data_src/models/level_5.blend1 b/data_src/models/level_5.blend1 new file mode 100644 index 0000000..692b2f5 Binary files /dev/null and b/data_src/models/level_5.blend1 differ diff --git a/data_src/models/level_6.blend b/data_src/models/level_6.blend new file mode 100644 index 0000000..eb09e14 Binary files /dev/null and b/data_src/models/level_6.blend differ diff --git a/data_src/models/level_6.blend1 b/data_src/models/level_6.blend1 new file mode 100644 index 0000000..7c4c482 Binary files /dev/null and b/data_src/models/level_6.blend1 differ diff --git a/data_src/models/level_7.blend b/data_src/models/level_7.blend new file mode 100644 index 0000000..9e89325 Binary files /dev/null and b/data_src/models/level_7.blend differ diff --git a/data_src/models/level_7.blend1 b/data_src/models/level_7.blend1 new file mode 100644 index 0000000..86a6bf1 Binary files /dev/null and b/data_src/models/level_7.blend1 differ diff --git a/data_src/models/level_8.blend b/data_src/models/level_8.blend new file mode 100644 index 0000000..caa04c4 Binary files /dev/null and b/data_src/models/level_8.blend differ diff --git a/data_src/models/level_8.blend1 b/data_src/models/level_8.blend1 new file mode 100644 index 0000000..106fa69 Binary files /dev/null and b/data_src/models/level_8.blend1 differ diff --git a/data_src/models/level_9.blend b/data_src/models/level_9.blend new file mode 100644 index 0000000..efbd437 Binary files /dev/null and b/data_src/models/level_9.blend differ diff --git a/data_src/models/level_9.blend1 b/data_src/models/level_9.blend1 new file mode 100644 index 0000000..fde2424 Binary files /dev/null and b/data_src/models/level_9.blend1 differ diff --git a/data_src/models/level_complete.blend b/data_src/models/level_complete.blend new file mode 100644 index 0000000..285bd86 Binary files /dev/null and b/data_src/models/level_complete.blend differ diff --git a/data_src/models/level_complete.blend1 b/data_src/models/level_complete.blend1 new file mode 100644 index 0000000..8265c4f Binary files /dev/null and b/data_src/models/level_complete.blend1 differ diff --git a/data_src/models/manage_chatbox.blend b/data_src/models/manage_chatbox.blend new file mode 100644 index 0000000..a0f8a39 Binary files /dev/null and b/data_src/models/manage_chatbox.blend differ diff --git a/data_src/models/manage_chatbox.blend1 b/data_src/models/manage_chatbox.blend1 new file mode 100644 index 0000000..8bb307a Binary files /dev/null and b/data_src/models/manage_chatbox.blend1 differ diff --git a/data_src/models/manage_portrait.blend b/data_src/models/manage_portrait.blend new file mode 100644 index 0000000..46af79a Binary files /dev/null and b/data_src/models/manage_portrait.blend differ diff --git a/data_src/models/manage_portrait.blend1 b/data_src/models/manage_portrait.blend1 new file mode 100644 index 0000000..713c3e5 Binary files /dev/null and b/data_src/models/manage_portrait.blend1 differ diff --git a/data_src/models/money_background.blend b/data_src/models/money_background.blend new file mode 100644 index 0000000..3d7d095 Binary files /dev/null and b/data_src/models/money_background.blend differ diff --git a/data_src/models/money_background.blend1 b/data_src/models/money_background.blend1 new file mode 100644 index 0000000..8c6813d Binary files /dev/null and b/data_src/models/money_background.blend1 differ diff --git a/data_src/models/numbered_grid.blend b/data_src/models/numbered_grid.blend new file mode 100644 index 0000000..3528368 Binary files /dev/null and b/data_src/models/numbered_grid.blend differ diff --git a/data_src/models/numbered_grid.blend1 b/data_src/models/numbered_grid.blend1 new file mode 100644 index 0000000..558716a Binary files /dev/null and b/data_src/models/numbered_grid.blend1 differ diff --git a/data_src/models/ph_manager.blend b/data_src/models/ph_manager.blend new file mode 100644 index 0000000..15c054a Binary files /dev/null and b/data_src/models/ph_manager.blend differ diff --git a/data_src/models/ph_manager.blend1 b/data_src/models/ph_manager.blend1 new file mode 100644 index 0000000..15b2b5d Binary files /dev/null and b/data_src/models/ph_manager.blend1 differ diff --git a/data_src/models/ph_start_screen.blend b/data_src/models/ph_start_screen.blend new file mode 100644 index 0000000..caaa87d Binary files /dev/null and b/data_src/models/ph_start_screen.blend differ diff --git a/data_src/models/ph_start_screen.blend1 b/data_src/models/ph_start_screen.blend1 new file mode 100644 index 0000000..3e1b2c6 Binary files /dev/null and b/data_src/models/ph_start_screen.blend1 differ diff --git a/data_src/models/pipe1111.blend b/data_src/models/pipe1111.blend new file mode 100644 index 0000000..9749e14 Binary files /dev/null and b/data_src/models/pipe1111.blend differ diff --git a/data_src/models/pipe1111.blend1 b/data_src/models/pipe1111.blend1 new file mode 100644 index 0000000..859c9a7 Binary files /dev/null and b/data_src/models/pipe1111.blend1 differ diff --git a/data_src/models/pipe1111_hint.blend b/data_src/models/pipe1111_hint.blend new file mode 100644 index 0000000..ab77f59 Binary files /dev/null and b/data_src/models/pipe1111_hint.blend differ diff --git a/data_src/models/selected_layer_outline.blend b/data_src/models/selected_layer_outline.blend new file mode 100644 index 0000000..d4a3dd0 Binary files /dev/null and b/data_src/models/selected_layer_outline.blend differ diff --git a/data_src/models/selected_layer_outline.blend1 b/data_src/models/selected_layer_outline.blend1 new file mode 100644 index 0000000..ce0dace Binary files /dev/null and b/data_src/models/selected_layer_outline.blend1 differ diff --git a/data_src/models/star.blend1 b/data_src/models/star.blend1 new file mode 100644 index 0000000..7d991f9 Binary files /dev/null and b/data_src/models/star.blend1 differ diff --git a/data_src/models/star1.blend b/data_src/models/star1.blend new file mode 100644 index 0000000..c1bbeee Binary files /dev/null and b/data_src/models/star1.blend differ diff --git a/data_src/models/star2.blend b/data_src/models/star2.blend new file mode 100644 index 0000000..04e0107 Binary files /dev/null and b/data_src/models/star2.blend differ diff --git a/data_src/models/star2.blend1 b/data_src/models/star2.blend1 new file mode 100644 index 0000000..47a87dd Binary files /dev/null and b/data_src/models/star2.blend1 differ diff --git a/data_src/models/star3.blend b/data_src/models/star3.blend new file mode 100644 index 0000000..3a77529 Binary files /dev/null and b/data_src/models/star3.blend differ diff --git a/data_src/models/star3.blend1 b/data_src/models/star3.blend1 new file mode 100644 index 0000000..a26496a Binary files /dev/null and b/data_src/models/star3.blend1 differ diff --git a/data_src/models/test.blend b/data_src/models/test.blend new file mode 100644 index 0000000..942a0b2 Binary files /dev/null and b/data_src/models/test.blend differ diff --git a/data_src/models/test_ship.blend b/data_src/models/test_ship.blend new file mode 100644 index 0000000..104dfa8 Binary files /dev/null and b/data_src/models/test_ship.blend differ diff --git a/data_src/models/test_ship.blend1 b/data_src/models/test_ship.blend1 new file mode 100644 index 0000000..28cb132 Binary files /dev/null and b/data_src/models/test_ship.blend1 differ diff --git a/data_src/models/texture_brick.blend b/data_src/models/texture_brick.blend new file mode 100644 index 0000000..958459e Binary files /dev/null and b/data_src/models/texture_brick.blend differ diff --git a/data_src/models/texture_dirt_1.blend b/data_src/models/texture_dirt_1.blend new file mode 100644 index 0000000..f996ae4 Binary files /dev/null and b/data_src/models/texture_dirt_1.blend differ diff --git a/data_src/models/texture_dirt_1.blend1 b/data_src/models/texture_dirt_1.blend1 new file mode 100644 index 0000000..83298d3 Binary files /dev/null and b/data_src/models/texture_dirt_1.blend1 differ diff --git a/data_src/models/texture_red_white_checker.blend b/data_src/models/texture_red_white_checker.blend new file mode 100644 index 0000000..2095ee4 Binary files /dev/null and b/data_src/models/texture_red_white_checker.blend differ diff --git a/data_src/models/texture_red_white_checker.blend1 b/data_src/models/texture_red_white_checker.blend1 new file mode 100644 index 0000000..2204479 Binary files /dev/null and b/data_src/models/texture_red_white_checker.blend1 differ diff --git a/data_src/models/texture_wood_1.blend b/data_src/models/texture_wood_1.blend new file mode 100644 index 0000000..fe5380f Binary files /dev/null and b/data_src/models/texture_wood_1.blend differ diff --git a/data_src/models/unselected_layer_outline.blend b/data_src/models/unselected_layer_outline.blend new file mode 100644 index 0000000..07ccf01 Binary files /dev/null and b/data_src/models/unselected_layer_outline.blend differ diff --git a/data_src/models/unselected_layer_outline.blend1 b/data_src/models/unselected_layer_outline.blend1 new file mode 100644 index 0000000..e028f75 Binary files /dev/null and b/data_src/models/unselected_layer_outline.blend1 differ diff --git a/data_src/nuclear-plant.png b/data_src/nuclear-plant.png new file mode 100644 index 0000000..d0ef0a7 Binary files /dev/null and b/data_src/nuclear-plant.png differ diff --git a/data_src/plug.png b/data_src/plug.png new file mode 100644 index 0000000..bf952ab Binary files /dev/null and b/data_src/plug.png differ diff --git a/data_src/power-generator.png b/data_src/power-generator.png new file mode 100644 index 0000000..bbf042c Binary files /dev/null and b/data_src/power-generator.png differ diff --git a/data_src/pylon.png b/data_src/pylon.png new file mode 100644 index 0000000..57758b9 Binary files /dev/null and b/data_src/pylon.png differ diff --git a/data_src/rocket-thruster.png b/data_src/rocket-thruster.png new file mode 100644 index 0000000..a938ede Binary files /dev/null and b/data_src/rocket-thruster.png differ diff --git a/data_src/space.jpg b/data_src/space.jpg new file mode 100644 index 0000000..d569e51 Binary files /dev/null and b/data_src/space.jpg differ diff --git a/data_src/straight-pipe.png b/data_src/straight-pipe.png new file mode 100644 index 0000000..ee8154c Binary files /dev/null and b/data_src/straight-pipe.png differ diff --git a/data_src/tee-pipe.png b/data_src/tee-pipe.png new file mode 100644 index 0000000..3269baa Binary files /dev/null and b/data_src/tee-pipe.png differ diff --git a/data_src/tesla-turret.png b/data_src/tesla-turret.png new file mode 100644 index 0000000..f215eb1 Binary files /dev/null and b/data_src/tesla-turret.png differ diff --git a/data_src/test_ship.tsx b/data_src/test_ship.tsx new file mode 100644 index 0000000..8c6b659 --- /dev/null +++ b/data_src/test_ship.tsx @@ -0,0 +1,7 @@ + + + + + + + diff --git a/rewrite.lua b/rewrite.lua new file mode 100644 index 0000000..f33c12c --- /dev/null +++ b/rewrite.lua @@ -0,0 +1,30 @@ +--[[Script to rewrite a stack traceback in terms of moonscript instead of lua]] + +for data in io.lines() do + local filename, linenum, rest = data:gmatch("(.*%.lua):(%d+):(.*)")() + if filename and linenum and rest then + local _,_,stripped_filename = filename:find("(%S+)") + local moonfilename = filename:gsub(".lua$",".moon") + + --If our file is not moonscript, we won't have a debug file + local debugfile = io.open("debug/" .. stripped_filename.. ".X") + if not debugfile then + print(data) + goto next + end + + --Skip first line + debugfile:read("*l") + for line in debugfile:lines() do + _,_,pos,lua,moon = line:find("(%d+)%s+(%d+):%b[] >> (%d+)") + if tonumber(linenum) == tonumber(lua) then + print(string.format("\t%s:%d: %s",moonfilename,moon,rest)) + goto next + end + end + else + print(data) + end + ::next:: +end + diff --git a/src/complete.moon b/src/complete.moon new file mode 100644 index 0000000..f1af550 --- /dev/null +++ b/src/complete.moon @@ -0,0 +1,37 @@ +mod = ... + +mod.create_scene = () -> + ret = am.group! + ret\append(mod.starfield!) + ret ^ am.translate(0,0) ^ am.rotate(0) ^ am.sprite("data/complete.png") + ret + +stars = { + "data/star1.png" + "data/star2.png" + "data/star3.png" +} + +mod.starfield = () -> + ret = am.group! + ret\action(coroutine.create(() -> + while true + --Randomly create stars with a 0.01 chance + if math.random() < 0.2 + star_y = math.random(-256,256) + star_sprite = stars[math.random(#stars)] + star = am.translate(-512,star_y) ^ am.scale(1) ^ am.sprite(star_sprite) + starspeed = math.random(20,50) + star\action(coroutine.create(() -> + while star.x <= 550 + star.x += starspeed + coroutine.yield! + ret\remove(star) + coroutine.yield true + )) + ret\append(star) + coroutine.yield! + )) + ret + +mod diff --git a/src/conf.lua b/src/conf.lua new file mode 100644 index 0000000..d56dc89 --- /dev/null +++ b/src/conf.lua @@ -0,0 +1,6 @@ +title = "Global Game Jam 2020" +author = "Alex Pickering" +shortname = "ggj20" +version = "1.0.0" +support_email = "alex@cogarr.net" +copyright_message = "Copyright © 2019 Alexander M. Pickering." diff --git a/src/dispatch.moon b/src/dispatch.moon new file mode 100644 index 0000000..49a4ba1 --- /dev/null +++ b/src/dispatch.moon @@ -0,0 +1,72 @@ +--Control utilities +state = require "global" +ui = require "ui" +mod = ... + +mod.window_to_normal = (pos) -> + nx = pos.x - state.win.left + ny = pos.y - state.win.top + vec2(nx,-ny) + +mod.normal_to_window = (pos) -> + print("in:",pos) + nx = pos.x + state.win.left + ny = -(pos.y) + state.win.top + print("out:",nx,ny) + vec2(nx,ny) + +state.layers\action(coroutine.create(()-> + while true + if state.win\mouse_pressed("left") + pos = state.win\mouse_position! + --print("Mouse pos:",pos) + npos = mod.window_to_normal(pos) + --print("newpos:", mod.window_to_normal(pos)) + gridx, gridy = math.floor(npos.x / 32), math.floor(npos.y / 32) + l = state.selected_layer + --print("Looking at active layer:",l) + tile = l\get_tile(gridx,gridy) + --print("tile:",tile) + if tile and tile.type.cantoggle --we want to remove + l\clear_square(gridx,gridy) + state.money += l.cost + state.play(77430200) + else + if state.money >= l.cost and not tile + state.play(77430200) + state.money -= l.cost + l\toggle_square(gridx,gridy) + state.update! + l\print_grid! + else + state.play(4807804) + if (state.win\key_pressed("1") or state.win\key_pressed("kp_1")) and state.layer_tbl[1] + print("setting selected layer to 1") + state.selected_layer.node.hidden = true + state.selected_layer = state.layer_tbl[1] + state.selected_layer.node.hidden = false + ui.reload_ui_layers! + elseif (state.win\key_pressed("2") or state.win\key_pressed("kp_2")) and state.layer_tbl[2] + print("setting selected layer to 2") + state.selected_layer.node.hidden = true + state.selected_layer = state.layer_tbl[2] + state.selected_layer.node.hidden = false + ui.reload_ui_layers! + elseif (state.win\key_pressed("3") or state.win\key_pressed("kp_3")) and state.layer_tbl[3] + state.selected_layer.node.hidden = true + state.selected_layer = state.layer_tbl[3] + state.selected_layer.node.hidden = false + ui.reload_ui_layers! + elseif (state.win\key_pressed("4") or state.win\key_pressed("kp_4")) and state.layer_tbl[4] + print("setting selected layer to 4") + state.selected_layer.node.hidden = true + state.selected_layer = state.layer_tbl[4] + state.selected_layer.node.hidden = false + ui.reload_ui_layers! + --for layernum, layer in pairs state.layer_tbl do + --if state.selected_layer == layer + --state.selecte + coroutine.yield! +)) + +mod diff --git a/src/ext.lua b/src/ext.lua new file mode 100644 index 0000000..85d4ef7 --- /dev/null +++ b/src/ext.lua @@ -0,0 +1,72 @@ +-- Override tostring to display more info about the table +local old_tostring = tostring +local numtabs = 0 +local printed_tables = {} +--print = log +-- + --for obj in *@physobjs + --bp.add(t,obj.offset.x,obj.offset.y,obj.size.x,obj.size.y) + +local function tostring_helper(el) + assert(type(el) == "table", "Tried to call helper with something that was not a table, it was a " .. type(el)) + local mt = getmetatable(el) + if mt and mt.__tostring then + return mt.__tostring(el) + elseif printed_tables[el] == true then + return old_tostring(el) + else + printed_tables[el] = true + numtabs = numtabs + 1 + local strbuilder = {"{"} + for k,v in pairs(el) do + local key,value + if type(k) == "table" then + key = tostring_helper(k) + else + key = old_tostring(k) + end + if type(v) == "table" then + value = tostring_helper(v) + else + value = old_tostring(v) + end + strbuilder[#strbuilder + 1] = string.format("%s%s : %s", string.rep("\t",numtabs), key, value) + end + strbuilder[#strbuilder + 1] = string.rep("\t",numtabs - 1) .. "}" + numtabs = numtabs - 1 + return table.concat(strbuilder,"\n") + end + +end +function tostring(el) + printed_tables = {} + if type(el) == "table" then + return tostring_helper(el) + end + return old_tostring(el) +end + +function checktype(item,t) + if type(item) ~= t then + error("Was not call with corret type",3) + end +end + +-- Functions to save my hands +function printf(fmt, ...) + print(string.format(fmt,...)) +end +function errorf(fmt, ...) + --Our error isn't actually in this function, it's 1 above us (1) = 2 + error(string.format(fmt,...),2) +end +function assertf(bool, fmt, ...) + assert(type(fmt) == "string", "Assertf arg #2 was \"" .. type(fmt) .. "\", expected string") + if not bool then + args = {fmt} + for k,v in ipairs({...}) do + table.insert(args,tostring(v)) + end + error(string.format(unpack(args)),2) + end +end diff --git a/src/game.moon b/src/game.moon new file mode 100644 index 0000000..037511a --- /dev/null +++ b/src/game.moon @@ -0,0 +1,131 @@ +state = require "global" +level1 = require "level1" +level2 = require "level2" +level3 = require "level3" +level3p2 = require"level3p2" +level4 = require "level4" +level5 = require "level5" +level6 = require "level6" +level7 = require "level7" +level8 = require "level8" +level9 = require "level9" +level10 = require "level10" +level11 = require "level11" +level12 = require "level12" +game_complete = require "complete" +ui = require "ui" +mod = ... + +mod.ship_move_in_co = () -> + while true + while ui.manager_talking + coroutine.yield! + state.ship("sprite").color = vec4(1,1,1,1) + state.game_grid.hidden = true + state.layers.hidden = true + dist = state.ship("position").x - (state.win.left + 256) - 3 + if dist > 3 + state.ship("position").x = state.ship("position").x - (20*math.sin(dist / 512)) + else + state.ship("sprite").color = vec4(0.5, 0.5, 0.5, 1) + state.game_grid.hidden = false + state.layers.hidden = false + break + coroutine.yield! + coroutine.yield true + +mod.ship_move_out_co = () -> + start_pos = state.ship("position").x + state.layers.hidden=true + state.game_grid.hidden =true + while true + print("Doing ship move out co...") + state.ship("sprite").color = vec4(1,1,1,1) + dist = state.ship("position").x - (state.win.left - 600 - 3) + if dist > 3 + state.ship("position").x = state.ship("position").x - (20*math.sin(-start_pos / 512)) + else + break + coroutine.yield! + state.move_out_done = true + coroutine.yield true + +mod.hint_mouse = () -> + mousepos = state.win\mouse_position! + mod.mouse_hint("position").x = mousepos.x + mod.mouse_hint("position").y = mousepos.y + +mod.gen_scene = () -> + state.selected_state = "electrical" + state.game_background = am.translate(0,0) ^ am.rotate(0) ^ am.scale(2) ^ am.sprite("data/space.jpg") + state.game_grid = am.translate(0,0) ^ am.scale(2) ^ am.rotate(0) ^ am.sprite("data/numbered_grid.png")\tag("sprite") + --state.game_grid = am.translate(0,0) ^ am.scale(2) ^ am.rotate(0) ^ am.sprite("data/grid.png")\tag("sprite") + state.game_grid("sprite").color = vec4(1,1,1,0.2) + state.ship = am.translate(1024,0)\tag("position") ^ am.scale(1) ^ am.rotate(math.pi / 2) ^ (am.sprite("data/test_ship.png")\tag("sprite")) + state.money = 100 + gui = ui.make_ui! + ret = am.group! ^ {state.game_background, state.ship, state.game_grid, state.layers, gui} + state.layers.hidden = true + state.game_grid.hidden = true + state.mouse_hint = am.translate(0,0)\tag("position") ^ am.scale(1) ^ am.text("hint hint")\tag("sprite") + state.mouse_hint\action(coroutine.create(() -> + while true + state.mouse_hint("position").y -= 1 + state.mouse_hint("sprite").color.a -= 0.01 + coroutine.yield! + )) + state.ship\action(coroutine.create(() -> + ui.manager_say("Welcome to the drydocks, newbie. We're here to fix\nships as cheaply as possible. I'll start you off\nhooking up broken fuel lines.") + while not state.move_out_done or ui.manager_talking + coroutine.yield! + level1.setup_level! + while not state.move_out_done or ui.manager_talking + coroutine.yield! + ui.manager_say("If there are multiple tanks, you only need to\nconnect thrusters to one of them.") + level2.setup_level! + while not state.move_out_done or ui.manager_talking + coroutine.yield! + level3.setup_level! + while not state.move_out_done or ui.manager_talking + coroutine.yield! + level3p2.setup_level! + while not state.move_out_done or ui.manager_talking + coroutine.yield! + ui.manager_say("I think you're ready for the big time, use [1]\nand [2] to toggle between the fuel and electrical\ngrid. Ion thrusters need power to operate.") + level4.setup_level! + while not state.move_out_done or ui.manager_talking + coroutine.yield! + ui.manager_say("The credits from salvageing components from one grid\ncan be used in the other grid.") + level5.setup_level! + while not state.move_out_done or ui.manager_talking + coroutine.yield! + level6.setup_level! + while not state.move_out_done or ui.manager_talking + coroutine.yield! + level7.setup_level! + while not state.move_out_done or ui.manager_talking + coroutine.yield! + level8.setup_level! + while not state.move_out_done or ui.manager_talking + coroutine.yield! + ui.manager_say("Some ships use generators instead of batteries.\nConnect the generator to the fuel and the ion\nthrusters.") + level9.setup_level! + while not state.move_out_done or ui.manager_talking + coroutine.yield! + level10.setup_level! + while not state.move_out_done or ui.manager_talking + coroutine.yield! + ui.manager_say("Some ships have laser weapons, they need High\nvoltage power, which can't be next to regular\nvoltage or it'll interfere.") + level11.setup_level! + while not state.move_out_done or ui.manager_talking + coroutine.yield! + ui.manager_say("Ah, we're at the last ship already. You must have\nbeen quite clever to make it this far.") + level12.setup_level! + while not state.move_out_done or ui.manager_talking + coroutine.yield! + state.win.scene = game_complete.create_scene! + + )) + --state.ship\action(coroutine.create(ship_move_in_co)) + ret + diff --git a/src/global.moon b/src/global.moon new file mode 100644 index 0000000..1e62e16 --- /dev/null +++ b/src/global.moon @@ -0,0 +1,22 @@ +--Hodls global state + +mod = ... + +mod.screen_width = 1024 +mod.screen_height = 512 + +mod.layers = am.group! +mod.current_level = 0 +mod.layer_tbl = {} +mod.add_layer = (layer) -> + mod.layers\append(layer.node) + table.insert(mod.layer_tbl,layer) + +mod.clear_layers = () -> + mod.layers\remove_all! + mod.layer_tbl = {} + +mod.play = (seed) -> + mod.layers\action(am.play(seed,false,1,1)) + +mod diff --git a/src/graph.lua b/src/graph.lua new file mode 100644 index 0000000..96d0ea4 --- /dev/null +++ b/src/graph.lua @@ -0,0 +1,191 @@ +-- ====================================================================== +-- Copyright (c) 2012 RapidFire Studio Limited +-- All Rights Reserved. +-- http://www.rapidfirestudio.com + +-- Permission is hereby granted, free of charge, to any person obtaining +-- a copy of this software and associated documentation files (the +-- "Software"), to deal in the Software without restriction, including +-- without limitation the rights to use, copy, modify, merge, publish, +-- distribute, sublicense, and/or sell copies of the Software, and to +-- permit persons to whom the Software is furnished to do so, subject to +-- the following conditions: + +-- The above copyright notice and this permission notice shall be +-- included in all copies or substantial portions of the Software. + +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +-- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +-- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY +-- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +-- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +-- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +-- ====================================================================== +-- Modifications & updates for ggj20, Alexander Pickering +print("requireing graph...") +mod = ... + +---------------------------------------------------------------- +-- local variables +---------------------------------------------------------------- + +local INF = 1/0 +local cachedPaths = nil + +---------------------------------------------------------------- +-- local functions +---------------------------------------------------------------- + +function dist ( x1, y1, x2, y2 ) + + return math.sqrt ( ((x2 - x1)^ 2 ) + ((y2 - y1) ^ 2 ) ) +end + +function dist_between ( nodeA, nodeB ) + + return dist ( nodeA.x, nodeA.y, nodeB.x, nodeB.y ) +end + +function heuristic_cost_estimate ( nodeA, nodeB ) + + return dist ( nodeA.x, nodeA.y, nodeB.x, nodeB.y ) +end + +function is_valid_node ( node, neighbor ) + + return true +end + +function lowest_f_score ( set, f_score ) + + local lowest, bestNode = INF, nil + for _, node in ipairs ( set ) do + local score = f_score [ node ] + if score < lowest then + lowest, bestNode = score, node + end + end + return bestNode +end + +function neighbor_nodes ( theNode, nodes ) + + local neighbors = {} + for _, node in ipairs ( nodes ) do + if theNode ~= node and is_valid_node ( theNode, node ) then + table.insert ( neighbors, node ) + end + end + return neighbors +end + +function not_in ( set, theNode ) + + for _, node in ipairs ( set ) do + if node == theNode then return false end + end + return true +end + +function remove_node ( set, theNode ) + + for i, node in ipairs ( set ) do + if node == theNode then + set [ i ] = set [ #set ] + set [ #set ] = nil + break + end + end +end + +function unwind_path ( flat_path, map, current_node ) + + if map [ current_node ] then + table.insert ( flat_path, 1, map [ current_node ] ) + return unwind_path ( flat_path, map, map [ current_node ] ) + else + return flat_path + end +end + +------------------------------------------------------------------ +---- pathfinding functions +------------------------------------------------------------------ + +function a_star ( start, goal, nodes, valid_node_func ) + + local closedset = {} + local openset = { start } + local came_from = {} + + if valid_node_func then is_valid_node = valid_node_func end + + local g_score, f_score = {}, {} + g_score [ start ] = 0 + f_score [ start ] = g_score [ start ] + heuristic_cost_estimate ( start, goal ) + + while #openset > 0 do + + local current = lowest_f_score ( openset, f_score ) + if current == goal then + local path = unwind_path ( {}, came_from, goal ) + table.insert ( path, goal ) + return path + end + + remove_node ( openset, current ) + table.insert ( closedset, current ) + + local neighbors = neighbor_nodes ( current, nodes ) + for _, neighbor in ipairs ( neighbors ) do + if not_in ( closedset, neighbor ) then + + local tentative_g_score = g_score [ current ] + dist_between ( current, neighbor ) + + if not_in ( openset, neighbor ) or tentative_g_score < g_score [ neighbor ] then + came_from [ neighbor ] = current + g_score [ neighbor ] = tentative_g_score + f_score [ neighbor ] = g_score [ neighbor ] + heuristic_cost_estimate ( neighbor, goal ) + if not_in ( openset, neighbor ) then + table.insert ( openset, neighbor ) + end + end + end + end + end + return nil -- no valid path +end + +---------------------------------------------------------------- +-- exposed functions +---------------------------------------------------------------- + +function clear_cached_paths () + + cachedPaths = nil +end + +function distance ( x1, y1, x2, y2 ) + + return dist ( x1, y1, x2, y2 ) +end + +function mod.path ( start, goal, nodes, ignore_cache, valid_node_func ) + + if not cachedPaths then cachedPaths = {} end + if not cachedPaths [ start ] then + cachedPaths [ start ] = {} + elseif cachedPaths [ start ] [ goal ] and not ignore_cache then + return cachedPaths [ start ] [ goal ] + end + + local resPath = a_star ( start, goal, nodes, valid_node_func ) + if not cachedPaths [ start ] [ goal ] and not ignore_cache then + cachedPaths [ start ] [ goal ] = resPath + end + + return resPath +end + +return mod diff --git a/src/layers.moon b/src/layers.moon new file mode 100644 index 0000000..6b6de6f --- /dev/null +++ b/src/layers.moon @@ -0,0 +1,151 @@ +--Keeps track of layers +state = require "global" +disp = require "dispatch" +graph = require "graph" +mod = ... + +class Icon + new: (squaretype,position,layer) => + @type = squaretype + @node = am.group! ^ {am.translate(position.x + 16, position.y - 16) ^ am.scale(1) ^ am.rotate(0) ^ am.sprite(@type.img_src)} + layer.node\append(@node) + @x = position.x + @y = position.y + + __tostring: => + return string.format("<%s at (%d, %d)>",@type.type,@x,@y) + + +prototypes = {} +class IconPrototype + new: (squaretype,img,cantoggle) => + @type = squaretype + @img_src = img + prototypes[@type] = @ + @cantoggle = cantoggle + totile: (x,y,layer) => + ret = Icon(@,vec2(x,y),layer) + ret + +IconPrototype("liquid fuel thruster","data/icon_engine.png",false) +IconPrototype("ion thruster","data/icon_ionthrust.png",false) +IconPrototype("fuel pipe","data/pipe1111.png",true) +IconPrototype("liquid fuel tank","data/icon_fueltank.png",false) +IconPrototype("electric wire","data/icon_wire.png",true) +IconPrototype("generator", "data/icon_generator.png",false) +IconPrototype("battery","data/icon_battery.png",false) +IconPrototype("high volt cabel","data/icon_high_voltage.png",true) +IconPrototype("high volt source","data/icon_hv_source.png",false) +IconPrototype("laser beam","data/icon_laser_turret.png",false) + +mod.check_paths = (tbl) -> + for k, path in pairs(tbl) + pathresult = graph.path(path[1],path[2],path[3],true,mod.Layer.tiles_adjacent) + if pathresult == nil + print("Failed to find path from",path[1], "to",path[2]) + return false + return true + +mod.check_hv_paths = (tbl) -> + for k, path in pairs(tbl) + pathresult = graph.path(path[1],path[2],path[3],true,mod.Layer.hv_tiles_adjacent) + print("pathresult was:",pathresult) + if pathresult == nil + print("Failed to find path from",path[1], "to",path[2]) + return false + return true + +electricals = { + ["electric wire"]: true + ["generator"]: true + ["ion thruster"]: true +} +hvs = { + ["high volt cabel"]: true + ["high volt source"]: true + ["laser beam"]: true +} + +class Layer + new: (layername, default_node, node_cost, layer_icon) => + @name = layername + @grid = {} + @node = am.group! + @nodelist = {} --A node least to easily remove all of them + @default = default_node + @icon = layer_icon + @cost = node_cost + print("Setting node action") + + mark_square: (x,y,proto) => + print("Marking square:",x,y) + assert(proto,"Marking a square on a layer must have a type") + assert(prototypes[proto], "Unkown square type:" .. proto) + gpos = disp.normal_to_window(vec2(x*32,y*32)) + item = prototypes[proto]\totile(gpos.x, gpos.y, @) + @grid[x] = @grid[x] or {} + @grid[x][y] = item + item + + tiles_adjacent: (node, neighbor) -> + xdist = math.abs(neighbor.x - node.x) + ydist = math.abs(neighbor.y - node.y) + dist = ( xdist ^ 2) + (ydist ^ 2) + ret = false + if dist == (32 ^ 2) + ret = true + ret + + hv_tiles_adjacent: (node,neighbor) -> + if mod.Layer.tiles_adjacent(node,neighbor) + print("neighbor type.type:",neighbor.type.type) + if hvs[node.type.type] and electricals[neighbor.type.type] + error("High volt-normal error") + return true + else + return false + + get_tile: (x,y) => + if @grid[x] and @grid[x][y] + return @grid[x][y] + return nil + + flat_tiles: => + ret = {} + for _,row in pairs @grid + for _,peice in pairs row + table.insert(ret,peice) + ret + + clear_square: (x,y) => + t = @get_tile(x,y) + @node\remove(t.node) + @grid[x][y] = nil + print("Clearing:",t) + + toggle_square: (x,y,t) => + t = @get_tile(x,y) + if t + @clear_square(x,y) + else + @mark_square(x,y,t or @default) + + print_grid: => + for row = 1, math.floor((state.win.bottom - state.win.top) / 32) + this_row = {} + for col = 1, math.floor((state.win.right - state.win.left) / 32) + if @grid[row] and @grid[row][col] + table.insert(this_row,"1") + else + table.insert(this_row,"0") + print(table.concat(this_row)) + +mod.Layer = Layer + +mod.create_layer = (layername) -> + ret = Layer(layername) + +mod.gen_scene = () -> + mod.node = am.group! + +mod diff --git a/src/level1.moon b/src/level1.moon new file mode 100644 index 0000000..a77814e --- /dev/null +++ b/src/level1.moon @@ -0,0 +1,56 @@ +layer = require "layers" +game = require "game" +state = require "global" +graph = require "graph" +disp = require "dispatch" +import Layer from layer +ui = require "ui" +print("In level1, Layer is", Layer) +for k,v in pairs layer + print(k,":",v) +mod = ... + +mod.setup_level = () -> + state.current_level = 1 + --ret = am.group! + state.clear_layers! + elayer = Layer("fuel","fuel pipe",50,"data/layer_fuel.png") + state.add_layer(elayer) + state.ship("sprite").source = "data/level_1.png" + state.money = 200 + state.ship\action(coroutine.create(game.ship_move_in_co)) + elayer\mark_square(9,8,"liquid fuel thruster") + elayer\mark_square(6,8,"liquid fuel tank") + elayer\mark_square(7,8,"fuel pipe") + --Hint fuel pipe + tp = disp.normal_to_window(vec2((8*32)+16,(8*32)+16)) + fuel_hint = am.translate(tp) ^ am.sprite("data/pipe1111_hint.png")\tag "sprite" + elayer.node\append(fuel_hint) + should_hint = true + fuel_hint\action(coroutine.create(() -> + while should_hint + alpha = 0 + for i = 1,256,10 + fuel_hint("sprite").color = vec4(1,1,1,i/256) + coroutine.yield! + for i = 1,256,10 + fuel_hint("sprite").color = vec4(1,1,1,1 - (i/256)) + coroutine.yield! + )) + + + state.selected_layer = elayer + state.update = () -> + print("Game level updated!") + flat_tiles = elayer\flat_tiles! + path1 = graph.path(elayer\get_tile(6,8),elayer\get_tile(9,8),flat_tiles,true,elayer.tiles_adjacent) + --path2 = graph.path(elayer\get_tile(6,8),elayer\get_tile(9,7),flat_tiles,false,elayer.tiles_adjacent) + print("path:",path1, path2) + --print("selected layer:",state.active_layer) + if path1 + state.ship\action(coroutine.create(game.ship_move_out_co)) + ui.reload_ui_layers! + + --ret ^ elayer.node + --ret +mod diff --git a/src/level10.moon b/src/level10.moon new file mode 100644 index 0000000..bc05d8a --- /dev/null +++ b/src/level10.moon @@ -0,0 +1,54 @@ +layer = require "layers" +game = require "game" +state = require "global" +graph = require "graph" +import Layer from layer +ui = require "ui" + +mod = ... + +mod.setup_level = () -> + state.current_level = 9 + --ret = am.group! + state.move_out_done = false + state.clear_layers! + flayer = Layer("fuel","fuel pipe",50,"data/layer_fuel.png") + elayer = Layer("electric","electric wire",10,"data/layer_electric.png") + state.add_layer(flayer) + state.add_layer(elayer) + state.money = 360 + state.ship("position").x = 800 + state.ship\action(coroutine.create(game.ship_move_in_co)) + state.ship("sprite").source = "data/level_10.png" + t1 = elayer\mark_square(21,5,"ion thruster") + t2 = elayer\mark_square(21,7,"ion thruster") + t3 = elayer\mark_square(21,8,"ion thruster") + t4 = elayer\mark_square(21,10,"ion thruster") + + t5 = flayer\mark_square(5,8,"generator") + t6 = elayer\mark_square(5,8,"generator") + + t7 = flayer\mark_square(18,8,"generator") + t8 = elayer\mark_square(18,8,"generator") + + p1 = flayer\mark_square(10,8,"liquid fuel tank") + + elayer.node.hidden = true + state.selected_layer = flayer + state.update = () -> + ftiles = flayer\flat_tiles! + etiles = elayer\flat_tiles! + + paths = { + {t1,t6,etiles}, + {t2,t6,etiles}, + {t3,t6,etiles}, + {t4,t6,etiles}, + {t5,p1,ftiles} + } + if layer.check_paths(paths) + state.ship\action(coroutine.create(game.ship_move_out_co)) + + ui.reload_ui_layers! + +mod diff --git a/src/level11.moon b/src/level11.moon new file mode 100644 index 0000000..ebf33b1 --- /dev/null +++ b/src/level11.moon @@ -0,0 +1,83 @@ +layer = require "layers" +game = require "game" +state = require "global" +graph = require "graph" +import Layer from layer +ui = require "ui" + +mod = ... + +mod.setup_level = () -> + state.current_level = 10 + --ret = am.group! + state.move_out_done = false + state.clear_layers! + flayer = Layer("fuel","fuel pipe",50,"data/layer_fuel.png") + elayer = Layer("electric","electric wire",10,"data/layer_electric.png") + hlayer = Layer("high voltage","high volt cabel",30,"data/layer_hv.png") + state.add_layer(flayer) + state.add_layer(elayer) + state.add_layer(hlayer) + --state.money = 500 + state.money = 800 + state.ship("position").x = 800 + state.ship\action(coroutine.create(game.ship_move_in_co)) + state.ship("sprite").source = "data/level_11.png" + t1 = elayer\mark_square(20,6,"ion thruster") + t2 = elayer\mark_square(20,9,"ion thruster") + + --flayer\mark_square(8,4,"") + t3 = hlayer\mark_square(10,8,"high volt source") + hlayer\mark_square(10,9,"high volt cabel") + hlayer\mark_square(10,10,"high volt cabel") + hlayer\mark_square(9,10,"high volt cabel") + + t4 = flayer\mark_square(13,8,"generator") + t5 = elayer\mark_square(13,8,"generator") + + t6 = hlayer\mark_square(8,4,"laser beam") + t7 = hlayer\mark_square(8,5,"laser beam") + t8 = hlayer\mark_square(8,10,"laser beam") + t9 = hlayer\mark_square(8,11,"laser beam") + + p1 = flayer\mark_square(7,7,"liquid fuel tank") + + + elayer.node.hidden = true + hlayer.node.hidden = true + state.selected_layer = flayer + state.update = () -> + ftiles = flayer\flat_tiles! + etiles = elayer\flat_tiles! + --Mege the etiles into the ftiles layer so we can check + --that hv cabels are not next to normal cables + htiles = hlayer\flat_tiles! + for _,t in pairs etiles + table.insert(htiles,t) + --table.merge(htiles,etiles) + --table.merge(htiles,hlayer\flat_tiles!) + print("htiles before path finding:",htiles) + paths,paths2 = nil,nil + pass,err = pcall(() -> + paths = layer.check_paths{ + {t1,t5,etiles}, + {t2,t5,etiles}, + {t4,p1,ftiles}, + } + paths2 = layer.check_hv_paths{ + {t6,t3,htiles}, + {t7,t3,htiles}, + {t8,t3,htiles} + {t9,t3,htiles} + } + print("paths:",paths) + print("paths2 is",paths2) + return (paths and paths2) + ) + print("pass:",pass,"err:",err) + if pass and err + state.ship\action(coroutine.create(game.ship_move_out_co)) + + ui.reload_ui_layers! + +mod diff --git a/src/level12.moon b/src/level12.moon new file mode 100644 index 0000000..a1cf1e5 --- /dev/null +++ b/src/level12.moon @@ -0,0 +1,83 @@ +layer = require "layers" +game = require "game" +state = require "global" +graph = require "graph" +import Layer from layer +ui = require "ui" + +mod = ... + +mod.setup_level = () -> + state.current_level = 10 + --ret = am.group! + state.move_out_done = false + state.clear_layers! + flayer = Layer("fuel","fuel pipe",50,"data/layer_fuel.png") + elayer = Layer("electric","electric wire",10,"data/layer_electric.png") + hlayer = Layer("high voltage","high volt cabel",30,"data/layer_hv.png") + state.add_layer(flayer) + state.add_layer(elayer) + state.add_layer(hlayer) + --state.money = 500 + state.money = 1460 + state.ship("position").x = 800 + state.ship\action(coroutine.create(game.ship_move_in_co)) + state.ship("sprite").source = "data/level_12.png" + t1 = flayer\mark_square(9,12,"liquid fuel tank") + + t2 = flayer\mark_square(24,6,"generator") + t3 = elayer\mark_square(24,6,"generator") + + t4 = flayer\mark_square(26,6,"liquid fuel thruster") + t5 = flayer\mark_square(26,8,"liquid fuel thruster") + t6 = flayer\mark_square(26,10,"liquid fuel thruster") + + t7 = elayer\mark_square(24,4,"ion thruster") + t8 = elayer\mark_square(20,3,"ion thruster") + t9 = elayer\mark_square(15,3,"ion thruster") + t10 = elayer\mark_square(19,9,"ion thruster") + t11 = elayer\mark_square(19,12,"battery") + + t12 = hlayer\mark_square(16,8,"high volt source") + t13 = hlayer\mark_square(8,5,"laser beam") + + elayer.node.hidden = true + hlayer.node.hidden = true + state.selected_layer = flayer + state.update = () -> + ftiles = flayer\flat_tiles! + etiles = elayer\flat_tiles! + --Mege the etiles into the ftiles layer so we can check + --that hv cabels are not next to normal cables + htiles = hlayer\flat_tiles! + for _,t in pairs etiles + table.insert(htiles,t) + --table.merge(htiles,etiles) + --table.merge(htiles,hlayer\flat_tiles!) + print("htiles before path finding:",htiles) + paths,paths2 = nil,nil + pass,err = pcall(() -> + paths = layer.check_paths{ + {t10,t11,etiles}, + {t7,t3,etiles}, + {t8,t3,etiles}, + {t9,t3,etiles}, + {t2,t1,ftiles}, + {t4,t1,ftiles}, + {t5,t1,ftiles}, + {t6,t1,ftiles}, + } + paths2 = layer.check_hv_paths{ + {t12,t13,htiles}, + } + print("paths:",paths) + print("paths2 is",paths2) + return (paths and paths2) + ) + print("pass:",pass,"err:",err) + if pass and err + state.ship\action(coroutine.create(game.ship_move_out_co)) + + ui.reload_ui_layers! + +mod diff --git a/src/level2.moon b/src/level2.moon new file mode 100644 index 0000000..3355a77 --- /dev/null +++ b/src/level2.moon @@ -0,0 +1,43 @@ +layer = require "layers" +game = require "game" +state = require "global" +graph = require "graph" +import Layer from layer +ui = require "ui" + +mod = ... + +mod.setup_level = () -> + state.current_level = 2 + --ret = am.group! + state.move_out_done = false + state.clear_layers! + elayer = Layer("fuel","fuel pipe",50,"data/layer_fuel.png") + state.add_layer(elayer) + state.money = 150 + state.ship("position").x = 800 + state.ship\action(coroutine.create(game.ship_move_in_co)) + state.ship("sprite").source = "data/level_2.png" + t1 = elayer\mark_square(11,8,"liquid fuel thruster") + t2 = elayer\mark_square(11,7,"liquid fuel thruster") + p1 = elayer\mark_square(6,6,"liquid fuel tank") + p2 = elayer\mark_square(6,9,"liquid fuel tank") + elayer\mark_square(9,7,"fuel pipe") + elayer\mark_square(9,8,"fuel pipe") + elayer\mark_square(10,8,"fuel pipe") + state.selected_layer = elayer + print("About to set update...") + state.update = () -> + print("Game level updated!") + flat_tiles = elayer\flat_tiles! + path1 = graph.path(t1,p1,flat_tiles,false,elayer.tiles_adjacent) + path2 = graph.path(t1,p2,flat_tiles,false,elayer.tiles_adjacent) + path3 = graph.path(t2,p1,flat_tiles,false,elayer.tiles_adjacent) + path4 = graph.path(t2,p2,flat_tiles,false,elayer.tiles_adjacent) + --print("selected layer:",state.active_layer) + if (path1 or path2) and (path3 or path4) + state.ship\action(coroutine.create(game.ship_move_out_co)) + print("Set update function") + ui.reload_ui_layers! + +mod diff --git a/src/level3.moon b/src/level3.moon new file mode 100644 index 0000000..1ca0b7a --- /dev/null +++ b/src/level3.moon @@ -0,0 +1,40 @@ +layer = require "layers" +game = require "game" +state = require "global" +graph = require "graph" +import Layer from layer +ui = require "ui" + +mod = ... + +mod.setup_level = () -> + state.current_level = 3 + --ret = am.group! + state.move_out_done = false + state.clear_layers! + elayer = Layer("fuel","fuel pipe",50,"data/layer_fuel.png") + state.add_layer(elayer) + state.money = 100 + state.ship("position").x = 800 + state.ship\action(coroutine.create(game.ship_move_in_co)) + state.ship("sprite").source = "data/level_3.png" + t1 = elayer\mark_square(11,8,"liquid fuel thruster") + t2 = elayer\mark_square(11,7,"liquid fuel thruster") + p1 = elayer\mark_square(6,6,"liquid fuel tank") + p2 = elayer\mark_square(6,9,"liquid fuel tank") + elayer\mark_square(9,7,"fuel pipe") + elayer\mark_square(9,8,"fuel pipe") + elayer\mark_square(10,8,"fuel pipe") + state.selected_layer = elayer + state.update = () -> + flat_tiles = elayer\flat_tiles! + path1 = graph.path(t1,p1,flat_tiles,false,elayer.tiles_adjacent) + path2 = graph.path(t1,p2,flat_tiles,false,elayer.tiles_adjacent) + path3 = graph.path(t2,p1,flat_tiles,false,elayer.tiles_adjacent) + path4 = graph.path(t2,p2,flat_tiles,false,elayer.tiles_adjacent) + --print("selected layer:",state.active_layer) + if (path1 or path2) and (path3 or path4) + state.ship\action(coroutine.create(game.ship_move_out_co)) + ui.reload_ui_layers! + +mod diff --git a/src/level3p2.moon b/src/level3p2.moon new file mode 100644 index 0000000..363e3ce --- /dev/null +++ b/src/level3p2.moon @@ -0,0 +1,44 @@ +layer = require "layers" +game = require "game" +state = require "global" +graph = require "graph" +import Layer from layer +ui = require "ui" + +mod = ... + +mod.setup_level = () -> + state.current_level = 3.5 + --ret = am.group! + state.move_out_done = false + state.clear_layers! + elayer = Layer("fuel","fuel pipe",50,"data/layer_fuel.png") + state.add_layer(elayer) + state.money = 0 + state.ship("position").x = 800 + state.ship\action(coroutine.create(game.ship_move_in_co)) + state.ship("sprite").source = "data/level_3p2.png" + t1 = elayer\mark_square(9,4,"liquid fuel thruster") + t2 = elayer\mark_square(9,10,"liquid fuel thruster") + p1 = elayer\mark_square(6,7,"liquid fuel tank") + elayer\mark_square(8,4,"fuel pipe") + elayer\mark_square(6,4,"fuel pipe") + elayer\mark_square(6,6,"fuel pipe") + + elayer\mark_square(6,8,"fuel pipe") + elayer\mark_square(6,9,"fuel pipe") + elayer\mark_square(7,10,"fuel pipe") + elayer\mark_square(8,10,"fuel pipe") + state.selected_layer = elayer + state.update = () -> + flat_tiles = elayer\flat_tiles! + + paths = layer.check_paths{ + {t1,p1,flat_tiles}, + {t2,p1,flat_tiles} + } + if paths + state.ship\action(coroutine.create(game.ship_move_out_co)) + ui.reload_ui_layers! + +mod diff --git a/src/level4.moon b/src/level4.moon new file mode 100644 index 0000000..7157874 --- /dev/null +++ b/src/level4.moon @@ -0,0 +1,52 @@ +layer = require "layers" +game = require "game" +state = require "global" +graph = require "graph" +import Layer from layer +ui = require "ui" + +mod = ... + +mod.setup_level = () -> + state.current_level = 4 + --ret = am.group! + state.move_out_done = false + state.clear_layers! + flayer = Layer("fuel","fuel pipe",50,"data/layer_fuel.png") + elayer = Layer("electric","electric wire",10,"data/layer_electric.png") + state.add_layer(flayer) + state.add_layer(elayer) + state.money = 110 + state.ship("position").x = 800 + state.ship\action(coroutine.create(game.ship_move_in_co)) + state.ship("sprite").source = "data/level_4.png" + t1 = flayer\mark_square(11,8,"liquid fuel thruster") + t2 = flayer\mark_square(11,7,"liquid fuel thruster") + p1 = flayer\mark_square(7,8,"liquid fuel tank") + flayer\mark_square(10,8,"fuel pipe") + + t3 = elayer\mark_square(9,5,"ion thruster") + t4 = elayer\mark_square(9,10,"ion thruster") + p2 = elayer\mark_square(7,7,"battery") + elayer\mark_square(7,6,"electric wire") + elayer\mark_square(7,8,"electric wire") + elayer\mark_square(7,9,"electric wire") + elayer\mark_square(8,10,"electric wire") + elayer\mark_square(7,5,"electric wire") + elayer\mark_square(8,5,"electric wire") + + elayer.node.hidden = true + state.selected_layer = flayer + state.update = () -> + flat_tiles = flayer\flat_tiles! + flat_tiles2 = elayer\flat_tiles! + path1 = graph.path(t1,p1,flat_tiles,true,flayer.tiles_adjacent) + path2 = graph.path(t2,p1,flat_tiles,true,flayer.tiles_adjacent) + path3 = graph.path(t3,p2,flat_tiles2,true,flayer.tiles_adjacent) + path4 = graph.path(t4,p2,flat_tiles2,true,flayer.tiles_adjacent) + if path1 and path2 and path3 and path4 + state.ship\action(coroutine.create(game.ship_move_out_co)) + + ui.reload_ui_layers! + +mod diff --git a/src/level5.moon b/src/level5.moon new file mode 100644 index 0000000..9fbd7cd --- /dev/null +++ b/src/level5.moon @@ -0,0 +1,52 @@ +layer = require "layers" +game = require "game" +state = require "global" +graph = require "graph" +import Layer from layer +ui = require "ui" + +mod = ... + +mod.setup_level = () -> + state.current_level = 5 + --ret = am.group! + state.move_out_done = false + state.clear_layers! + flayer = Layer("fuel","fuel pipe",50,"data/layer_fuel.png") + elayer = Layer("electric","electric wire",10,"data/layer_electric.png") + state.add_layer(flayer) + state.add_layer(elayer) + state.money = 90 + state.ship("position").x = 800 + state.ship\action(coroutine.create(game.ship_move_in_co)) + state.ship("sprite").source = "data/level_5.png" + t1 = flayer\mark_square(11,8,"liquid fuel thruster") + t2 = flayer\mark_square(11,7,"liquid fuel thruster") + p1 = flayer\mark_square(7,8,"liquid fuel tank") + flayer\mark_square(10,8,"fuel pipe") + + t3 = elayer\mark_square(9,5,"ion thruster") + t4 = elayer\mark_square(9,10,"ion thruster") + p2 = elayer\mark_square(7,7,"battery") + elayer\mark_square(7,6,"electric wire") + elayer\mark_square(7,8,"electric wire") + elayer\mark_square(7,9,"electric wire") + elayer\mark_square(8,10,"electric wire") + elayer\mark_square(7,5,"electric wire") + elayer\mark_square(8,5,"electric wire") + + elayer.node.hidden = true + state.selected_layer = flayer + state.update = () -> + flat_tiles = flayer\flat_tiles! + flat_tiles2 = elayer\flat_tiles! + path1 = graph.path(t1,p1,flat_tiles,true,flayer.tiles_adjacent) + path2 = graph.path(t2,p1,flat_tiles,true,flayer.tiles_adjacent) + path3 = graph.path(t3,p2,flat_tiles2,true,flayer.tiles_adjacent) + path4 = graph.path(t4,p2,flat_tiles2,true,flayer.tiles_adjacent) + if path1 and path2 and path3 and path4 + state.ship\action(coroutine.create(game.ship_move_out_co)) + + ui.reload_ui_layers! + +mod diff --git a/src/level6.moon b/src/level6.moon new file mode 100644 index 0000000..f01bb0b --- /dev/null +++ b/src/level6.moon @@ -0,0 +1,56 @@ +layer = require "layers" +game = require "game" +state = require "global" +graph = require "graph" +import Layer from layer +ui = require "ui" + +mod = ... + +mod.setup_level = () -> + state.current_level = 6 + --ret = am.group! + state.move_out_done = false + state.clear_layers! + flayer = Layer("fuel","fuel pipe",50,"data/layer_fuel.png") + elayer = Layer("electric","electric wire",10,"data/layer_electric.png") + state.add_layer(flayer) + state.add_layer(elayer) + state.money = 90 + (50*5) + state.ship("position").x = 800 + state.ship\action(coroutine.create(game.ship_move_in_co)) + state.ship("sprite").source = "data/level_6.png" + t1 = flayer\mark_square(15,4,"liquid fuel thruster") + flayer\mark_square(14,4,"fuel pipe") + t2 = flayer\mark_square(15,6,"liquid fuel thruster") + flayer\mark_square(14,6,"fuel pipe") + t3 = flayer\mark_square(15,9,"liquid fuel thruster") + flayer\mark_square(14,9,"fuel pipe") + t4 = flayer\mark_square(15,11,"liquid fuel thruster") + flayer\mark_square(14,11,"fuel pipe") + p1 = flayer\mark_square(7,8,"liquid fuel tank") + for i = 4,11 do + flayer\mark_square(13,i,"fuel pipe") + + t5 = elayer\mark_square(11,6,"ion thruster") + t6 = elayer\mark_square(11,9,"ion thruster") + p2 = elayer\mark_square(3,7,"battery") + + elayer.node.hidden = true + state.selected_layer = flayer + state.update = () -> + flat_tiles = flayer\flat_tiles! + flat_tiles2 = elayer\flat_tiles! + path1 = graph.path(t1,p1,flat_tiles,true,flayer.tiles_adjacent) + path2 = graph.path(t2,p1,flat_tiles,true,flayer.tiles_adjacent) + path3 = graph.path(t3,p1,flat_tiles,true,flayer.tiles_adjacent) + path4 = graph.path(t4,p1,flat_tiles,true,flayer.tiles_adjacent) + + path5 = graph.path(t5,p2,flat_tiles2,true,flayer.tiles_adjacent) + path6 = graph.path(t6,p2,flat_tiles2,true,flayer.tiles_adjacent) + if path1 and path2 and path3 and path4 and path5 and path6 + state.ship\action(coroutine.create(game.ship_move_out_co)) + + ui.reload_ui_layers! + +mod diff --git a/src/level7.moon b/src/level7.moon new file mode 100644 index 0000000..14a3dc3 --- /dev/null +++ b/src/level7.moon @@ -0,0 +1,56 @@ +layer = require "layers" +game = require "game" +state = require "global" +graph = require "graph" +import Layer from layer +ui = require "ui" + +mod = ... + +mod.setup_level = () -> + state.current_level = 7 + --ret = am.group! + state.move_out_done = false + state.clear_layers! + flayer = Layer("fuel","fuel pipe",50,"data/layer_fuel.png") + elayer = Layer("electric","electric wire",10,"data/layer_electric.png") + state.add_layer(flayer) + state.add_layer(elayer) + state.money = 190 + state.ship("position").x = 800 + state.ship\action(coroutine.create(game.ship_move_in_co)) + state.ship("sprite").source = "data/level_7.png" + t1 = flayer\mark_square(15,4,"liquid fuel thruster") + flayer\mark_square(14,4,"fuel pipe") + t2 = flayer\mark_square(15,6,"liquid fuel thruster") + flayer\mark_square(14,6,"fuel pipe") + t3 = flayer\mark_square(15,9,"liquid fuel thruster") + flayer\mark_square(14,9,"fuel pipe") + t4 = flayer\mark_square(15,11,"liquid fuel thruster") + flayer\mark_square(14,11,"fuel pipe") + p1 = flayer\mark_square(7,8,"liquid fuel tank") + for i = 4,11 do + flayer\mark_square(13,i,"fuel pipe") + + t5 = elayer\mark_square(11,6,"ion thruster") + t6 = elayer\mark_square(11,9,"ion thruster") + p2 = elayer\mark_square(3,7,"battery") + + elayer.node.hidden = true + state.selected_layer = flayer + state.update = () -> + flat_tiles = flayer\flat_tiles! + flat_tiles2 = elayer\flat_tiles! + path1 = graph.path(t1,p1,flat_tiles,true,flayer.tiles_adjacent) + path2 = graph.path(t2,p1,flat_tiles,true,flayer.tiles_adjacent) + path3 = graph.path(t3,p1,flat_tiles,true,flayer.tiles_adjacent) + path4 = graph.path(t4,p1,flat_tiles,true,flayer.tiles_adjacent) + + path5 = graph.path(t5,p2,flat_tiles2,true,flayer.tiles_adjacent) + path6 = graph.path(t6,p2,flat_tiles2,true,flayer.tiles_adjacent) + if path1 and path2 and path3 and path4 and path5 and path6 + state.ship\action(coroutine.create(game.ship_move_out_co)) + + ui.reload_ui_layers! + +mod diff --git a/src/level8.moon b/src/level8.moon new file mode 100644 index 0000000..0a9ce96 --- /dev/null +++ b/src/level8.moon @@ -0,0 +1,56 @@ +layer = require "layers" +game = require "game" +state = require "global" +graph = require "graph" +import Layer from layer +ui = require "ui" + +mod = ... + +mod.setup_level = () -> + state.current_level = 8 + --ret = am.group! + state.move_out_done = false + state.clear_layers! + flayer = Layer("fuel","fuel pipe",50,"data/layer_fuel.png") + elayer = Layer("electric","electric wire",10,"data/layer_electric.png") + state.add_layer(flayer) + state.add_layer(elayer) + state.money = 40 + state.ship("position").x = 800 + state.ship\action(coroutine.create(game.ship_move_in_co)) + state.ship("sprite").source = "data/level_8.png" + t1 = flayer\mark_square(15,4,"liquid fuel thruster") + flayer\mark_square(14,4,"fuel pipe") + t2 = flayer\mark_square(15,6,"liquid fuel thruster") + flayer\mark_square(14,6,"fuel pipe") + t3 = flayer\mark_square(15,9,"liquid fuel thruster") + flayer\mark_square(14,9,"fuel pipe") + t4 = flayer\mark_square(15,11,"liquid fuel thruster") + flayer\mark_square(14,11,"fuel pipe") + p1 = flayer\mark_square(7,8,"liquid fuel tank") + for i = 4,11 do + flayer\mark_square(13,i,"fuel pipe") + + t5 = elayer\mark_square(11,6,"ion thruster") + t6 = elayer\mark_square(11,9,"ion thruster") + p2 = elayer\mark_square(3,7,"battery") + + elayer.node.hidden = true + state.selected_layer = flayer + state.update = () -> + flat_tiles = flayer\flat_tiles! + flat_tiles2 = elayer\flat_tiles! + path1 = graph.path(t1,p1,flat_tiles,true,flayer.tiles_adjacent) + path2 = graph.path(t2,p1,flat_tiles,true,flayer.tiles_adjacent) + path3 = graph.path(t3,p1,flat_tiles,true,flayer.tiles_adjacent) + path4 = graph.path(t4,p1,flat_tiles,true,flayer.tiles_adjacent) + + path5 = graph.path(t5,p2,flat_tiles2,true,flayer.tiles_adjacent) + path6 = graph.path(t6,p2,flat_tiles2,true,flayer.tiles_adjacent) + if path1 and path2 and path3 and path4 and path5 and path6 + state.ship\action(coroutine.create(game.ship_move_out_co)) + + ui.reload_ui_layers! + +mod diff --git a/src/level9.moon b/src/level9.moon new file mode 100644 index 0000000..aab46b1 --- /dev/null +++ b/src/level9.moon @@ -0,0 +1,56 @@ +layer = require "layers" +game = require "game" +state = require "global" +graph = require "graph" +import Layer from layer +ui = require "ui" + +mod = ... + +mod.setup_level = () -> + state.current_level = 9 + --ret = am.group! + state.move_out_done = false + state.clear_layers! + flayer = Layer("fuel","fuel pipe",50,"data/layer_fuel.png") + elayer = Layer("electric","electric wire",10,"data/layer_electric.png") + state.add_layer(flayer) + state.add_layer(elayer) + state.money = 840 + state.ship("position").x = 800 + state.ship\action(coroutine.create(game.ship_move_in_co)) + state.ship("sprite").source = "data/level_9.png" + t1 = flayer\mark_square(21,5,"liquid fuel thruster") + t2 = elayer\mark_square(21,6,"ion thruster") + t3 = flayer\mark_square(21,7,"liquid fuel thruster") + t4 = flayer\mark_square(21,8,"liquid fuel thruster") + t5 = elayer\mark_square(21,9,"ion thruster") + t6 = flayer\mark_square(21,10,"liquid fuel thruster") + + t7 = flayer\mark_square(13,8,"generator") + t8 = elayer\mark_square(13,8,"generator") + + p1 = flayer\mark_square(7,7,"liquid fuel tank") + + elayer.node.hidden = true + state.selected_layer = flayer + state.update = () -> + flat_tiles = flayer\flat_tiles! + flat_tiles2 = elayer\flat_tiles! + + path1 = graph.path(t1,p1,flat_tiles,true,flayer.tiles_adjacent) + path3 = graph.path(t3,p1,flat_tiles,true,flayer.tiles_adjacent) + path4 = graph.path(t4,p1,flat_tiles,true,flayer.tiles_adjacent) + path6 = graph.path(t6,p1,flat_tiles,true,flayer.tiles_adjacent) + + path5 = graph.path(t5,t8,flat_tiles2,true,flayer.tiles_adjacent) + path2 = graph.path(t2,t8,flat_tiles2,true,flayer.tiles_adjacent) + + path7 = graph.path(t7,p1,flat_tiles,true,flayer.tiles_adjacent) + + if path1 and path2 and path3 and path4 and path5 and path6 and path7 + state.ship\action(coroutine.create(game.ship_move_out_co)) + + ui.reload_ui_layers! + +mod diff --git a/src/main.moon b/src/main.moon new file mode 100644 index 0000000..b90c819 --- /dev/null +++ b/src/main.moon @@ -0,0 +1,36 @@ +--Theme: repair +--Game: drydock - repair space ships (?) +require "ext" +print("Hello, world!") +ss = require "startscreen" +game = require "game" +state = require "global" +level_1 = require "level1" +complete = require "complete" +mod = ... + +state.win = am.window { + title: "ggj20", + width: state.screen_width, + height: state.screen_height, + clear_color: vec4(0, 0, 0, 1) +} + + +r1 = ss.gen_scene! +--r1\append(complete.starfield!) +state.win.scene = r1 +r1\action(coroutine.create(() -> + while true + if state.win\key_down("space") + state.win.scene = am.group! ^ {game.gen_scene!, level_1.setup_level!} + coroutine.yield! +)) + + + +-- This is a comment +-- to make sure that errors +-- are rewritten correctly + +--error("success!") diff --git a/src/manager.moon b/src/manager.moon new file mode 100644 index 0000000..f6d2b3f --- /dev/null +++ b/src/manager.moon @@ -0,0 +1,9 @@ +-- manage overlay text + +mod = ... + +mod.talk = (text) -> + --pass + + +mod diff --git a/src/startscreen.moon b/src/startscreen.moon new file mode 100644 index 0000000..9c92758 --- /dev/null +++ b/src/startscreen.moon @@ -0,0 +1,12 @@ +--start screen + +mod = ... + +mod.gen_scene = () -> + node = am.group! + background = am.translate(0,0) ^ am.scale(1) ^ am.sprite("data/ph_start_screen.png") + text = am.translate(0,-100) ^ am.text("Press space to start") + node ^ {background, text} + node + + diff --git a/src/ui.moon b/src/ui.moon new file mode 100644 index 0000000..4adcde0 --- /dev/null +++ b/src/ui.moon @@ -0,0 +1,70 @@ +--UI things +state = require "global" +disp = require "dispatch" +mod = ... + +money_text +credits_ui +layers = am.group! +mod.managerstuff +mod.manager_text +mod.manager_talking = true +mod.make_ui = () -> + to = disp.normal_to_window(vec2(100,25)) + money_bg = am.translate(to) ^ am.scale(1) ^ am.rotate(0) ^ am.sprite("data/money_background.png") + money_text = am.translate(to) ^ am.scale(1) ^ am.rotate(0) ^ am.text("")\tag "sprite" + mod.managerstuff = am.group! + manager_portrait = am.translate(-512 + 128,-128) ^ am.scale(1) ^ am.rotate(0) ^ am.sprite("data/manage_portrait.png") + manager_background = am.translate(0,-128) ^ am.scale(1) ^ am.rotate(0) ^ am.sprite("data/manage_chatbox.png") + mod.manager_text = am.translate(-256 + 32,-256 + 90) ^ am.scale(1) ^ am.rotate(0) ^ am.text("This is some text",vec4(1,1,1,1),"left","top")\tag("text") + print("mod.manager_text is:",mod.manager_text) + continue_text = am.translate(-256 + 32,-256 + 32) ^ am.scale(1) ^ am.rotate(0) ^ am.text("Press space to continue...",vec4(0,0,0,1),"left","top") + mod.managerstuff\append(manager_portrait) + mod.managerstuff\append(manager_background) + mod.managerstuff\append(mod.manager_text) + mod.managerstuff\append(continue_text) + mod.managerstuff.hidden = true + money_text\action(coroutine.create(() -> + while true + money_text("sprite").text = string.format("%d credits", state.money) + coroutine.yield! + )) + ret = am.group! ^ {money_bg, money_text, layers, mod.managerstuff} + credits_ui = ret + ret + +mod.reload_ui_layers = () -> + layer_sprites = {} + for i,layer in pairs state.layer_tbl + if state.current_level < 4 then + layer.hidden = true -- hide layer selection until lvl 5 + else + layer.hidden = false + selected_layer = am.translate(state.win.right-32,128 - (64*i))\tag("position") ^ am.rotate(0) ^ am.sprite(layer.icon) + selected_layer\append(am.sprite("data/selected_layer_outline.png")\tag("outline")) + selected_layer("outline").color = vec4(0.4,0.4,0.4,1) + layers\append(selected_layer) + if state.selected_layer == layer + selected_layer("outline").color = vec4(1,1,1,1) + + + +mod.hide_ui = () -> + credits_ui.hidden = true + +mod.hide_ui = () -> + credits_ui.hidden = false + +mod.manager_say = (text) -> + mod.managerstuff.hidden = false + print("Setting text:",text) + mod.manager_text("text").text = text + mod.manager_talking = true + mod.managerstuff\action(coroutine.create(() -> + while not state.win\key_pressed("space") + coroutine.yield! + mod.managerstuff.hidden = true + mod.manager_talking = false + )) + print("Completed doing manager say stuff") +mod -- cgit v1.2.3-70-g09d2