Jump to content

Mouse click broken?


Recommended Posts

Posted

Thanks for pointing out that that is a stupid way to do it, that way I keep learning and keep getting better at programming in Java smile.png

taking word out my mouth 

 

Also 

 

I have tried doing it by doing myPosition.getX() + 1 but it would add the number right after the coord so like if the coord was 3444 it would change to 34441, I remembered this was a problem once in my class at javascript where we had to do something similiar to this and the teacher told us about parseInt, I looked it up if there was something like that in Java and eventually did it that way.

if thats the case of the 33140 + 1 = 331401 << thats a bug report that shit. it should be 33140 + 1 = 33141

Posted (edited)

taking word out my mouth 

 

Also 

 

if thats the case of the 33140 + 1 = 331401 << thats a bug report that shit. it should be 33140 + 1 = 33141

Yeah I thought it would automatically count up but it didn't I logged it to the console to see and it just pasted it right after, I'll go report it in a few minutes.

Edited by Rudie
  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...