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

Little things and breaking changes #3

Open
3 tasks
vypxl opened this issue Oct 26, 2021 · 0 comments
Open
3 tasks

Little things and breaking changes #3

vypxl opened this issue Oct 26, 2021 · 0 comments
Assignees
Milestone

Comments

@vypxl
Copy link
Owner

vypxl commented Oct 26, 2021

Before the 0.4 release, I want to fix some annoyances in the library that bug me.

  • Systems should be just functions
  • Entities should be able to have children that inherit their transform
  • Fix the remaining TODOs / make issues out of them
src/scar/assets.cr: # TODO: make extendable
src/scar/assets.cr: # TODO: add more string constructors like in Components::Tilemap
src/scar/tiled_map.cr: # TODO somehow load the templates
src/scar/tiled_map.cr: # TODO load image maybe?
src/scar/tiled_map.cr: # TODO: use type field as in https://crystal-lang.org/api/1.1.1/JSON/Serializable.html#use_json_discriminator(field,mapping)-macro
src/scar/tiled_map.cr: # TODO: make data writeable (encode and compress data upon serialization) (tilelayer & chunk)

Assets should provide a default font
App should have a default scene, so no need for a useless `self << Scar::Scene.new`
App should not require implementing `update` and `render`
App should handle close events by default, but overridable
@vypxl vypxl added this to the Release 0.4.0 milestone Oct 26, 2021
@vypxl vypxl self-assigned this Oct 26, 2021
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