-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using percentage instead of fixed numbers in touch locations #3
Comments
very sorry closed by mistake! |
I've just understood why CentreMap is (960, 500), which is the end of the emulator on my screen! my emulator dimensions are about (1024 x 575)! |
I'll work on turning the numbers into percentages. |
This was a simply a proof of concept, and short cuts were taken, so many improvements in the code are required. I have no intention of taking it any further as I achieved what I set out to, and quickly reached a position in the game where it was no longer fun. |
I really appreciate that you shared your code. I'm enjoying working on the code more than playing the game, so I'll see where this leads. |
When running the code you give a warning
height of window must be 1080
andwidth of window must be 1920
and all touches and screen captures depend on these dimensions, however they are very difficult to get on laptop screens (I can see you have a very big screen).So getting the dimensions of the emulator when first run and using percentages would be much better!
The text was updated successfully, but these errors were encountered: