PDA

Click to See Complete Forum and Search --> : Windows programmer looking to cross platforms


NOMADMAN
May 18th, 2003, 11:10 PM
long time windows game programmer. I know enough java to work with the console well and some swing. I'm interested in the names of the Java api that does graphics, 2D. Maybe an equvilant to BitBlt if another knows that one ;-)

Thanks,
Nomad

CornedBee
May 19th, 2003, 03:19 AM
java.awt.Graphics2d lies at the core of all drawing in Java.

The closest to BitBlt are drawImage (image to context) and copyArea (blitting inside one context).

CornedBee
May 19th, 2003, 03:43 AM
For tiles, there seems to be a downloadable extension called the Java Advanced Imaging API.

Then of course there is Java3d, also an optional package. Looks very interesting.

More about 2d:
http://java.sun.com/j2se/1.4.1/docs/guide/2d/index.html

Fullscreen:
http://java.sun.com/docs/books/tutorial/extra/fullscreen/

Games in Java (discussion board):
http://www.javagaming.org

NOMADMAN
May 19th, 2003, 03:09 PM
CornedBee, thanks I'll start reading.

NOMAD