Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (408)
games submitted by our members
Games in WIP (293)
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 / Showcase / Re: Piles! The falling blocks on: 2009-07-12 21:37:22
I get 900-1000 fps while playing, around 500 while paused.
2  Discussions / General Discussions / Re: Copyright Issues - Who is an expert at this stuff ? ^^ on: 2009-06-16 06:47:47

The reason for such aggressive protection, that if a copyrighted item is not defended and widely used, it becomes public domain. Which anybody can use it.

This is only true for trademarks and patents, not copyrights.
3  Games Center / Archived Projects / Re: cpu benchmark on: 2009-02-08 03:49:04
edit: oops I cheated and let the thing run while my browser was minimized. New results are from keeping the applet up and focused for the whole time.

Intel Core 2 Duo E8400 3.0Ghz

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
######################################################################
# *****************                                                  #
# * score: 208.33 *                                                  #
# *****************                                                  #
# Windows Vista@6.0 java version: 1.6.0_11                           #
# rounds:10                                                          #
# benchmark                                     avg/min/max/variance #
# 1 mio adds [linear array access]              404|403|405|0        #
# 1 mio adds (random array access a[b[a[i]]]    160|160|161|0        #
# 100k add,mul,div,%                            1443|1438|1447|6     #
# 1 mio adds [live random numbers]              324|321|326|1        #
# 100k Math.sin                                 297|295|298|0        #
# Sytem.arraycopy of 1 mio int                  385|371|394|74       #
# 800x600 BufferedImage blits (changing raster) 1130|1120|1141|42    #
######################################################################
4  Game Development / Newbie & Debugging Questions / Re: Why is my JPanel too big? on: 2009-02-02 07:00:56
I think I found the problem.
Calling setResizable after calling pack() within the JFrame constructor made the JPanel bigger than it needed to be. Still not sure why or how the frame would add extraneous pixels to my panel dimensions but it's fixed.
5  Game Development / Newbie & Debugging Questions / Why is my JPanel too big? on: 2009-01-29 08:52:52
I'm trying to make my first game and I'm having a strange problem. In my panel class I have
1  
2  
   private static final int WIDTH = 640;
   private static final int HEIGHT = 480;


and I use these for both creating the panel

1  
setPreferredSize(new Dimension(WIDTH, HEIGHT));


and creating an image to draw to the screen.

1  
image = createImage(WIDTH,HEIGHT);


 But for some reason when I run the program it makes the panel 650 by 490 which is 10 pixels too big in both directions. I have no idea what is causing this. I have fixed it by changing the panel constructor to

1  
setPreferredSize(new Dimension(WIDTH-10, HEIGHT-10));


but I don't understand why I need to be doing such a thing.

I've tried using different dimensions and no matter what I pick, both sides are always 10 pixels too big, except that the width never goes below 118. When I tried WIDTH = 1 and HEIGHT = 1, I ran my program and it gave me a panel that was 118 by 11.
6  Game Development / Newbie & Debugging Questions / Re: Do you know I'm Black? on: 2009-01-24 09:52:33
I am from Los Angeles , CA and we take those types of jokes with a grain of salt, (its obvious there wasn't any racism were all blue pixels on the screen) 

Wow, racism and generalizing an entire city. I'm sure quite a few of the 18 million people in LA would be offended by those kinds of remarks.
But we're all just pixels, so it means nothing right!
7  Game Development / Newbie & Debugging Questions / Re: Disabling alt when on a JFrame? on: 2009-01-20 21:51:08
I get the same problem in Vista64 Home Premium.
Pressing alt+arrow at the same time does nothing but pressing alt by itself, then up or down by itself, brings up the annoying menu.
Pages: [1]
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (106 views)
2013-05-17 21:29:12

alaslipknot (114 views)
2013-05-16 21:24:48

gouessej (143 views)
2013-05-16 00:53:38

gouessej (139 views)
2013-05-16 00:17:58

theagentd (151 views)
2013-05-15 15:01:13

theagentd (135 views)
2013-05-15 15:00:54

StreetDoggy (179 views)
2013-05-14 15:56:26

kutucuk (202 views)
2013-05-12 17:10:36

kutucuk (203 views)
2013-05-12 15:36:09

UnluckyDevil (209 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.178 seconds with 21 queries.