TurboWarp / scratch-vm

Scratch VM with a JIT compiler and more features
https://turbowarp.org/
Mozilla Public License 2.0
75 stars 72 forks source link

Allow us to get mouse wheel deltaY from ioQuery #142

Closed LilyMakesThings closed 1 year ago

GarboMuffin commented 1 year ago

are you not able to add your own listener scroll event listener to the document?

LilyMakesThings commented 1 year ago

I could do that, I just believe it would make more sense to incorporate it in to the vm, no?

GarboMuffin commented 1 year ago

at some point you may eventually want to do things like:

at which point having your own event listener will be a better approach

LilyMakesThings commented 1 year ago

at some point you may eventually want to do things like:

  • get horizontal scrolling
  • when mouse scrolled

at which point having your own event listener will be a better approach

Alright, this makes sense