Hello, I’m writing a 2D game (surprise). Presently sprites are drawn using fillPolygon. It is necessary to rotate, scale and translate these from an abstract map to the screen, and for this I use AffineTransforms. Also, in order for the polygons to be rendered acceptably I have enabled antialiasing.
The problem is that these simple operations seem to be done in software, and framerate quickly falls below 20 if multiple sprites are visible. I have tried enabling the “opengl pipeline”, but this seems to make no difference. It appears that antialiasing is by far the most demanding aspect of this.
How, then, is it possible to accelerate rendering? It must surely be possible since 3D graphics are so much more complicated and still work quite efficiently.
Tell me if I should post some code.