roxy,

I can't even begin to describe the amount of weird math I had to do to get mouse cursor coordinates (drawn in green) to translate into game world coordinates (drawn in blue) while also accounting for game view rotation

#indiedev #gamedev #gamemaker

video/mp4

matias_hettich,

@roxy

Mouse coordinates in Game Maker is always a thing 😓

haze,

@roxy !! i've done this too (not gamemaker) and every time i change something about rendering and it breaks i have noooo idea what to do to fix it :') and just end up changing the order of all the math until it starts working again

roxy,

@haze extreme mood, I've already found at least one weird specific edge case that causes the bounding box to be wrong

fortunately I've figured out most of the rendering quirks already, so if this breaks, the cursor positioning should break in the same way

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