Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (538)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (600)
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  Games Center / Archived Projects / Re: Stars 'n Aliens: Testers Wanted on: 2004-08-23 18:34:39
When I executed the SnA_Clien.exe I got:

"Det magiska numret stämde inte. Skaffa en annan kopia av installationsprogrammet och försök igen."
2  Games Center / Archived Projects / Re: Quix - Early build on: 2004-08-18 08:43:13
Fun game, ran smooth. Nice transitions and effects Smiley

p4 2.4ghz, gf4, 256mb ram, java 1.5 beta3
3  Games Center / Archived Projects / Re: 2 playa Quest for Peace on: 2004-08-14 10:51:41
WOW! Awesome Cheesy

I can't come up with any bugs or things that could get improved, since the only problem/feature(?) the game has is that it's slow, and since you'r doing the graphics in your "special" way, there's maybe nothing to do about it...

I got 40-120 fps (sound on, 800x600 I think) on WinXP, p4 2,4ghz, 256 ram, gf4.
4  Games Center / Archived Projects / Re: NanoMachinez on: 2004-08-02 12:30:49
Cool Smiley
5  Games Center / Archived Projects / Re: Mighty Bubbles on: 2004-07-24 11:19:06
Great game! Outstanding graphics Cheesy

Ran fine on Windows XP, java 1.5.0
6  Java Game APIs & Engines / Java 2D / Re: Rotate image on: 2004-06-16 09:15:49
Thanks for all for the great replys.

I got it "working" using this method:

     
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
public static Image rotate(Image source, int degrees) {
           
            int w = source.getWidth(null);
            int h = source.getHeight(null);
             
            GraphicsConfiguration gc = GraphicsEnvironment.
                   getLocalGraphicsEnvironment().getDefaultScreenDevice().
                   getDefaultConfiguration();
           
            Image img = gc.createCompatibleImage(w,h, Transparency.BITMASK);
            Graphics2D g = (Graphics2D)img.getGraphics();
            g.translate(w/2,h/2);
            g.rotate( Math.toRadians(degrees) );
            g.drawImage(source, -w/2, -h/2, w, h, null);
           
            return img;
      }


This only works with square images since otherwise the whole content wouldn't fit in all angles.

I'll have to figure out how to deal with the collision detection later on.
7  Java Game APIs & Engines / Java 2D / Rotate image on: 2004-06-14 13:49:56
Hello

I'm trying to make a 2D space game where each object is built up by an Image.

The problem is that I want the objects to be able to rotate. So I'll need some way of rotating the object images.

I have understood that since Graphics2D.rotate() is really slow I'll need to pregenerate the rotated version of the object image.

Could someone show how to do this? I'm using java.awt.Image and not BufferedImage.

And since my collision detection system works with the bounding boxes of the images I'm wondering how this will be affected?

Thanks
8  Discussions / General Discussions / Re: Books about AI on: 2004-06-14 12:54:16
Both those sites were really great.

Thanks!
9  Discussions / General Discussions / Books about AI on: 2004-06-13 19:19:36
Hi,

Someone know of any good books/sites about AI?

Thanks.
Pages: [1]
 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (29 views)
2014-12-15 09:26:44

Mr.CodeIt (20 views)
2014-12-14 19:50:38

BurntPizza (40 views)
2014-12-09 22:41:13

BurntPizza (75 views)
2014-12-08 04:46:31

JscottyBieshaar (37 views)
2014-12-05 12:39:02

SHC (50 views)
2014-12-03 16:27:13

CopyableCougar4 (47 views)
2014-11-29 21:32:03

toopeicgaming1999 (113 views)
2014-11-26 15:22:04

toopeicgaming1999 (100 views)
2014-11-26 15:20:36

toopeicgaming1999 (30 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org 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‑gaming.org
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!