add sprite auto frame and timebased frame

add sprite auto frame and timebased frame