filbs111 / box2d-learning

0 stars 0 forks source link

webgl renderer #1

Open filbs111 opened 7 years ago

filbs111 commented 7 years ago

in addition to standard debug renderer. have some texture for boxes, balls, player triangle.

filbs111 commented 7 years ago

tried both canvas and svg rendering. canvas is slow (~30fps) on chuwi hi12 when fullscreen. svg is ok (60fps) when nothing happening, but poor when a lot on screen (eg complex landscape, lots of bullets).

possibly there are tricks left to find for canvas/svg, but IMO sensible to move to webgl