Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (777)
Games in Android Showcase (231)
games submitted by our members
Games in WIP (856)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / Java 2D / Re: 2D Gaming Chapters now Online on: 2004-02-03 11:25:43
whoa THX  Wink


2  Java Game APIs & Engines / Java 2D / Re: Moving+Rotating target on: 2004-02-02 05:49:18

prerotate them, not only is AffineTransform rather slow, it prevents the images from being hardware accelerated.

Are the Cans rectangular?
if so, u can just do it with oriented bounding boxes.

If they arn't rectangular, then i'd do a 2 layer collision detection, 1st axis aligned bounding box, then polygonal.

thx Smiley

i will do it this way  Cheesy
3  Java Game APIs & Engines / Java 2D / Moving+Rotating target on: 2004-01-29 06:58:36
hi all,

first thanks for this wonderful resource for java-game-developers.

i am currently working on a simple point+shoot game in java. And i have 2 questions
regarding the implementation :

Serveral coke cans (100x100 pixels) are running from left of the screen to right
of screen while rotating (fullscreen). Your mousepointer is a crosshair and you have to
shoot the cans. Depending on where u hit them they explode or get scratches etc.

and now the questions :

- is the java2d-api perfomance fast enough to handle the rotation of multiple "cans" on
the screen or should i use an image animation with pre-rotated "cans"

- what's the best way to handle the click/hit-areas on the "cans" while they are rotating ? (Shape->Poly ?)

Hopefully this posts fits into the right section of the forum Smiley ... and excuse my bad english ...


Pages: [1]
hadezbladez (289 views)
2018-11-16 13:46:03

hadezbladez (157 views)
2018-11-16 13:41:33

hadezbladez (289 views)
2018-11-16 13:35:35

hadezbladez (71 views)
2018-11-16 13:32:03

EgonOlsen (2150 views)
2018-06-10 19:43:48

EgonOlsen (2152 views)
2018-06-10 19:43:44

EgonOlsen (1364 views)
2018-06-10 19:43:20

DesertCoockie (1983 views)
2018-05-13 18:23:11

nelsongames (1600 views)
2018-04-24 18:15:36

nelsongames (2248 views)
2018-04-24 18:14:32
Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20

Deployment and Packaging
by philfrei
2018-08-19 23:54:46 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!