Categories
Programming

A* Pathfinding

If you wanted to learn more about the A* pathfinding algorithm

I found this link to be very useful!  And it doesn’t have to apply to HTML5 only.  I was using it as a reference when tuning the AStar engine for AndEngine.

http://buildnewgames.com/astar/

Categories
Programming

Color Programming

This is for automation by screen capture

I have a program that picks out colors from a screen capture of an application.  Once I found the colors of interest, I tried comparing them against a previous capture of the image.

They didn’t match!

Did you know that the color grabbed can change depending on the monitor’s color?  I had one monitor configured for 16 bit color and the other monitor configured for 32 bit color.

Turns out that taking a screenshot of a game screen on both monitors yielded bitmaps with slightly different colors.