and for those too lazy to click on the link, instead of real-time, why not have your triangle render engine be an offline one, creating sprite sheets for you at load time?
Nope, not really - the game should work offline, no justification to make it depend on outside server. Figures be moving and rotating, can't precompute it all. Theoretically there is ifDraw2D.DrawRotatedObject but that one is limited to 90 degree rotations (i.e. mostly useless). Unofficially, a few of the players (with GLES - 3xxx, 4200) will rotate to non-multiples of 90 but the rest just draw Nada.
by "offline" I meant to say precomputed. Like right before they are needed... like during a "loading" screen or something. If enough rotations of the object are precomputed, stored in your sprite sheet, you can pick and choose which frames to display. Movement is the same for "normal" sprites ( those loaded from disk ).
As for triangle drawing code:
http://www.sunshine2k.de/coding/java/Tr ... ation.htmlMy guess is without anti-aliasing it'll look pretty jagged, but I still believe it's doable just not sure how much else can be moving on the screen at the same time.
😉