took a little holiday from coding and now i`m back, i have been working on the placement editor.
i need to add all the code to the function for adding blocks that can be pushed to the editor and in the game itself, so that i can add the blocks when designing a level and so that the game knows what to do with the new level data.
improvements made:
- Adjusted the code to make the blocks you can push work on touchscreen devices as well.
- Optimized code for the baddies menu, should be a bit faster now
- .Movable blocks can now be placed in editor.
- and deleted (single blocks)
- and saved
- and reloaded
- and when deleting whole level
- Movable blocks can be loaded into game from file
- Fixed a bug where the end point and start point were not being recognized in editor when levels were being reloaded.
- Created new menu for delete all, which allows you to cancel if you change your mind.
Bugs fixed:
- Number of jewels was not getting reset when deleting whole level in editor. Now fixed.