Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: btiles should be referenced by name, and their objects indexed #14

Closed
5 tasks done
jorgegv opened this issue Jan 7, 2021 · 1 comment
Closed
5 tasks done

Comments

@jorgegv
Copy link
Owner

jorgegv commented Jan 7, 2021

Several objects that appear in screens are drawn via BTiles (obstacles, decorations and items). THey normally have a NAME field which references the BTILE whith souhd be used to draw the object. THis blurs the distinction between the object and the tile, which is problematic because the same BTILE can be reused for several objects.

Objects and btiles should differentiated:

  • Object definitions should have a NAME field and a BTILE field. The NAME should be used for referencing the object elsewhere (flow rules, etc.) and the BTILE should be used for drawing.
  • Object types that should be migrated:
    • Obstacles
    • Decorations
    • Items
@jorgegv jorgegv changed the title Fix: btiles should be referenced by name, and their objects indexed fix: btiles should be referenced by name, and their objects indexed Jan 7, 2021
@jorgegv
Copy link
Owner Author

jorgegv commented Feb 6, 2021

fixed in b517536

@jorgegv jorgegv closed this as completed Feb 6, 2021
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

No branches or pull requests

1 participant