Quote:Original post by rpulley123
I never really considered just using the GDI directly. That is a thought though. I can't imagine that it would be that much slower, I'm sure that's what java uses for painting anyway,
On windows Java2D (and Swing) uses DirectDraw if available unless you tell it not to, in which case it might very well use GDI (I don't know). With Java 1.5 you can configure it to use Opengl instead.
Worrying about reverse engineering and anti-piracy measures is a waste of time. The best you could ever hope for (without ruining the user experience and pissing off your legitimate customers) is to prevent casual piracy. If hardcore pirates want your game they are going to get a free version of your game no matter what you do. A very large majority of your target market likely won't even know what reverse engineering means, much less how to do it.
As an indie developer, you need to maximize your time on what is important, and not waste it on things beyond your control. In this case, that means finish what you've started, market it, and move on to the next project. Rewriting it at this point would use up time better spent elsewhere, no matter how quickly you get it done.