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 graffiti translation origin stuff #279

Open
thenfour opened this issue Apr 25, 2022 · 0 comments
Open

fix graffiti translation origin stuff #279

thenfour opened this issue Apr 25, 2022 · 0 comments

Comments

@thenfour
Copy link
Owner

graffiti right now is a bit hacky because of limitations with CSS transform. You cannot combine transforms, so in order to have separate multiple transforms, you have to nest <div>s, or find some other way. This is why for the moment there are graffiti classes like "rightfacing_spotlight". I would rather separate these effects, but can't.

so there are some side effects i want to eliminate:

  • transform origin and element size are not clear. which makes things like the rotating revision logo not centered properly.
  • transforms must bleed into unrelated classes. we should determine a practical <div> stack
  • let's make room geometry a structured thing, because we will always use isometric. global vars to control rightfacing / leftfacing / upfacing / etc, so ALL rooms can share the same graffiti effects.
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