Problem with visualization of trees...

881 byte By Darth_Debuggera at 2007-10-2 8:45:08
Hello everyone,I have a problem concerning a visualization of a tree. I want a tree data structure to represent a priority gueue, and i was, so far, unable to construct a gui that sufficiently represent my tree.More specifically, the problem really concerns that i dont know the maximum number ...

Help Me Make Tetris

430 byte By b300224961a at 2007-10-2 8:45:33
Hey guys, I have started learning Java just a short time ago and I would like to make the classic game tetris. I have a slight clue on how to approach it but that's about it. I suppose the area where the blocks fall would be composed of a 2d array? How exactly would I draw these boxes? Im ...

how to free memory

438 byte By vidhi_dwivedia at 2007-10-2 8:51:06
we have a java application game starts through applet, which initiates sevral threads. Our poblem is when user close game window but applet loader browser window opened the game is not actualy closed but the threades are still running which causes problems. As ...

Image Backgrounds - .gif

290 byte By Futurisdom_Developera at 2007-10-2 8:54:19
Hi. Im making an rpg, and while trying to add the image of the person ontop, i noticed that, unlike on websites, the background of black isnt transparent. Could someone please help. Is there a color that java reconizes as see-through for a .gif?Thanx in advanced, ME :D

show Transperant image in MIDP1.0

285 byte By prafull_14@rediffmail.coma at 2007-10-2 9:04:36
hello I have one transperant png image . I have to show this image on canvas. but the problem is that the background of this image is white.I want Background color as the image background....is it possible. anyone knows about transperancyPlease reply

Software downloads for Java Game Development

411 byte By mninawa23a at 2007-10-2 9:05:31
Hello GuysI have this idea in my mind and it has to be implemented into Mobile.I decided to learn how to do java game development.What i need is your help.Where can i get a Software for Development and Tutorials to help me understand the Fundamentals of java games development.I only know Window ...

Inner class problems

734 byte By Aviva at 2007-10-2 9:06:50
hey, i want to ask about a weird problem i had lately. i am currently creating a startegy game and i got lots of problems of accessing memebers and connecting the implemention of all of the class.now i am having a problem because i took one class and insert inside another class, so the ...

Death punishment to my cpu using infinate repaint()...

722 byte By Aviva at 2007-10-2 9:11:04
Hey people, lately i was programming my project and i saw something very weird. i have a map for my game, and i allways see the light flashes of the repainting. my computers thinks alot and i didn't even finish creating the game.Now, from what isaw from blizzard games and such (sorry for this ...

rpg

138 byte By MR._Jamesa at 2007-10-2 9:17:19
Im trying to make an rpg game and trying to insert some 3d objects frommaya 6.0 and need help.all help is appreciated

Direct access to the keyboard?

2007 byte By insectilea at 2007-10-2 9:29:16
Hi all -I'm having some trouble because I'm making an application that I want to run on all platforms. I'm creating it on OS X, but I want to have it run on Linux as well.The problem, which I'm sure at least some of you are aware, is that in Linux (at least in KDE) the 'key repeat' ...

Is there a way to detect two keys at the same time?

95 byte By Miraclesa at 2007-10-2 9:34:51
Is there a way to detect the keys if the user is holding two keys down at the same time?

Open GL question

