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

Images, Sprites, Animations, and a whole lot more #117

Merged
merged 44 commits into from
Sep 12, 2021

Conversation

lucasstarsz
Copy link
Member

Images, Sprites, Animations, and a lot more

Additions

Bug Fixes

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

(#104) add X11 to list of supported hardware accelerations
(#106) Remove translation from setMetrics
Bug Fixes:
- Added missing call to `Scene.reset` for each scene in `SceneManager` during a call to `SceneManager.reset`.
New Additions:
- `ResourceManager` constant to store all resource managers -- one instance per manager class.
- `FastJEngine.addResourceManager` -- method to add a manager of a specific type (the resource type must also be specified)
- `FastJEngine.getResourceManager` -- mwthod to get a manager of a specific type
Bug 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).
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)
Other Changes:
- The .obj parser handles multiple files where internal file paths are based on the starting file path.
  As a result, the file path is passed to the parsers as well as to the writers.
@sonarcloud
Copy link

sonarcloud bot commented Sep 12, 2021

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 5 Code Smells

32.2% 32.2% Coverage
0.0% 0.0% Duplication

@lucasstarsz lucasstarsz merged commit 67a3c98 into 1.6.0 Sep 12, 2021
@lucasstarsz lucasstarsz deleted the images-sprites-animations branch September 12, 2021 20:34
@lucasstarsz lucasstarsz mentioned this pull request Jan 22, 2022
lucasstarsz added a commit that referenced this pull request Jan 31, 2022
FastJ 1.6.0

Highlights
- [SLF4J](https://www.slf4j.org/) integration (currently `2.0.0-alpha-5)` in #127
- Fixed dozens of concurrency "random crashes and errors" in #161
- Added custom input event system for keyboard and mouse usage
- Added `origin`, `unit`, and directional vectors for `Point/Pointf` in #155
- added substantial logging to the engine
- added `EngineConfig` for easier engine configuration
- revamped Display system, added simple dialog system in #124
- added Drawable `lookAt` functionality
- added simple sprites and textures support in #117 
- added resource management system in #117
- added support for textures in `.psdf` in #117 
- added `.obj` and `.mtl` support in #117 
- removed game crashing errors in the audio engine


Breaking Changes
- Deprecated `Point/Pointf.Origin`
- Deprecated `FastJEngine#init(gameTitle, gameManager, fps, ups, windowResolution, canvasResolution, hardwareAcceleration, exceptionAction)`
- original display system is no longer supported


Other Changes
- Added [Spotless](https://github.com/diffplug/spotless) integration for import order (and hopefully more things later)
- Added trace-level logging and date/time recording to `test` logging
- moved `src/example` to its own Gradle subproject in #127
- fixed audio example sound usage

**Full Changelog**: 1.5.1...1.6.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant