Results 1 to 5 of 5

Thread: Can someone help me understand what pixel shift is doing?

  1. #1
    Join Date
    Aug 2014
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default Can someone help me understand what pixel shift is doing?

    I'm curious on how pixel shift works. I don't really know what its for either. If someone could shed some light on this, I'd be very grateful.

  2. #2
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    pixelshift is determining how many or what pixels have shifted (changed) between time A and time B.

    it can use it for anything that you want to compare. maybe one screen vs another. maybe to check if your inventory is changing. maybe to check if something is happening on screen.

  3. #3
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    It basically checks the shift in pixels. If the player standing idle has a pixel rate of 55, and the player cutting a tree has a pixel rate of 130, then the pixelShift is calculated by px2-px1. This basically ``checks'' if the player has done anything, other than be idle.

    Of course, this isn't limited to the player, it could be for anything (monsters, objects, inventory, etc!).

  4. #4
    Join Date
    Aug 2014
    Posts
    4
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    So it isn't a process that "catches" gradual pixel color variations to help color driven bots?
    It is, however, only interpreting if a character is performing a different action other than it's idle?

  5. #5
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Quote Originally Posted by thickfreakness View Post
    So it isn't a process that "catches" gradual pixel color variations to help color driven bots?
    It is, however, only interpreting if a character is performing a different action other than it's idle?
    No, individual colors at a time aren't recorded. It's more the entirety of the colors in the given TBox. And yes, that's the most common use for it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •