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

Add Drawable support for textures #110

Closed
2 tasks done
Tracked by #10
lucasstarsz opened this issue Aug 13, 2021 · 0 comments
Closed
2 tasks done
Tracked by #10

Add Drawable support for textures #110

lucasstarsz opened this issue Aug 13, 2021 · 0 comments
Assignees
Projects

Comments

@lucasstarsz
Copy link
Member

lucasstarsz commented Aug 13, 2021

As FastJ's Drawable system grows, textures for polygons need to be supported. The following tasks should be completed:

  • Add TexturePaint as an option to generate for paints
  • Add support for TexturePaint to .psdf file format
@lucasstarsz lucasstarsz changed the title Add support for textures Add Drawable support for textures Aug 13, 2021
lucasstarsz added a commit that referenced this issue Aug 28, 2021
lucasstarsz added a commit that referenced this issue Aug 28, 2021
Bug Fixes:
- switched to getting specific token length rather than token array length
- corrected start position for 3-length tokens (originally, it would cut off some of the parsed path)
@lucasstarsz lucasstarsz self-assigned this Aug 28, 2021
@lucasstarsz lucasstarsz added this to To do in FastJ 1.6.0 via automation Aug 28, 2021
@lucasstarsz lucasstarsz added this to the FastJ Drawable System milestone Aug 28, 2021
lucasstarsz added a commit that referenced this issue Sep 12, 2021
Images, Sprites, Animations, and a lot more

Additions
-  (#104) added Linux's X11 to list of supported hardware accelerations
- (#108) Added Sprite2D and simple animation system
    - Manages an array of sprites, as well as an image resource instance
    - has default animations for "continuous", "play to end", and "static" (default is "continuous")
- (#113) Added centralized, extensible resource manager
- (#108, #113) Added image resource manager implementation
- (#108) Added `ImageUtil` to load and manage buffered images (makes use of resource manager where needed)
- (#113) Added default resource management, loaded on `FastJEngine` static initialization (_before_ `FastJEngine.init`!)
- (#10, #110) added `TexturePaint` builder, and support for `TexturePaint` in `.psdf` files
- (#10) Added support for writing/parsing `Model2D` to the `.obj`/`.mtl` file format


Bug Fixes
- (Fixes #106) Fixed translation doubling by removing translation from `setMetrics` method calls
- (Fixes #114) Added missing call to `Scene.reset` for each scene in `SceneManager` during a call to `SceneManager.reset`.
-  (Fixes #115) Added calls to destroy `Drawable`s in `Scene`/`SimpleManager`
- (Fixes #86) Fixed issue where occasional `ConcurrentModificationException`s woulc crop up thanks to slight issues with consistent multithreaded/event-based inputs (keyboard, mouse, window, etc).


Breaking Changes
- Moved `tech.fastj.systems.fio.FileUtil` to `tech.fastj.resources.files.FileUtil`
- Moved `tech.fastj.graphics.util.ModelUtil` to `tech.fastj.resources.models.ModelUtil`
- Moved `tech.fastj.graphics.io.PsdfUtil` to `tech.fastj.resources.models.PsdfUtil`
- Moved `tech.fastj.graphics.io.SupportedModelFormats` to `tech.fastj.resources.models.SupportedModelFormats`
FastJ 1.6.0 automation moved this from To do to Done Sep 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

1 participant