638 byte By fonzia at 2007-10-2 9:37:50
Can anybody tell me what is wrong with the following code? if(sphere_posx>=320){ gl.glTranslatef(sphere_posx,sphere_posy,sphere_posz);drawable.getGLU().gluSphere(cylinder_obj,20,20,20); sphere_posx-=0.4; }else { ...

cannot open chess applet in yahoo

1114 byte By tredoucea at 2007-10-2 10:12:55
i am having an issue with yahoo chess ( my fave game and i cannot seem to be able to access the rooms for it.i can pick an actual room like the " rat pack " but it says " please wait while the applet loads (could take 3 minutes) if it does not click here " well it gives me that good ol broken ...

2D Graphics tutorials

247 byte By CoMaa at 2007-10-2 10:16:22
Hey guys, i want to write a 2D FPS. Unfortunatly i dont know much about this sort of programming (i do java at universtiy, but its all swing). Does anyone know of any good tutorials in 2D graphics handling , animation etc?Thanks Dave

virtual world and war game

107 byte By jonathanz1980a at 2007-10-2 10:23:50
I am looking for a java engine/framework to develop virtual world and war game. Any recommendations?

ploblem Bomberman

179 byte By sonic02ita at 2007-10-2 10:34:17
Hi..How to make the 4 way of bomb and continue bomb in the game like bombermanplease help me....if ((keyStates==FIRE_PRESSED)){ ?}

Active rendering and lightweight components

1043 byte By logic_bomba at 2007-10-2 11:00:06
I am writing a Java game which must use active rendering. I have a JFrame with the following inside:1) An area where game sprites are drawn2) Two JPanels with various swing components inside each of themI can draw my game objects without problems, but I can't figure out how to paint the swing ...

newbie college progammer needs help!

758 byte By Kruser14a at 2007-10-2 11:03:46
ok, I'm making a basic gui for a black jack game I've made and I have a JTextField, called betAmt, made for people to input their bet (betStr), and since the textField returns a string, i have a variable, guiBet, that is set to equal the int parsed betStr:guiBet = ...

Full screen problem

173 byte By conscripta at 2007-10-2 11:11:00
Why the method drawImage() is not working with full screen. Everything else works perffect but when I try to draw an image nothing shows on the screen. Thanks.

Problem with Repaint()

4222 byte By Kurasua at 2007-10-2 11:11:39
Hi, I am reletively new to Java programming. I am trying too make a game with a few people, and we have a minor problem. When I run this java applet, I get a horrible white line in our images when I repaint. I know there has to be a way to fix this, because it makes it look so choppy. Is there ...

Keyboard listener don't work!

