if so, what would be the minimum specs of the development computer and would i use an applet? if i was designing the game with a console in mind, what would be the best route?
Is it possible to directly read the status of pressed keys without KeyEvents? Holding a button causes KeyEvents to be repeated according to the typematic rate.I'd like to read the keyboard status within a thread 100 times per second or so.Thanks.
352 byte By
PPacheco at 2007-9-27 15:03:20
Hello Java programmers,I'm building a multi-user chess site. However, the client/server code that I'm using is not user friendly. Are there any client/server chess programs available (code, compiled, or executable) for a multi-user chess site? I've already tried VChess/S. Seitov.Thanks for ...
Hi,Whenever I try to run any Java programs or simply compile a java program, windows XP gives GPF error. I am talking about Windows XP professional and as well as Home Edition. How to fix it, if any body can help me.Thanks.NJana..
Hi! :-)I'm just learning :-OI figure I'm going to learn java better by making a fun game! So, i'm going to do it all in baby steps.My first question, is how do I import a .gif file and give it a variable or class value? Like with a JOPtionpane, whatever comes in from the users input gets a ...
379 byte By
markkid at 2007-9-27 15:10:00
I have a screen that has a background image and several image objects overlayed on top of it that are movable. Would it be better to just repaint all objects when one is moved, or just repaint the background/other images in the area of the move? I've been programming in Java for 2 years now ...
588 byte By
0004871j at 2007-9-27 15:12:58
Hi,Developers:Does any one know how the following array work? Is oL long data type?(I think this array is used to locate the 26 letters in checkDictionary class )private long pointers[] = {0L, 31484L, 60934L, 0x1c917L, 0x2613cL, 0x2c13aL, 0x31d2bL, 0x35d78L, 0x3a2a3L, 0x41292L, 0x4233fL, ...
Hi.I tried out the double buffering code from the sun java developers site.All it does is overwrite the update method to create the buffer image, call paint with the image's graphics context and copy the resulting image to the screen.A search an google suggested the same procedure.My Update ...
515 byte By
Virum at 2007-9-27 15:22:55
Any opinions about OpenGL4Java? I want to make a 3D game in Java using OpenGL. OpenGL is for C++, but there is a package or something called OpenGL4Java (I think it is put out jau software, ore soemthing like that, I don't have time to look it up now. Anyway, does anybody have any opinions ...
337 byte By
Jkahler at 2007-9-27 15:34:08
I keep hearing great things about JAMID, Java Grand Prix, and others.Are There any projects that are of a good quality, not applets, that are open source so I can learn from them ?I would eventually like to write a 3d engine in java using gl4java or java3d. Any pointers on that also ?Thanks.Jay ...
i cant seem to get my chatclient or chatserver to successfully connect to my server. even if i do a local host 127.0.0.1 thing it STILL says that it cannot connect.the server is a stand alone.is there a general place to install the compiled files?im SO frustrated right now.im writing a card ...
3026 byte By
f3rn4nd0 at 2007-9-27 15:35:26
Hi,ok i've:1-Loaded image s.2-drawn image s into image backbuffer.but the paint method throws out NullPointerException. Neither the backbuffer, or g, or this are null, so i think i messed up while drawing the image s to the backbuffer, but i'm not able to figure out what exactly is wrong ...
478 byte By
Rabbi at 2007-9-27 15:37:32
I have finished a Space Commaders game using java that can be found at http://www.geocities.com/ddmusc/SpaceCommanders. It works well on my computer but I have tried it on another one and didn't work. I don't know exactly what is the problem. Can somebody test this game on his machine and ...
479 byte By
Rabbi at 2007-9-27 15:37:33
I have finished a Space Commaders game using java that can be found at http://www.geocities.com/ddmusc/SpaceCommanders . It works well on my computer but I have tried it on another one and didn't work. I don't know exactly what is the problem. Can somebody test this game on his machine and ...
i want to write a simple game which would have multiplayer mode over network. (maybe lan or internet) so i have many questions...how to write network multi-player game? without serious lagging (not due to network) but a lots of data to transfer?how to transfer data? multi-unicast/multicast? ...
2047 byte By
wololow at 2007-9-27 16:03:53
I made this simple card game which you can checkout at http://www.koutbo6.com I used AWT components and used Panels for drawing the cards and the main game panel has a null Layout. It runs perfectly on all java enabled browsers ... except for IE on windows XP. I came across a problem where the ...
842 byte By
LowRida at 2007-9-27 16:07:37
Hi I've developed a game similar to wheel of fortune but is stuck with a piece of code ....can some point me to the right direction. What I need is to stop the player once he/she has press all the letters that spell out the word. This is the algorithm when the user presses the letter ...
253 byte By
Virum at 2007-9-27 16:09:05
I can't use System.getCurrentMillis, theads aren't acurate. What do I use?ANd when should I use threads? I normally have one that other than main that does the rendering and makes calls to object methods. Is that all I need?Thanks
230 byte By
ren225 at 2007-9-27 16:14:58
Hi,I'm just wondering if anyone's created a game (e.g. a car racing game) with a mirror. If so, how did you go about creating the mirror (i.e. flipping the image so that the mirror showed a reflection of the image)
i am trying to create a applet to simulate the TCP/IPprotocol suite. I want to have two computers on screen with messages going between them. One computer will send a message and the other will send an acknowledgement back, this will have a counter and if the acknowledgement is not received ...
Hi, I was hoping someone could explain the concept behind using an array for a level in a 2d game. The only tutorial I could find on the subject was not helpfull. I do not see how to take the array and create a grid where I could place a character or wall into an array location. any help is ...
294 byte By
ren225 at 2007-9-27 16:21:27
Does anyone know if there are any PC steering wheels that behave more closely to real car steering wheels? The only steering wheels I've seen are steering wheels that only go 1/4 of a revolution either way. I'm looking for a steering wheel that can go at least a couple of revolutions.
12117 byte By
mihalyB at 2007-9-27 16:23:30
I am writing a game with AWT having it as an applet. I intend NOT to use anything outside of Java 1.1For my Game i thought that i ATLEAST need the following classes:MainGame, Level, Unit.I Started writing Level. wrote a fewe methods for it such asdrawGras(int grastype)And started to write ...
I'm a decent programmer but a terrible artist. Where should I go to get textures and models to use in a game? Do I have to hire someone to make them, or is there an easier/cheaper way?
105 byte By
ED_R at 2007-9-27 16:30:38
I know the basic in Java. What Do I need learn to can make 3D games?Thenks for help
450 byte By
mihalyB at 2007-9-27 16:37:49
I have been trying to make a game with AWT and diffent classes..And every time i get a NullPointerExaption i have now posted 2 topics in diffrent forums and nothing seams to make it work...So now i ask.. if someone got a source code file off a game:# Using AWT# Having diffrent classesPlease let ...
759 byte By
f3rn4nd0 at 2007-9-27 16:45:35
Hi,I'm working at fullscreen, i've got a class that extends a Canvas, which will be used for showing graphics. I've found out that when i put code overriding the paint() method to draw images, the images are drawn.But when i put code to draw images *outside* the paint method, these images ...
334 byte By
cbisbee at 2007-9-27 16:45:41
I'm drawing my screen background on a BufferedImage, and then copying it over to a VolatileImage, which is then drawn to the screen.My problem is... when I first render the BufferedImage, it whips right through... No problem whatsoever. But when I write over the data, it's painfully slow. Any ...
Hey everyone. I started coding my first game in java recently, which is an applet implementation of missile command. (before this, I'd only coded a few VERY simple games in VB and VC++)Anyways, It started out great, but I started getting problems like flickering, and even all out crashes(in ...
508 byte By
Olly_W at 2007-9-27 16:47:27
Hi everyone, I've programmed a game as a surprise for my girlfriend's daughter (featuring her as the main character) and if anybody would like to check it out it's at: http://www.geocities.com/chloegameBasically you have to fly around dodging things, and when you die the computer gives you a ...
829 byte By
Virum at 2007-9-27 16:47:59
I am making a RTS game (refrase...will be trying, don't know if I will be able to do it). My big question is how should I make the units have different colors, according to the team. Should I make each image with the available colors? THis doesn't sound like a good alternative, but neither ...
Hello!I'm a Belgian programmer, and I'm looking for all informations about the way to communicate from a computer to another using Java.In fact, I'm implementing a kind of on-line game using a GUI on each player's computer. This GUI sent to and receive from each other all informations they ...
226 byte By
JTeen at 2007-9-27 16:49:19
Anyone know how to get really smoth animation? I'd like some tips so that I won't have jerky animation. Maybe some faster image drawing methods than drawImage? I've done some games before but this has been a problem.
Hi,I created a game in java about 8 months ago or so. This is my first attempt at a game. It is kind of a cross between Missle Command and Asteroids, (Yeah, I know.. another space game). If any of you have the chance please check it outand let me know your opinion. Any feedback, good or bad is ...
486 byte By
LA Onda at 2007-9-27 16:59:43
I am planning to write a game in java that must be multi-platform and must have a very good performance. I am making a kind of rts. This rts will only be 2d. I am planning to get as many moving little objects(pics) within a second as i can. What is the best method in doing so. Performance wise ...
Can anyone tell me, (ie. give me a URL) where I can learn good methods of hit detection/scene management?For the game I'm making right now, I don't need to do anything too complicated (just check if small projectiles are colliding with stuff on the screen), but in the future, I may want to ...
i have a network client/server game. i need an endless loop thread to constantlylisten to incoming connection requests AND another endless loop thread to respond to clients mouse clicks, chat messages etc.i can get them SEPARATELY to work but cant seem to get the appletto start the 2nd ...
423 byte By
cbisbee at 2007-9-27 17:03:16
I put this up awhile back, but I didn't get any comments on it, so I'll be stubborn and try again. I've written a strategy based football game. It was written using 1.4.0, but I've heard that it'll run under 1.3.1... If someone could check that out for me, I'd appreciate it.Anyways, the ...
1022 byte By
yoda23 at 2007-9-27 17:08:51
I would like my Canvas and fade everything that is painted on it and fade it to black. When the character goes to move off the screen, i.e. the road leads off eastward, I want to just fade out and then fade in with the new screen. I've seen some posts using the ...
2192 byte By
zxcqwer at 2007-9-27 17:22:10
a sort of KeyListener without a GUI Component? ( or any trick that will do)?please be patient with my question I can't express myself very well but it's very important.Please help me I need an example how to implement a way to detect some combination of keystrokes in java without any GUI ( ...
410 byte By
guyw77 at 2007-9-27 17:24:40
Hello,I use new FileWriter("save.txt") to write to a new file.Working with JBuilder it was fine.Now I change the environment to dos os, using appletviewer, and for some reason, I get exception on this command, and the exception is:Error -- java.security.AccessControlException: access denied ...
Sorry if I sound stupid, I've never done graphics in Java before.How do I draw an image while leaving pixels of certain colors undrawn?For example, if I have black colors on the image than it won't be drawn, and instead the corresponding parts on the destination surface is shown instead.Or is ...
60 byte By
luano at 2007-9-27 17:54:54
Has Java for the playstation been made available yet?
325 byte By
cbisbee at 2007-9-27 17:59:58
So I have a background map, and I want to draw a ship on top of it. Problem is, when I load in my jpg and stick it on top of the background, the jpg is a square. It makes sense... the jpg doesn't know that I only want my what isn't black. But is there a way I can easily get rid of the ...
715 byte By
mihailod at 2007-9-27 18:06:28
I really like Tetris and I searched the net fora good Java implementation of the original PCgame made by Pajitnov, Pavlovsky, and Gerasimovback in eighties. I played Java on Sinclair ZXSpectrum, Commodore Amiga, PC (DOS/Win versions),Atari ST, Dreamcast and on big arcades and noneof these was ...
What is the difference between DirectX and OpenGL?
Can AudioClip class plays an audio file, "something.wav" of audio format:Microsoft ADPCM. Because, I had a program wihch can plays audio file with format:PCM but it was unable to play an audio format of Microsoft ADPCM. Both audio files are in wave form. Is it becuase there is Microsoft in ...
417 byte By
vanr0 at 2007-9-27 18:11:30
My games were all working fine. All of a sudden cannot access any games. keep getting error java corrupted/misinstalled. really don't know anything about java. Called Aol, no results. had internet explorer 5.0 upgrated to 6.0 hoping that would fix. still a problem. Please help at the end of my ...
254 byte By
princec at 2007-9-27 18:16:52
LWJGL alpha 2 is out, at http://java-game-lib.sourceforge.net/Now with docs and a smidgen of example code on the site.Once again we'd appreciate you having a go at it and see if it's working out the way you'd like it.Cas :)
1261 byte By
ivebug at 2007-9-27 18:19:09
I am writing a network rpg game for the project.Because it is a network game, so i use thread to support multi-user.When i using the string to store the command, and send to the server,it still can work. You can downlod at http://ivebug.tripod.com/new-string.zip(You cannot click the link, you ...