SMS Payment System Developer Required

1377 byte By freddy83a at 2007-10-1 10:20:59
Hi,I will be having a presentation in a few weeks on SMS wireless payments, and would require a practical demonstration of the system to a few students.The small system I would want designed should perform the following functions;Usage Scenario1. User indicates the desire to pay for a content ...

Thread and keypressed

3677 byte By Evil_Stonea at 2007-10-1 10:23:34
Hello forumI am a new developer and i want to ask something!I am doing a simple game something like space invader but for the alliens and my spaceship i am using images!until now no problem!i have put action listeners for the movements of the spaceship and it is ok!I want the opponents to have ...

Timing Animation Events

658 byte By deincolaa at 2007-10-1 10:24:30
I'm making an applet game, and I want to be able to time certain events , specified at my interval. .Thread blah = new Thread();try {blah.sleep(time);} catch (InterruptedException ex) {}^ doesn't work, because when this new thread is paused for x amount of time, the main thread in the applet ...

Drawing on a JPanel

6711 byte By BobDoleLovesYoua at 2007-10-1 10:29:59
Ok, I have figured out how to draw a grid on a JPanel. Now, I want it so that when a person clicks on a square, it changes the color of that square.But, all the tests that I have done to try to do this have failed. If someone can point out how to do this that would be great. Here is the code I ...

Threading

78 byte By Antony_Jestoa at 2007-10-1 10:30:11
Does JAVA support threding of functions instead of classes? if yes how?

Need help with card game

577 byte By nganlya at 2007-10-1 10:33:11
Hi,I need help with a card game for school project. When the user click on a card, I would like to card to move up a little as a way of saying the user selected the card. Eventually, the card will get played and disappear and moved the the playing area. But in general, here is how I draw the ...

Images not displayed properly. Any advice on that?

3208 byte By Vasilis23a at 2007-10-1 10:38:01
Hi,I found the following code inside the forum and i'm trying to understand it.It appears to be a problem though. In particular the images(chess-pieces) are not displayed properly. The background of the gif images should be transparent but is not. Any advice?ThanksHere is the code:import ...

Not creating image properly

1222 byte By pArsEda at 2007-10-1 10:39:47
I'm trying to store images in an array so I can paint them to the screen later. I use a class I call FileLoader to return an ArrayList of files that contain the image data. My problem is that when I use the Toolkit to get the images from the file, the image height and width are incorrect (-1). ...

How to get started on java applet client/server game?

383 byte By nganlya at 2007-10-1 10:44:16
Hi,I've googled, but didn't find any useful information about creating java applet client/server game. I've followed the example of Client/Server Tic-Tac-Toe Using a Multithreaded Server in Java How to Program from Deitel, but I when I tried on Applet, my cliet doesn't communicate with the ...

Sun Microsystems, are you listening?

1022 byte By Ronald_Wa at 2007-10-1 10:47:36
I've been going through many of these posts on this message board only to notice that so many Java and would be Java programmers are having the same problem with animation as I am. Many of the problems seem to stem from the Graphics.drawImage() method. Simply put, we are asking the JVM to draw ...

Anime Pictures

162 byte By AnEeS_Bhaia at 2007-10-1 10:49:42
Hi How to create anime pictures for games and which one is the best and easy software how to use them in java?plz helpthanx in advance

Looking for inspiration

356 byte By Ronald_Wa at 2007-10-1 11:01:56
Does anyone have a link to a good (as in smooth graphics) Java game written with only the Java API and tested on Linux? An applet would be nice, but I would love to see any game that runs great on Linux. I'm not looking for source code per say, just proof that Java/Linux game programming is ...

Type Def's

230 byte By deincolaa at 2007-10-1 11:03:35
Are there any benificial differences between type defs, and regular variables?I havent noticed any major differences, besides the fact that in every game applet source that i have seen, they are used.Comments?

Object vs. Relational DB for Embedded Games

124 byte By SoulTech2012a at 2007-10-1 11:08:34
I'm looking for input, pros & cons, and whatever docs/articles anyone can provide to help me make this decision.

L. Squad

230 byte By stridmanna at 2007-10-1 11:17:17
Dear friends!I continue the programming of my L. Squad project: http://stridmann.narod.ru/java/lsquad/Any suggestions are welcome!And question:How to make the explosion picture dynamically?

Background help

264 byte By fipilicaa at 2007-10-1 11:19:14
Hello everyone!I wonder if there is somebody who can help me with the following question:I want to get what is currently draw on a jpanel and then set the result as "background" on an other jpanel. Is this possible?Have a beatifull day!

I would like to make a screen saver in java.

206 byte By gassimbea at 2007-10-1 11:35:35
I would like to make a screen saver in java. But i do not find in the appropriate documentation classes.Can you help me.My screen saver may ask a password when the user want to exit it.

How to detect whether the mouse is moving outside the Frame?

205 byte By perfectlifepana at 2007-10-1 11:35:41
I am now developing a game which need to detect if the mouse is moving, but it also need to detect if the mouse is moving outside the game frame. Does anyone help me solve this problem?hank~~

Trouble with File erasure.

