Skip to content

Conversation

@AuroraKy
Copy link

This is my attempt at loenn support, it has some issues:

  1. I cannot read the entity width/height while editing resulting in the following issues:
    1.1 The edit window is a fixed 64x64 tile size
    1.2 The edit window cannot know the intended size and thus just creates tileData that fits all the input (even if bigger than width/height)
    1.3 The in-game entity always uses ALL tiledata, even if it is out of bounds in loenn
    1.4 Rendering only shows what is in width/height (as you'd expect) but that doesn't fit in-game implementation

Otherwise it seems to work pretty fine? working with loenn is a moment, i tried asking cuor for this a few times but got no response so idk if reading width/height in a field is possible at all.

Features this adds:

  1. You can copy/paste fgtiles into the tiledata field
  2. Tiledata field only shows data if clicked on
  3. Tiledata field has an edit button
  4. Renders tiles in loenn

If you have any ideas to improve this that'd be much appreciated

@AuroraKy
Copy link
Author

I did just have one idea of how to "fix" the width/height issue in-game.
the c# code could check width/height and remove all tile-data that is out of bounds.
this leaves the issue of the window size in loenn but it'd probably make it more intuitive.

I can do that if you want but idk if that's the best solution so i'll wait on comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant