Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (106)
games submitted by our members
Games in WIP (533)
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]
 

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

The first screenshot will be displayed as a thumbnail.

pw (26 views)
2014-07-24 01:59:36

Riven (25 views)
2014-07-23 21:16:32

Riven (19 views)
2014-07-23 21:07:15

Riven (22 views)
2014-07-23 20:56:16

ctomni231 (51 views)
2014-07-18 06:55:21

Zero Volt (46 views)
2014-07-17 23:47:54

danieldean (37 views)
2014-07-17 23:41:23

MustardPeter (40 views)
2014-07-16 23:30:00

Cero (56 views)
2014-07-16 00:42:17

Riven (55 views)
2014-07-14 18:02:53
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!