khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

If you need to flip a sprite in , you can set the Scale x, y, or both values to negative. This will also flip any children, including collision nodes.

heroicthehobbyist,
@heroicthehobbyist@mastodon.gamedev.place avatar

@khalidabuhakmeh thats a really nice tip! Thanks for sharing. Ill see if I can use this in my own gdscripts

khalidabuhakmeh,
@khalidabuhakmeh@mastodon.social avatar

@heroicthehobbyist Yeah, it was driving me nuts because setting Flip H only does the parent node. 😅

  • All
  • Subscribed
  • Moderated
  • Favorites
  • godot
  • DreamBathrooms
  • magazineikmin
  • ngwrru68w68
  • mdbf
  • rosin
  • Youngstown
  • vwfavf
  • slotface
  • modclub
  • khanakhh
  • cubers
  • kavyap
  • thenastyranch
  • PowerRangers
  • provamag3
  • everett
  • Durango
  • InstantRegret
  • osvaldo12
  • tester
  • Leos
  • tacticalgear
  • ethstaker
  • GTA5RPClips
  • normalnudes
  • anitta
  • cisconetworking
  • megavids
  • All magazines