Clumbsy mouse

  • Darmagon
    30th Jun 2018 Member 0 Permalink

    This bug has been driving me crazy! Every time I select a circle brush, flatten it to be horizontal, and draw it seems to create pixels all around it too as in the game turns a 5x1 brush into a 7x3!!!

  • moonheart08
    30th Jun 2018 Member 0 Permalink

    Which version of the game? Release, Snapshot, Android, or unaffiliated mod

  • jacob1
    30th Jun 2018 Developer 2 Permalink
    Yeah I can't reproduce this. The flat brush works just fine to me. Tried other shapes too
  • Darmagon
    30th Jun 2018 Member 0 Permalink

    It's a rare occurance and I think it's just in Jacob1's mod. Usually works with particles already on screen and bmtl

    Because it looks like when I was building a foundation for my trading hub it happened. I think that the mod thinks that the brush is bigger if it is between frames so it may be a thing about a long waiting will result in the frame update time being missalined with the detection and it's rounding up the mouse position. The game basically sees the brush slightly over a pixel yet fills it entirely. or it could be floating point like in minecraft or something.

     

    I still don't do code though.

    Edited once by Darmagon. Last: 30th Jun 2018
  • moonheart08
    30th Jun 2018 Member 0 Permalink

    @Darmagon (View Post)

     your hypothesis is probably incorrect. TPT uses ints for nearly everything, and is practically afraid of floats in the SRC (My opinion).
    This seems more like your mouse being junk than the game being buggy.

  • Darmagon
    30th Jun 2018 Member 0 Permalink

    Cyberpower gaming mouse purchased this month and computer custom built.

    And not to be rude but, why are you responding to this? Your login only shows you as a member.

    Edited once by Darmagon. Last: 30th Jun 2018
  • lamyipfu
    1st Jul 2018 Member 1 Permalink

    TPT is open source, and I believe moonheart is one of the code contributors.
    Anyway, since he sees a 5x1 brush on the screen, that means TPT knows the correct size.
    It is more likely for the error to occur when TPT tries to draw the store size rather than the mouse (falsefully)accurately moving into 4 positions to draw a bigger shape in a brief moment.

  • Darmagon
    1st Jul 2018 Member 0 Permalink

    Thank you for the help lamyipfu!

  • jacob1
    1st Jul 2018 Developer 2 Permalink
    @Darmagon (View Post)
    I see, this is a bug in my mod. It's probably been there for at least 6 years ... thanks for reporting it.

    I opened an issue on GitHub to remind me to fix it. I haven't done much TPT development in the last month.
  • Darmagon
    2nd Jul 2018 Member 0 Permalink

    Your/you're welcome!