Skip to content

v3.8

Choose a tag to compare

@BurnerAccount-dec BurnerAccount-dec released this 15 Nov 12:26
· 1 commit to main since this release
  • The level spawner is fixed and has a picture. (1) Spawned objects are made the way the game's own level loader makes them: they are turned to their saved angle, get their material and the theme's texture (static blocks had none), their damage sprites, and pigs count as level goals. (2) The birds of the spawned level join the line-up: each gets the next start number, waits as the other birds do (static) and stands on the ground behind the last waiting bird (levelSpawner.birds = false leaves them out). (3) Up / Down walk through every folder of the levels folder that has level files (before, a folder was only found when it had a file with the same number), Left / Right through the files of the folder in number order, and <, >, folder - and folder + buttons do the same with the mouse. (4) The panel shows a small picture of the chosen level (levelSpawner.preview = false turns it off). (5) A dropped level file is read from wherever it is, the console says spawned <file> or not spawned (not a level file?) for each file that is dropped, and a drop while the panel is open closes it. New script function listDataFolder(path).