Skip to main content
Discovery icon for GDevelop Discord server

GDevelop

3,161 Online
24,596 Members
# english-help3 people

fixing horizontal dash direction bugs

Flip sprites based on horizontal speed rather than key presses, and flip before triggering horizontal dash actions.

  • Dashing left requires flipping the character horizontally before executing the dash action rather than after
  • Replace wait actions with an inverted dashing condition paired with trigger once to reset animations to idle
  • Flipping character sprites based on key presses causes unintended inputs during dashes; use horizontal speed conditions instead
  • Check whether horizontal speed is less than zero for moving left and greater than zero for moving right
  • Place test objects at origin, center, and custom offset points to visualize how flipping affects object coordinates
Summarized from recent messages, might be inaccurate

More conversations

Talk, Play, &
Hang Out

Find your space to hang out, discuss the latest updates with the party chat, and see who's down to join your next match.
Get App