483 byte By Morgan_Aa at 2007-10-1 11:38:13
File file = new File(filename);file.createNewFile();in = new BufferedReader(new FileReader(file));out = new BufferedWriter(new FileWriter(file));When I call this code, the existing contents of the file in question are completely erased. Can I avoid this in some sensible way? ...

Help needed with Game AI - cash waiting

576 byte By buddyholly83a at 2007-10-1 11:45:12
Hi everyone,I have created a game (java applet). Works fully, and has some basic game strategies, but I need to implement some complex AI strategies - such as minimax? minimax(alpha-beta)? A* ? End game database? - I need any two.If you are good with this sort of stuff it could be done in 3 ...

very simple 2d side scrolling collision data

1369 byte By Wolfsenshia at 2007-10-1 11:54:33
hey everyone, I have a pretty simple question. I am making a very very simple game for my (highschool) programming class for my final project and I need some help with the collision data.I know for a fact that I barely know enough to even begin a simple game, but I have to learn sometime. The ...

Chess game!!!

127 byte By divs444a at 2007-10-1 11:55:07
HiCould anyone give me a source code for 1 player chess game in java windows programming(not applet programming).

Please Read - Im stumped

27833 byte By NickyP101a at 2007-10-1 11:55:24
Been working on this game for about 2 months now, i work on it when i get free time between high school and sport etc etc.Its a 2D Tiles based multiplayer shooter, everything works as it should at this stage, but my FPS is well below what i would like and probably require.Previous to adding ...

Min-Max help. StackOverFlowError

13396 byte By buddyholly83a at 2007-10-1 11:58:58
Having trouble with my minmax algorithm for my game. Keep getting StackOverFlowError - possible due to too much recursion? If it is too much recusion - ie the game tree is too vast what should I do?This is just for a Dominoes game - so I didnt think it would be that complicated :SAny help / ...

Line Intersection Detection

810 byte By corruptusa at 2007-10-1 11:59:35
Hey guys!I'm just wondering if anyone could help me with detection an intersection of two lines/lines segments.Say i've got the end points of the two lines, i want to write a function such that it'll only have to return boolean (true/false) if and when they intersect. I.e. something like : ...

Space Invaders problem

4706 byte By titleoflibertya at 2007-10-1 12:03:42
I have arraylists of the shots and the enemys. For some reason when I compile its not finding some of my methods that I call using the objects in the arraylists. All of the classes have the methods that it says they dont and they compile, my guess is somehow I'm not getting the object out of ...

HANGMAN - simple code needed. HELP PLEASE!

15032 byte By NiceCupOfJavaa at 2007-10-1 12:03:51
Hello fellow java geniuses! I am currently trying to create a real simple HANGMAN game using java. I have search google for very basic code but have only run into very intricate code that usually incorporates a java applet. I, however am just looking for code that does the basic functions of ...

Best practices for using javax.sound.sampled.Clip?

3672 byte By Trinitiona at 2007-10-1 12:08:54
I've got a very simple Swing-based puzzle game. When the user performs certain actions, I want to play a trivial little sound. So far, I'm using the Java Sound API (javax.sound.sampled). When the actionPerformed method is called, my model is updated, which triggers an event in the same ...

Gaming JVM

419 byte By CthulhuPriesta at 2007-10-1 12:13:22
Just an innocent question, don't throw any rocks... Do you guys think that Java would need an optimized JVM for games, at least the more CPU-intensive ones, or the existing one does fine? I'm not talking about changing the language, but changing the JVM specification, maybe by allowing ...

Game AI methods

331 byte By shanemacgowana at 2007-10-1 12:22:35
I am creating a Dominoes game. I have implemented a minmax strategy with alpha beta cutoffs, are there any other feasible methods i can adopt in creating an artificial opponent. Something like 'end game database' but can't see how i would implement that in the game of dominoes?! Any help or ...

Hi scores with php

1993 byte By captncraiga at 2007-10-1 12:36:03
Ok, i have some games and I want to be able to call a php script, pass in the user's score, and retrieve the high score. I was researching this and I found the following code in this forum:try {URL url = new URL(codeBase, "../otherFormName.php");URLConnection connection = ...

PacMan and His Many Friends (Ghosts)

10229 byte By Sangea at 2007-10-1 12:47:27
Well, my friend and I are working very diligently on a Pacman game and had it working perfectly... with just PacMan. We have never really explored or used threads, and have only used buffering sporadically.So we decided to use Threads on this project of ours, since we wanted the Ghosts each to ...

Java for PS2/Game Cube/XBox?

328 byte By genaro-rebolledoa at 2007-10-1 12:47:31
Hello everyone,I am sorry if this turns out to be a trivial question but, could you please tell me what the current facilities available in Java for game development for the PS2, Game Cube and X-Box? Is there any possibility to migrate from code warrior to java?I do appreciate your answers, - ...

RPG Design

887 byte By Enigma11a at 2007-10-1 12:54:40
I want to create a graphical RPG in java, the problem is I'm really sure how to structure the classes and how to design the graphical system of the game.I'm thinking about making the interface final fantasy-like, but I don't know how to use things like sprites and how to get graphical and ...

using Midi

809 byte By studya at 2007-10-1 13:02:05
I want a midi to be playing during my game. Board is the display class and the driver is simulation. when i run it, i get a nullpointer exception for i think getDocumentbase()here is some of the code for board that uses audioclip.public class Board extends Applet implements KeyListener, ...

changing the screen resolution

1416 byte By SlashOwNsUa at 2007-10-1 13:04:09
hi...I'm trying to show things in a full-screen window - resolution should be 800 x 600it works fine on my computer (Pentium 633 w/ Windows 2000 with an old-*** Video card)I tried it somewhere else (Windows XP w/ Athlon something with an all new Video card)the problem that appears is that the ...

building java game (newbie)

241 byte By sydbarrettoda at 2007-10-1 13:07:22
hi,I've recently decided to try my hand at java again, had some sucess building an asteroids type game, now trying my hand at a version of pacman but am running into a few problems with the constructors for the game entities..

method for playing music in game

431 byte By pcleadera at 2007-10-1 13:14:52
I am working on a java RPG where i have different room objects. I am trying to get the program to play a song for a specific room. The program is an application so the play method for applets will not work. I have the rooms being instantiated and created in a GameWorld class that puts items ...

frames (quick question)

254 byte By t9643a at 2007-10-1 13:17:08
i have a game applet in a Frame.. the annoying thing is when you run it.. u have to click the screeen before u can use they keypad... there has to be some meathod that makes the frame the "active window" so u dont have to click it before playing..

Java help (noob with java)

942 byte By Astrofa at 2007-10-1 13:23:02
ok, there r going to b multiple questions, and please answeri am a noob to java, and was wondering how to put an image as a background (of a JPanel). i am making an RPG (and many people have told me to turn down, and I WILL NOT QUIT UNTIL I FINISH IT!!!!!) it is going to b a simple one, like, ...

Threading Movement with KeyPressed

865 byte By WookieRebela at 2007-10-1 13:23:35
I am creating a 2D sidescrolling game. I use an int to decide which direction to move. I user the timer and timertask classes. As of right now the program is only capable of handling one key press at a time.I plan to increase its capabilites in the future.I cancel the task after any key is ...

PacMan creatures!

6114 byte By hoang01a at 2007-10-1 13:24:29
Hello folks this is the first time posting here. I'm a bit of a noob... ALOT of a n00b at java, i guess that's why i'm doing a course in this, but here's my problem:public abstract class Creature{/*** The size of all Creatures is the same as the size of Game squares.*/private static final ...

HELP ME WITH THIS PROJECT~!

1663 byte By ry4nxkra at 2007-10-1 13:35:15
Hi, I am one of the high school students who are doing java.Please help me with this GamePanel.java:import javax.swing.*;import java.awt.*;class GamePanel extends JPanel{public static final int ROWS = 4;public static final int COLUMNS = 7;public static final int SIZE_OF_DOT = 6;public static ...

Programming plot/dialogue

293 byte By Enigma11a at 2007-10-1 13:48:04
Hi, I need to program dialogue and plot events into an RPG I'm making. I was guessing you would search through and read in files containing all of the dialogue and I have no idea how to represent the plot events since it's not just text.Any advice on this topic would be great.

3D Gaming!?!?

2234 byte By deincolaa at 2007-10-1 13:55:31
Hello, I am pursuing a career in game development. Here's my delimma:Everyone informs me that C++/OPENGL is "the only way to fly" in 3D gaming. That's great and all, but C++ is so much more... odd than Java.What I'm saying, is that Java flows; it makes logical sense. C++ on the other hand, ...

Card game pics?

143 byte By luca3784a at 2007-10-1 13:58:51
Does anyone have a site that has a basic set of card pictures along with some pics of just hearts clubs diamonds and spades? Thanks alot

Jerky Display while threading Movement

465 byte By WookieRebela at 2007-10-1 13:59:12
How do I get rid of the jerky moveent of a character? I have a timertask that does all the action every 30 miliseconds. I also have a javax timer that goes right after the timertask that repaints. My characters move in a nonuniform fashion. I don't think the interaction between the threads is ...

Fireworks anyone?

373 byte By luca3784a at 2007-10-1 13:59:19
Alright well i am trying to fill in this image with a color in fireworks and it only fills in certain points. The image is made up of straight lines and arcs.It is in the shape of a poker table and I am tryng to fill in the whole image with one color, but it only fills in on the arcs from the ...

ok, help needed...... RPG game....

523 byte By Astrofa at 2007-10-1 14:00:31
ok, i am out of ideas. i thought i cud make the player move, by making a grid layout and adding him to the layout, then noticied that it adds based on components, and not like an array (i thought with gridlayout u cud just go and do add(component, 5, 5) but u can't....and i tried adding blank ...

Pathfinding in 2d racecar game

547 byte By funny1234a at 2007-10-1 14:05:48
Hello,I am making a 2d racecar game. The game now works with a single car being driven by a player. I started figuring out how to add some computer players, but I got stuck. Can somebody help me with some hints about what to look for. The game uses bounding boxes for collision detection. Also I ...