github OndrejNepozitek/Edgar-Unity v2.0.0-alpha.7

latest releases: v2.0.2, v2.0.1, v0.0.7-test-build...
3 years ago

If you are upgrading from a previous version of the plugin, see the instructions below.

This update contains mostly small fixes and improvements but also something that I wanted to implement for quite a long time now - performance diagnostics. There are some common problems with the configuration of the generator that can lead to timeout errors. The implemented diagnostic procedure should automatically analyze some of these problems and tell you how to fix them.

Also, I created a Discord server for anything related to Edgar. So if you have anything to ask, want to share what you're doing with Edgar, or just want to chat about anything, you're encouraged to join us!

🚀 New features

  • Make it possible to infer the correct tilemap layers structure either automatically or from a given example (docs)
  • Added room template diagnostics - if you open a room template, it shows you if it is valid or not, or what to do to fix any potential problems
  • Added performance diagnostics - if you encounter a timeout error when generating a level, a diagnostic procedure is automatically run and should find the most common problems with the configuration of the generator. This diagnostic procedure can also be run manually using a checkbox in the configuration of the generator.
  • It is now possible to disable all custom post-processing tasks using a checkbox in the configuration of the generator.
  • (PRO) Improved Fog of War - added Custom transition mode, TileGranularity, Fog Smoothness, InitialFogTransparency. (docs)

💅 Polish

  • Removed test files from the unitypackage
  • (PRO) Dead Cells example - improved sorting order of enemies

🐛 Bug fixes

  • Fixed a bug with incorrect facing directions of doors in generated levels
  • Fixed room positions for Isometric levels or levels with non-zero cell gaps
  • (PRO) Dead Cells example - fixed one enemy being stuck in a collider
  • (PRO) Isometric 1 example - fixed post-processing task that did not correctly remove tiles at door positions

💥 Breaking changes

  • Changed the API of the Polygon2D class. There are now 3 different methods for getting points of the polygon - GetCornerPoints(), GetOutlinePoints() and GetAllPoints().

⏩ Migrate from previous version

To update the plugin from a previous version, it is recommended to first remove all the old files (Assets/ProceduralLevelGenerator folder) and then import the newer version of the plugin. You may also want to back up your files if you did some changes to the asset files.

To make it easier for you to update to future versions of the asset, please try to not create your games directly in any of the example scenes. It is okay to use these scenes as a playground. However, be prepared to lose all your modifications when upgrading to a new version of the asset.

Don't miss a new Edgar-Unity release

NewReleases is sending notifications on new releases.