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

Levels can not contain glyphs that resemble section names #976

Open
jcmiller11 opened this issue Jun 28, 2023 · 3 comments
Open

Levels can not contain glyphs that resemble section names #976

jcmiller11 opened this issue Jun 28, 2023 · 3 comments

Comments

@jcmiller11
Copy link

If I create objects with the following glyphs for defining levels: S, O, U, N, D and attempt to create a level where they appear in a particular order in a line such as
####...
#.O#...
#..###.
#@P..#.
SOUNDS.
######.
I get a bunch of errors since the parser seems to think I'm trying to define a second SOUNDS section, expected behavior is that the objects assigned to those glyphs appear in the level.

@jcmiller11
Copy link
Author

Related bug, you can use the glyph after object name convention in the objects section to define an object's level glyph as =, which works until you try to put it at the start of a line in the level definition.

@david-pfx
Copy link

Which is a bug. The parser should assume a level if possible. For PS, the test for all EqualsRow and sections can be suppressed in the LEVELS section. For some forks it may be harder.

@increpare
Copy link
Owner

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

3 participants