4114 byte By hannesruns@hotmail.coma at 2007-10-2 11:28:38
The code:private void this_keyTyped(KeyEvent e){if(e.getKeyCode()==e.VK_ENTER) // this is just a test{jLabel1.setLocation(new Point(x--, y));} else{System.out.println("\n Error!");} }do not work!It moves when:private void this_keyTyped(KeyEvent e){jLabel1.setLocation(new Point(x--, y)); }What ...

Non Graphical Game?

263 byte By Romishua at 2007-10-2 11:37:56
Hi, I was wondering if it is at all possible to make a non-graphical game with the java scripting program. I've seen so many posts about graphical games.. also, if there is a language that fits more with non-graphic interfaces (text based), please say so.

JOGL questions

1672 byte By aRyan316a at 2007-10-2 11:42:31
Hi everybody! As a Java game developer, as you would imagine, I have become very interested in learning about JOGL. After performing recommended installation instructions and compiling/running some demo's, I have spawned many questions.First of all, how big of an FPS advantage is there to ...

Problem Handling Multiple Keyboard Events

2858 byte By DMTNTJGDa at 2007-10-2 11:55:53
I am currently developing a small-scale game, in which I have recently discovered a major problem regarding keyboard events. In my game, I have a player (represented by an image), which can be moved through the arrow keys. However, when a single arrow key is held down, and then the user presses ...

bouncing squares, embarassing question

1597 byte By RochaMeloa at 2007-10-2 12:03:13
Hello,I'm a newbie programmer in Java, and in had a quite silly problem when making a game, maybe you gentleman can type one word or two, just to point me the right direction, please.The game consists in a series of squares with letters inside, which are suposed to bounce when touching each ...

Please help me figure out how to use a listener.

2586 byte By PirateXinga at 2007-10-2 12:04:57
import java.awt.Point;import java.awt.event.*;public class LineListener implements MouseListener{private Point current;public void mouseClicked(MouseEvent event){current=event.getPoint();} public void mousePressed(MouseEvent event) {} public void mouseReleased(MouseEvent event) {} public void ...

Simple Grid/Tile based layout

758 byte By curiousdevelopera at 2007-10-2 12:05:30
I am trying to create a simple game, where there is the human controlled character and some enemy placed in a maze. When you take one move, the enemy takes one move, until he reaches you or you reach the exit.What I'm having trouble figuring out is how I can lay all this out.What I'm ...

arraying a series of colors

1448 byte By bluecarrota at 2007-10-2 12:05:57
hi all, i'm facing a problem working on a matching game and wonder if anybody could point me in the right direction.see, i have a 9x10 gridboard with 90 pieces to match, and there're 45 pairs of pieces of the same Oval look, except with different colors. i am implementing 9 different colors, ...

Questions on 2D

737 byte By Tuckya at 2007-10-2 12:06:05
Hi AllThis is a pretty all encompassing question... I am scheduled to do some work soon on producing a 2D viewing application for seismic analysis. We'll basically be taking 3 and 4 dimensional lumps of data and cutting two dimensional planes through them, drawing rulers etc.I have heaps of ...

keylistener <->graphics and speed problem

1093 byte By Seahadesa at 2007-10-2 12:19:01
hello,ive been trying to make a little java game (cfr bomberman) and im experiencing several problems.the main problem is that the only way i can implement both graphics and a keylistener is by putting them in one class (so both extends canvas and implements keylistener)but i wouldnt really ...

Loading Images in Java Applications/Frames

464 byte By daviddostera at 2007-10-2 12:19:23
Hi, I'm making a game for my Java class in school, I've been looking around for about a week and read through a lot of tutorials about loading 2D Java Images...none of them have worked.Can anyone provide me with a simple source code, or something that will load an image through a JFrame, or ...

Need help with a tetris game

1671 byte By Mag9102a at 2007-10-2 12:27:13
I am working on a tetris game and I am having problems with dropping the blocks when there isn't anything under it. The code works until the end, when it gets to the bottom of the screen and there is one block on the bottom the entire line above it stops. Here is the code:public static int[][] ...

sprite collision controll help

1012 byte By pi3rc3a at 2007-10-2 12:51:38
hey, im trying to make something in my game so that when a user clicks a sprite it becomes in a state of 'activity' and only 1 sprite can be in it at a time. now when a sprite is in 'activity' i want it so when the mouse gets a certaint amount of distance away from the sprite it will send ...

Java and VRML for my project?

835 byte By hftwa at 2007-10-2 12:57:14
Firstly sorry if i'm posting this in the wrong section.I am currently doing a uni project which is as follows"To help new bird watchers develop their skill at spotting well hidden small birds in deep foliage a 2D (or 3D model) will present various simulated scenarios with one or more birds ...

Need help

202 byte By rah23ma at 2007-10-2 12:59:18
I need a group of staff to help make a game we need 3 other people 2 programmers and 1 graphics if you want to join msn or e-mail me.Note you get payed once the game is up and people buy credits.

Sudoku help needed

142 byte By bbrown79a at 2007-10-2 13:02:14
Complete newcomer to java!!I want to create a sudoku java game using a gui. How do i go about this? Whats the best way to start?

how to start game programming

116 byte By AnEeS_Bhaia at 2007-10-2 13:04:42
hiim a newbie to game programming. please help me that how to start game programming?thanx alot

WWW networking / MMOG

2684 byte By aRyan316a at 2007-10-2 13:12:46
Hello everybody out there. In an attempt to never lose interest in the learning aspect of Java (or call my game engine complete), I have decided to *attempt* to learn how to create a fully-functional WWW server in java.Now, with not a lot of HTTP or PHP or whatever experience, I am at a loss. I ...

Making an arcade game run smoothly

610 byte By WookieRebela at 2007-10-2 13:20:37
Okay so I'm making a mario/ adventure game with sound (I'm using javax media). I'm having issues with my sound being smooth as well as graphics. I was wondering if their were any good reads on efficient game programming. When I started making the game it ran smoothly, but as I added a layer ...

Image caching causing problems

1027 byte By WildFirea at 2007-10-2 13:21:38
I am making a Java based game. I'm using a mixture of static and animated gifs (things should switch to animated gifs now and then e.g. when something explodes).I am using Tookit.getImage() to get images, e.g.Toolkit kit;Image image;image = kit.getImage("images/Explode.gif");This caching is ...

Switching Screens Speed?

16437 byte By Melosa at 2007-10-2 13:38:26
Hello everyone again,I'm pretty new to programming in Java and I'm getting an error in my program. The program runs fine but it's slower than I wanted. The Windows Consol does not give any errors. The program displays a title screen of a game I'm making with background music and a button. ...

3D Game Programming

415 byte By NickyP101a at 2007-10-2 13:39:02
Hey all,Im using Java with OpenGL (using lwjgl) to create a 3D shooter. Its come to the time where i need to implement some 3D models into my game, ive found some good ones on ithe internet in .3ds format. i have no idea how i can implement these models into my game?Im really not sure what ...

How can you increase the effiency of a tetris program?

3045 byte By Mag9102a at 2007-10-2 13:49:44
Hi,I have been working on a tetris game and its starting out ok. The only problem is I can't speed up the timer that will drop the blocks one space. When I go faster then 1 second on the timer, the program skips spaces at random intervals. I think the program might take to much time processing ...

Problem with writing a Line to a Data Stream

906 byte By Logrosa at 2007-10-2 13:50:03
I am writing a server <--> applet type of game. I want to send player actions as strings that I can parse for neccessary data. First I used DataInputStream and DataOutputStream, but I found that the readLine method of DataInputStream is depricated and sun recommends the use of ...

Help with sound in games

457 byte By alex_zak_ila at 2007-10-2 14:01:16
Hi.I recently started programming games in Java, and distributing them on the web.I have a problem with sounds: wav sound files take far too much space, while I can not manage to get Java work with mp3 files.I have heard that there is a package or something that makes Java work with mp3 files, ...

3d submarine game

286 byte By raven92a at 2007-10-2 14:02:08
Hi everybody!i am working on a JOGL (openGL) supported 3d submarine game,programmed in Java.If you want to have a look at a pre-Alpha version, take thefollowing link: http://www.rz.fh-ulm.de/~hasbarge/greet.htmhave a nice day!raven

Help for simple JAVA game

19131 byte By Les1984a at 2007-10-2 14:21:05
I am having trouble with a JAVA blackjack game I have been making for a school project and it completely stupifies me.When I run it and it comes to the point were it should calculate your winning or loses it comes up with completely redicules numbers.I want to appolagies for the messy ...

Image loading problem on internet Explorer

705 byte By srikanta at 2007-10-2 14:21:49
Hello EveryBody I am doing an java game.My starting class is a class that extends JApplet.Then I am calling a class that extends JFrame.Then i am calling a class which extends a canvas.In the constructor of my canvas class i call a method loadImage(),which loads all the images used in my ...

Advice on side scrolling

646 byte By uraknaia at 2007-10-2 14:23:59
hi,I'm thinking of making a side scrolling game for my final project (either platform game or side scrolling shooter).Before I formally choose the project I want to make a small simple demo just to get in perspective the scale of what I'm letting myself in for.I'll probably be using JPanel ...

WAV's

491 byte By Melosa at 2007-10-2 14:31:06
In my game, I'm running WAV's but notice how much memory it takes. Thus I tried to run MP3s and looks for source code on google but couldn't find a working way to do it. I then decided to take a look at the source code, but they were many, many large classes. Is there an easier way to do ...