slowed down the sprite

This commit is contained in:
Jalen Winslow 2018-01-23 06:12:38 -07:00
parent 748f605bff
commit f35e404703

View File

@ -127,8 +127,9 @@ func run() {
*/ */
//mouse := cam.Unproject(win.MousePosition()) //mouse := cam.Unproject(win.MousePosition())
if frames%10==0 {
frameCounter += 1 frameCounter += 1
}
if frameCounter >= 3 { if frameCounter >= 3 {
frameCounter = 0 frameCounter = 0
} }