Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

mouse_y not what I'm expecting

A topic by furrypumpkin created Jan 13, 2022 Views: 204 Replies: 3
Viewing posts 1 to 4
(+1)

Hi,

When polling for mouse_x and mouse_y the mouse_x value is exactly what I'd expect, but the mouse_y value seems to be way off. I'm guessing it has something to do with the camera pitching but I'm not sure exactly how to approach it. Any suggestions? 


(1 edit)

Hey! what do you mean by way off? Do you mean inverted? :)

(2 edits)

Apologies I thought I submitted a screenshot with the post. The value isn't inverted, it's just a little over 2x what I would expect. Moving it from the top of my monitor moves it about half the # of pixels I would expect ~600 vs my monitor height 1280.


Very interesting! Its hard for me to be able to tell whats going on from that picture, but maybe it is due to the camera size / Render Quality?
You can change Render Quality in the FAUXTON_INIT() script wherever you are calling it. :P

If that doesn't work, if you could send a video i'd be more than happy to give it a look and see if I can deduce the issue! :)

moved this topic to Questions