OndrejNepozitek / Edgar-Unity

Unity Procedural Level Generator
https://ondrejnepozitek.github.io/Edgar-Unity/docs/introduction
MIT License
817 stars 70 forks source link

am i doing crazy mistakes ? #35

Closed stickylabdev closed 4 years ago

stickylabdev commented 4 years ago

Expectation :

image

Reality :

image

i failed :(

OndrejNepozitek commented 4 years ago

I'm sorry that it doesn't work for you. It seems that you're trying to generate platformers which are currently a very experimental feature (dungeons have better support). It looks like that there is a problem with computing the outline of the room based on the tiles in the tilemap because there are holes in the room template (not all tiles inside the room template are filled). I tried to do a quick fix which can be found here. Find the "RoomShapesLoader.cs" file and replace its content with the gist. If it works, I'll commit the changes.

Thanks for trying out the plugin and helping me find bugs.

stickylabdev commented 4 years ago

no need to sorry :D ,,maybe its just my mistakes ,,cause i m toolazy to read the documantation and only tweking your project


i still failed https://youtu.be/eeaIjeOG-XA

OndrejNepozitek commented 4 years ago

There may be a problem with Room 6. The marked tiles in the picture below have only diagonal neighbours (which is not possible for tiles that are on the outline of the room template).

image

You also need to provide the tiles marked in black.

image

stickylabdev commented 4 years ago

You're doing a great job ,,extremly thanks man 💃

image