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

Find how to load correctly images on loader.py #13

Open
4 tasks
naulan-chrzaszcz opened this issue Dec 24, 2022 · 2 comments
Open
4 tasks

Find how to load correctly images on loader.py #13

naulan-chrzaszcz opened this issue Dec 24, 2022 · 2 comments

Comments

@naulan-chrzaszcz
Copy link
Member

naulan-chrzaszcz commented Dec 24, 2022

I created image_data.py

@dataclass
class ImageData(object):
    type_of_block: TypeOfBlock
    type_of_image: TypeOfImage

    x: int
    y: int
    name: str
    data: Surface
  • Render all oriented object
  • Simplify loading in a directory (thanks to listdir())
  • delete pathIndex.json file
  • replace data variable to a more simple way
@naulan-chrzaszcz
Copy link
Member Author

i search how to define correctly a block

@naulan-chrzaszcz
Copy link
Member Author

here

type_of_block: TypeOfBlock
type_of_image: TypeOfImage

@naulan-chrzaszcz naulan-chrzaszcz linked a pull request Dec 24, 2022 that will close this issue
@naulan-chrzaszcz naulan-chrzaszcz self-assigned this Dec 24, 2022
@naulan-chrzaszcz naulan-chrzaszcz removed a link to a pull request Jan 29, 2023
@naulan-chrzaszcz naulan-chrzaszcz removed their assignment Jan 30, 2023
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