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

Update 1.3 #28

Merged
merged 4 commits into from
Oct 14, 2023
Merged

Update 1.3 #28

merged 4 commits into from
Oct 14, 2023

Conversation

realhackcraft
Copy link
Owner

v1.3 uses the new LDtk 1.4 schema and has fixed the movement (finaly!)

Player movement and collision handling logic have been refactored. Previously, movement and collision checking logic were intertwined and complex. The updated version divides these concerns by first simulating player movement, then checking for collisions, and finally applying the movement if no collision is detected. Some unnecessary code snippets and unused imports were also removed. This improves code readability and maintainability. LDtkLoader.get() method was also renamed to LDtkLoader.getInstance() for consistency with other singleton classes.
@realhackcraft realhackcraft self-assigned this Oct 14, 2023
@realhackcraft realhackcraft added the enhancement New feature or request label Oct 14, 2023
@realhackcraft
Copy link
Owner Author

LGTM!

@realhackcraft
Copy link
Owner Author

Approved

# Conflicts:
#	.idea/workspace.xml
@realhackcraft realhackcraft merged commit a631f6f into production Oct 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant