Seeking Advice on Game design/Implimentation

1505 byte By avaraxa at 2007-10-1 14:09:21
hey, got a few questions for the more expierenced members who know infinitely more about javax.swing than me.I am part of a group that is developing an old style First Person Shooter game that has to be made inside of a GUI. I turned to swing noticing that it contains ActionEvents that a ...

I'm seeking a job for java game development or the buyer of games

192 byte By George_Leo_Wheelwrighta at 2007-10-1 14:11:49
Hi, there I want to work on creation java game.My the thumbnail is http://www.georgeleowheelwright.50megs.com/And I am ready to listen requirements of the employer.

Scrolling RPG

754 byte By Twistedchaosa at 2007-10-1 14:18:01
I've decided to create a scrolling rpg but Im not sure how it should be designed . should it be based off an array for each individual tile different and then I'd scroll throug hthe images and the charachter moved allowing the main charachter to always be centered. and If i do do that is that ...

how i can solve this proplem

281 byte By azsa at 2007-10-1 14:20:00
hi,,,,,,if i want to move shape (ball) in line(using line eaquation) it has start and end point and this line is not straight for example in cline or otheri can make ball move in vertical or horizontal but that situation i need your help with ittank you

Data Structure(Matrix)

372 byte By shadow_phoenix_Ga at 2007-10-1 14:26:37
Ok I learned how to programm in ASM. So I still think in ASM terms.-Anyway, I am creating battleships game, and i wanted to store the information about ships in matrices. How do I it? If there is a library that i can download please pick the one where I can do int a =A.GetMatrix(1,2); //A is ...

layouts....?

577 byte By Astrofa at 2007-10-1 14:33:37
what layout is good with changing locations of the object in it.....like i am making an RPG (most of you have probably seen my other threads), and i am using setLocation to move the character. the problem is, that i need to know what to set the layout to. if I use null as the layout, then ...

Anything more than repaint(); ?

169 byte By shadow_phoenix_Ga at 2007-10-1 14:40:00
When I do repaint it flickers. Is there any way to "partially" repaint(); ? Or must I do g.setColor(Color.white);g.fillrect(0,0,1000,1000); ?

JPANELS

91 byte By GOTENSa at 2007-10-1 14:52:05
DOES JAVA HAVE JPANELS IN WHICH I CAN MAKE A MULTIPLAYER ADVENTURE GAME OR A 1P GAME

JFRAMS OR JPANNELS

319 byte By GOTENSa at 2007-10-1 14:54:30
HI,I HAVE A QUESTION IS THERE A GOOD SOURCE TO GET A JFRAME OR PANNEL PROGRAM,IM STARTING TO MAKE A MEDEVAL MULTIPLAYER GAME(LIKE RUNESCAPE).I HAVE THE TYPES OF MONSTER, QUESTS AND ITEMS TOWNS EVERY THING WRITEN OUTH I JUST NEED TO FIND THE RIGHT PROGRAM ANY HELP I WOULD LOVE. MANY ...

Background images

949 byte By GardianZa at 2007-10-1 14:59:52
Please help me out. I'm trying to make a background for a game. But I don't know how to avoid repainting it everytime (plus it is randomly generated so I don't know how I would do that either).I want to store it as an image and then just paint that.But it doesn't work:boolean b = ...

How to remove a number in a random

465 byte By wildmatta at 2007-10-1 15:05:51
O.k. I'm using a Random ftom java.util.Random and just wondering how to remove a number....let em explain my program..I have buttons lined up 5x5 with numbers on them and a math question on the bottom, you must click on the correct button...that's it....but cause im running on an array of ...

method calls or direct access to variables

1239 byte By Amarinoa at 2007-10-1 15:21:25
Hi all,how much of an overhead in terms of speed and effciency (in terms of cpu time) is it to call a method from the same class to do something as opposed to defining what you have to do again in your other method...basically which is better and/or faster out of the following two ...

Multiplayer Game

17331 byte By JavaUser1975a at 2007-10-1 15:24:56
Hi,I have written a 2 player distributed TicTacToe game and am having some problems converting it into a multiplayer game. I have tried countless methods to try to do this, unfortunately to no avail. I have attached the server code with the hopes that someone might have experience with this and ...

Poker Game URGENT HELP

277 byte By mjrox88a at 2007-10-1 15:28:16
I'm in a computer science class and I have to write a poker program where the client plays a "robot". I already have everything nailed down except the code for the "robot". If somebody could help me write the code for the computer player it would be greatly appreciated

How can I download java game?

596 byte By Victor.Deva at 2007-10-1 15:46:20
Hi everyone, sorry for my english, it is not my native language.I have Game.Jar file, which is java game for Nokia ,and I uploaded this file into database.Now I have a filed, type of byte[] (array of bites)next, I generate URL like http://site.com/getfile.xxx?id=10, and then user go to this URL ...

Half a Fighter Game

546 byte By Twistedchaosa at 2007-10-1 16:00:41
Hi, im trying to build half of a fighter game. basically what I mean is I wan't to create a game where you choose your charachter . Then your placed on a stage where you can perform movements and powers and such without fighting an opponent. The trouble i'm having is .. how should I set up my ...

Time precision in seconds

208 byte By 786a at 2007-10-1 16:03:54
Hi All,I want to show time in seconds in the format( eg 2.034323 sec) of 6 decimal places. but i think so java only work for 3 decimal places(eg 2.034 sec). can any body help me in this respect.

Fast Forward n Fast Rewind

318 byte By 786a at 2007-10-1 16:03:55
Hi All,I am developing an animation tool in which there will be buttons fast forward and fast rewind same as in the media player. My fast forward and fast rewind of animation is working well but it is not synchorized with the slider moving while animation is going on. Waiting for a nice ...

How to Synchonize Time with the Animation

679 byte By 786a at 2007-10-1 16:03:56
Hi All,I have a problem in animation. The problem is that i have developed an animation in which the data is read from trace file contains nodes id, time of sending packet.Nodes(in the shape of ovals) are moving on the canvas and they send packets to each other. how to send the packets at the ...

Precision in seconds

5748 byte By 786a at 2007-10-1 16:03:58
Hi All,I want to show time in seconds in the format( eg 2.034323 sec) of 6 decimal places. but i think so java only work for 3 decimal places(eg 2.034 sec). can any body help me in this respect. Following is the code for the time in seconds for 3 decimals. can anybody help me in getting time in ...

Problem with animation.

1193 byte By gjbeyla at 2007-10-1 16:09:43
In the space game I'm working on I'm starting to run into some issues and wonder if there are ways around this. I have 3 layers which all represent stars in space. The first layer (the bottom-most) contains no transparency. It moves at around 15% of what the ship moves. The next two layers ...

How to speed up moving card animation?

514 byte By popivana at 2007-10-1 16:17:06
For a card game animation, I'm using a moving window (which I move using setLocation). The animation seems slow, which becomes obvious when I combine it with the rest of the interface. I was wondering whether someone has some ideas how to speed up the animaiton.I also noticed that on Windows ...

Hangman

1668 byte By mokogotia at 2007-10-1 16:17:49
Please can somebody help me with the hangman code here.I wish to update the strClue after the first guess such that it icludes the letter guessed. This is just the section that I need help. The rest of the classes have been worked out.The code was done using Netbeanspublic class HangMan {char ...

Destroyable Terrain?

94 byte By IAmLegoBoya at 2007-10-1 16:21:30
I am wondering how to do destroyable terrain in a fast and efficient way like in Liero?

Layers

506 byte By Caseyba at 2007-10-1 16:22:23
I need to update things on the screen while keeping a background image intact. At the moment I am repainting the foreground and background, but I know there has to be a better way!Graphics2D g2d = (Graphics2D)g;g2d.setPaint(mapPaint);//set image to paintg2d.fill(mapRect);//lay down ...

need help with connect 4 game

4783 byte By mdog622a at 2007-10-1 16:29:13
hi, i need help with the method that checks for a connect 4.everything else works fine. here is the code please help me i need to finish this by tommarrow. thank you.-- import java.applet.Applet;import java.awt.Graphics;import java.awt.*;import java.util.ArrayList;import java.awt.event.*;/** * ...

need help with a part of my connect 4 program

5034 byte By mdog622a at 2007-10-1 16:29:17
i have tried the check for 4 in a row and cant figure it out. here is the code. please give me your imput. thank you. the method will have stars next to it.--import java.applet.Applet;import java.awt.Graphics;import java.awt.*;import java.util.ArrayList;import java.awt.event.*;/** * Class ...

Flicker problems with applet game display.

3770 byte By Morgan_Aa at 2007-10-1 16:36:01
Tried this out on the applet development forums, but no luck so far. Here's the skinny: http://alfryd.glwb.info/That's the running applet (may take a while to load.) It all seems to be fine, except that there is some horrible species of flicker that crawls along the bottom edge of the viewing ...

I want to make my first game - how to start?

509 byte By keeta at 2007-10-1 16:51:47
Hello I want to make a game like pong.I never made a game before and I hope someone can give me some tips and tricks.I want to make the game for the computer and for the mobile.At th einternet I saw some books about games making for the computer but not for the mobile.Are there good tutorials ...

3D Modelers

227 byte By Seraphima at 2007-10-1 16:55:24
I'm not quite sure how to make what is produced by a 3D modeling program I have (Alias's Maya) work with games.Can the animations created by these programs be used in games? I don't know how, if it's possible.

frame rate in a fullscreen game

599 byte By lodevalma at 2007-10-1 17:00:43
hello,I'm developing a full screen 2d action game and it's about to be distributed.but I don't know what is the best way for managing the framerate of my game loop.I tried some code found on the web and on this forum but nothing seems to work properly on different machines, some are too fast ...

Using ANSI-only graphics in a game.

854 byte By Commodorea at 2007-10-1 17:07:53
I'm wondering what would be the most effecient, expandable, and platform portable way of diplaying text if it were to be used in a game. The basic game I'm making is in the style of the various Star Trek games out there. It is important that the charaters don't squash, that is, everything ...

Game Development Technical Materials

124 byte By kelina at 2007-10-1 17:21:11
Hi,I collected a great deal of Game Development Technical Materials http://www.freewebs.com/gamedev_res/

Does java really suitable for big games?

47 byte By sumbowlonga at 2007-10-1 17:22:33
Does java really suitable for big games?

Simple animation question

5731 byte By Whinda at 2007-10-1 17:31:49
The below code is what I'm using to create a very simple friction test application. When run, it should show all steps in the animation, yet it only shows the final position of the object. I can't find any errors. Please tell me if you find a solution.import java.awt.event.*;import ...

Networking

751 byte By Twistedchaosa at 2007-10-1 17:32:42
If i wanted to create a small applet in which I control a ball using keys where another computer connected to me can also see the ball move, and maybe that computer could interact with the ball also all in real time how would I perform this ? is it done using sockets where you create a socket ...

a quick question about BufferedImage

288 byte By MBRpascoea at 2007-10-1 17:33:04
In 1.5 if you just instantiate a BufferedImage eg.buffer = new BufferedImage(width, height, BufferedImage.OPAQUE);is this image hardware accelerated or is it still better to use thegraphicsConfig.createCompatibleImage();methodthanksmichael

ObjectInput/OutputStream problem

2710 byte By TriSwordsa at 2007-10-1 17:40:08
Ok I have been making a little card game, and have started to implement a client/server idea into it. [CODE]private void recieveData() throws IOException {try {rec = (Packet) input.readObject();} catch (ClassNotFoundException e) {System.out.println("Object not a packet");} catch ...

Game Speed

234 byte By billaa at 2007-10-1 17:55:21
Sorry im a complete noob at this but ive been told loading gif or other types of files to use as graphics can slow down a program considerably; Im migrating to java from ActionScript and this is a scary thought. But is it true;

Keyboard input without text boxes

349 byte By Nonymousa at 2007-10-1 18:00:42
I have a class that extends JPanel and uses the Graphics class to display stuff on the window, but I'm having trouble finding out how to get keyboard input without making a text box or anything like that. I need to be able to get keyboard input, character-by-character, from the JPanel I ...

i need help

176 byte By adamrw91a at 2007-10-1 18:00:44
ok i just started java and i have some previos software development knowledge. i havent downloaded a java program yet because i dont know wich one is the best. plz help?

JOGL forums

155 byte By MBRpascoea at 2007-10-1 18:01:12
The link on the JOGL home page for JOGL forums seems to be dead. Can anyone reccomend a good forum for discussion of JOGLthanksMichael

line to line intersection point

208 byte By Corvinexa at 2007-10-1 18:02:03
If i have a line with end points ( x1 , y1 ) ( x2 , y2 ) andanother line that crosses it, and its end points are ( x3 , y3 ) ( x4 , y4 )how do i get the intersection point ( IPx , IPy ) ?

GTGE - Java2D/OpenGL Game Library

892 byte By javaweirda at 2007-10-1 18:07:27
Golden T Game Engine (GTGE) v0.2.3 is released.GTGE is an advanced Java 2D Game Engine that support OpenGL via LWJGL/JOGL that focus on ease to use and simplicity. http://www.goldenstudios.or.id/products/GTGE/What's new on v0.2.3:- support isometric background- new splash screen- support ...

what happend to javagaming.org?

140 byte By zuloooa at 2007-10-1 18:07:32
hithis is a bit offtopic but did anyone here use to participate in javagaming.org forums and do you know why the site is down?

question about angles

428 byte By MBRpascoea at 2007-10-1 18:11:23
If I have 2 points (x1, y1) (x2, y2). Is there a way I can get the angle form horizontal of the line without using Math.atan as this seems fairly slow. Basically i am drawing a lot of lines and I need to get each angle from horizontal so i can rotate by that amount to draw other graphical ...

can you guys test my game?

499 byte By ptom98a at 2007-10-1 18:12:42
Ive spent an age programming this game (diabolika 2) i basically loved the original so much i decided to try and code my own version in a java applet.could some of you guys test it for me and let me know if you find any bugs with it, you know what its like when you program a game, you know how ...

can someone help me if they have the code for a pathfinding game like below

1148 byte By rudeboya at 2007-10-1 18:15:13
A computerized minefield is divided into a 10x10 matrix. The position of the mines generated at random. The number of mines is provided as the command line argument and it is a value between 1 and 12. When the value is not provided at the command line argument, the program should generate it ...

Polygon Reduction / 3D Model Use

714 byte By Cyripha at 2007-10-1 18:34:16
I'm not sure whether this is the right forum to ask this, but does anyone know of an effective freeware 3d model polgyon reducer? My current character meshes have around 35,000 polygons, but I have a feeling it's too high.Also, I've recently been modeling in Lightwave's .OBJ; since the .OBJ ...

im new at this can some one help?

132 byte By uzumakixda at 2007-10-1 18:38:49
my friend made a game and i want to also but he wont help me, can anyone help me get started and get the hang of this please?