A catty engine for 2D game engine studing