use glsprite, add a few states