Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (581)
games submitted by our members
Games in WIP (500)
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  Discussions / General Discussions / Re: Alien Flux Beta Testers Required on: 2003-05-21 19:05:58
Je parle fran├žais.
This forum is international, it may be not difficult to have translaters. This depends of the easiness of editing the ressources.
2  Java Game APIs & Engines / Java 2D / Re: Spritesize and resolution on: 2003-05-21 06:08:27
I have tried to resize some small bitmap just before displaying. It is awfully long. If you want to do it it should be done before.

About setting the resolution, it doesn't work if you don't set in full screen first. SetUndecorated should be set before also.

I wonder on which resolution a game could rely on. 800*600 could be now replace by 1024*768 everywhere?
3  Discussions / General Discussions / Re: Alien Flux Beta Testers Required on: 2003-05-21 05:50:50
I make crash many games I play with. My 3 years son will help me also?

Is there several language available? Do you need translation?
4  Game Development / Performance Tuning / Re: Mouse event lost on: 2003-05-16 16:21:02
So goooood! That's it !

You maybe know how to deiconify the program quoted above. It never reappears.

I know that there is a window event (windowDeiconified), I tried to put a paint call in it. But this event never occurs.
5  Game Development / Performance Tuning / Re: Mouse event lost on: 2003-05-16 13:42:49
I have checked again.
It is effectively 20/20 if I don't move between click, but it is still poor if I make some movements between each click 5-12/20.
How have you tested?
6  Game Development / Performance Tuning / Re: Mouse event lost on: 2003-05-16 13:24:33
last official standard edition 1.4.1_02

I feel relieved . If it works better somewhere else, there maybe a solution. Which system are you using?
7  Game Development / Performance Tuning / Re: Mouse event lost on: 2003-05-16 12:47:48
import javax.swing.JFrame;
import java.awt.*;
import java.awt.event.*;

public class FullJFrame
   extends JFrame {

 public static void main(String[] args) {
   FullJFrame MainFrame = new FullJFrame();
 }

 public FullJFrame() {
   GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
   GraphicsDevice gd = ge.getDefaultScreenDevice();
   DisplayMode UsualDisplayMode = gd.getDisplayMode();

   Rectangle GameScreen = new Rectangle(0, 0, UsualDisplayMode.getWidth(),
                                        UsualDisplayMode.getHeight());
   this.setBounds(GameScreen);
   setUndecorated(true);
   if (gd.isFullScreenSupported()) {
     gd.setFullScreenWindow(this);
   }
   setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
   getContentPane().setBackground(Color.BLUE);

   this.setVisible(true);

   this.addMouseListener
       (new MouseAdapter() {
     public void mouseClicked(MouseEvent evt) {
       System.err.println('\n' + Thread.currentThread().getName() + ' ' +
                          String.valueOf(Thread.currentThread().getPriority()));
     }
   });

   this.addKeyListener(new KeyAdapter() {
     public void keyPressed(KeyEvent evt) {
       if (evt.getKeyCode() == KeyEvent.VK_ESCAPE) {
         System.exit(0); //evt.getKeyCode()
       }
     }
   });

 }

}
8  Game Development / Performance Tuning / Re: Mouse event lost on: 2003-05-16 10:28:36
As I have tried with just the fullscreen jframe (to remove any other incidence) and dispose of graphics object at the end of paint, garbage should be very small crumbles.

Any way, I have try to disable it by writing -Xnoclassgc into launcher application params in JBuilder. As I am new to this ID, I am not sure to have tested it properly. If I have done it properly, the result is not making any progress. Is there another way to disable GC ?
9  Game Development / Performance Tuning / Re: Mouse event lost on: 2003-05-16 09:01:34
What does GC mean?

I use 1.4.1_02.
I have tried to rise to max the priority of awt_event queue. It didn't make any difference.
I wonder how many tasks are to be crossed between the mouse detection (by polling or IT ?) and the message sending to awt event queue.

10  Game Development / Performance Tuning / Re: Mouse event lost on: 2003-05-15 19:17:28
After cliking 20, only a range from 4 to 15 could reach my app.
Even if it is for a strategy game, it can make the player ... nervous.
11  Game Development / Performance Tuning / Mouse event lost on: 2003-05-15 17:28:26
Hello, Cheesy
I use a frame full screen, which receive mouse events for the game.
The problem is that the frame is frequently not advised , and I lose many events before they can reach my code.
I work with W2000, with a WACOM mouse. I reduced the computing time to check if System was not overbooked, without success. Cry

Has anybody had the same problem? Does anybody have a clue? Huh
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.

xsi3rr4x (55 views)
2014-04-15 18:08:23

BurntPizza (53 views)
2014-04-15 03:46:01

UprightPath (66 views)
2014-04-14 17:39:50

UprightPath (49 views)
2014-04-14 17:35:47

Porlus (66 views)
2014-04-14 15:48:38

tom_mai78101 (90 views)
2014-04-10 04:04:31

BurntPizza (151 views)
2014-04-08 23:06:04

tom_mai78101 (246 views)
2014-04-05 13:34:39

trollwarrior1 (204 views)
2014-04-04 12:06:45

CJLetsGame (211 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
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!