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

Allow Emoji in Legend/Level Data #136

Open
3 tasks done
hawkerm opened this issue Nov 30, 2024 · 1 comment
Open
3 tasks done

Allow Emoji in Legend/Level Data #136

hawkerm opened this issue Nov 30, 2024 · 1 comment
Labels
enhancement Improvement to existing capability

Comments

@hawkerm
Copy link

hawkerm commented Nov 30, 2024

Check ([ ] -> [x]) all that apply, then describe the issue below:

  • I have searched the tracker for similar issues (including closed ones)
  • I have provided a detailed example for how this feature should work
  • I have provided a use case for this feature, e.g. short description/share link of a game you're making and how you'd use the feature in that game, other things you've tried, edge cases, etc. (if applicable)

Related #115

I'm making a word puzzle with letters, so most of the alphabet is being taken up by defining the letters as readable (v being reserved is a problem for that, but that's a different issue.)

I also was doing shenanigans with teleporters and needed 20 of them. I could do a bunch of weird ascii/unicode symbols I suppose, but emoji are pretty accessible on the keyboard these days, so it'd be nice to have those as an option too.

It'd also be fun for folks learning or more visual to have level definitions like this:

======
LEGEND
======

⬛ = Background
🤺 = Player
📦 = Crate
🧱 = Wall
🎯 = Target

======
LEVELS
======

🧱🧱🧱🧱🧱🧱
🧱🤺⬛⬛⬛🧱
🧱🧱⬛📦⬛🧱
🧱🧱⬛⬛🎯🧱
🧱🧱🧱🧱🧱🧱
@hawkerm hawkerm added the enhancement Improvement to existing capability label Nov 30, 2024
@david-pfx
Copy link
Owner

david-pfx commented Nov 30, 2024

To be clear, 'v' is not really reserved, but it has a special meaning in rules. You can use it as a legend character (a 'glyph'), you will get a warning, just not in rules.

But it seems that while you can use just about any Unicode character in messages, the rules for legend glyphs are less consistent. I'll see what I can do.

See also #98.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement to existing capability
Projects
None yet
Development

No branches or pull requests

2 participants