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

change FlxSprite.setGraphicSize args to floats #2881

Merged
merged 1 commit into from
Aug 2, 2023

Conversation

Starmapo
Copy link
Contributor

@Starmapo Starmapo commented Aug 2, 2023

Allows setGraphicSize to use floats as inputs, instead of being limited to integers.

Also removed references to it in the documentation saying that it automatically adjusts the hitbox (it does not).

fixes #2878

- Updated formatting of the function
- Removed documentation of `setGraphicSize` calling `updateHitbox`
@Geokureli
Copy link
Member

Also removed references to it in the documentation saying that it automatically adjusts the hitbox (it does not).

weird I thought it did, lol

@Geokureli Geokureli merged commit 09c417e into HaxeFlixel:dev Aug 2, 2023
15 checks passed
@Geokureli
Copy link
Member

thanks

@Geokureli Geokureli changed the title FlxSprite.setGraphicSize allows floats change FlxSprite.setGraphicSize args to floats Aug 2, 2023
Geokureli added a commit that referenced this pull request Aug 2, 2023
@Geokureli Geokureli added this to the 5.4.0 milestone Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FlxSprite.setGraphicSize only takes integers
2 participants