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 analog directional input to FlxVirtualPad #3340

Open
wants to merge 27 commits into
base: release6
Choose a base branch
from

Conversation

Geokureli
Copy link
Member

@Geokureli Geokureli commented Jan 22, 2025

  • FlxVirtualStick: Added
  • FlxAnalog: Deprecated for the new FlxVirtualStick
  • FlxVirtualPad: Adds FlxDPadMode.analog, to use a FlxVirtualStick for directional input
  • FlxSpriteUtil: drawCircle now centers the image to the bitmap, if x/y are omitted
  • FlxButton: Added toString and toInt methods to FlxButtonState, deprecate statusAnimations
  • FlxPoint: Added scale, dist, distSquared, distanceTo and distanceSquaredTo overloaded methods
  • FlxMath: Added getElapsedLerp for framerate independate lerping
  • FlxAnalogState: add moved, justMoved, stopped and justStopped getters

@Geokureli Geokureli marked this pull request as ready for review January 22, 2025 03:30
@Geokureli Geokureli added this to the Next Minor Version milestone Jan 23, 2025
@Geokureli Geokureli modified the milestones: Next Minor Version, 6.0.0 Jan 23, 2025
@Geokureli Geokureli changed the base branch from dev to release6 January 23, 2025 23:00
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.

1 participant