200sc / sprite-demo

Oak sprite demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sprite-demo

Oak sprite demo

This demo is designed to mirror this ebiten demo. This demo performs worse than ebiten, because oak does not as of writing use openGL, and because ebiten's screen size is a quarter of oak's.

Press K to spawn in sprites. Draw FPS is displayed in the top left, and underneath it logical FPS. To the right is the number of rendered sprites. Consider commenting out the rotation line to see how it effects the frame rates.

The gopher image used is from gophericons, based on Renee French under Creative Commons 3.0 Attributions.

About

Oak sprite demo

License:Apache License 2.0


Languages

Language:Go 100.0%