Jump to content

Mouse click broken?


Rudie

Recommended Posts

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

Link to comment
Share on other sites

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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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