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

Convert background format into text texture compliant format #83

Open
pkulev opened this issue May 5, 2020 · 0 comments
Open

Convert background format into text texture compliant format #83

pkulev opened this issue May 5, 2020 · 0 comments

Comments

@pkulev
Copy link
Owner

pkulev commented May 5, 2020

Abstract

Now background has it's own format, but with texture we can unify it. It will be needed later for level description file format and also we will be able paint background with different colors.

Maybe we can even use chunks from several background files at once.

Example

[meta]
name = "small town"

[chunk.bridge]
image = """
  \      /
   |    |
   |    | 
   |    |
  /      \
"""

color = """

"""

attrs = """

"""

[chunk.something]
image = """
  ^^^^^^ ^^^^^^ ^^^^^^
 00 000 000 000 00 00 0
"""

Implementation

Replace old parser or add new one.

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

No branches or pull requests

1 participant