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.
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.
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.
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!).
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?
There are currently 1 users browsing this thread. (0 members and 1 guests)