Rummy - Intelligent Agent

1429 byte By gandalfgreya at 2007-9-28 10:03:36
Dear All,Having to program an intelligent rummy agent for a university course. The lecturer has made some muts nuts of an agent we have to outperform.My main problem at the moment is I have an array containing 7 elements, which represnt the cards currently in the agents hand. I have two methods ...

Game feedback wanted: GravityTrap

601 byte By rgeimera at 2007-9-28 10:03:37
Here is the second release of my first game: GravityTrap. Let me know what you think:Java Web Start version: http://www.xmeta.com/games/GravityTrap.jnlpRaw jar file: http://www.xmeta.com/games/GravityTrap.jarCommands are as follows:Left and right arrow keys turn the ship.Up arrow thrusts ...

buffered image with transparency

953 byte By JavaIsGreata at 2007-9-28 10:04:03
This question is actually two parts. Hello I am writing a simple game in which I move a little graphics character across the screen. The character is a car, and the background image that the car moves across is a picture of some mountains. How do I set a transparent color for the car windows, ...

JComponent double-buffering vs. trad. double-buffering in AWT

640 byte By whitepapera at 2007-9-28 10:04:45
Hi there,I'm accustomed to using the following drawing approach:- JPanel, draw everything to offscreen buffer in paintComponent() and then draw offscreen buffer to screen while relying on JComponents' automatic double buffering. Everything is done in paintComponent().Are there any ways of ...

problem with midlet ota download to samsung sgh-s100

645 byte By hjonasa at 2007-9-28 10:10:02
hi, i have the following problem and would greatly appreciate any help: when i put a jad and a jar file on a server and point the s100's wap browser to the jad file it downloads the jad an asks if i want to install the midlet. after klicking yes the phone downloads the jar but stops doing ...

Java and Sprite animation. (why not masking?)

668 byte By JavaIsGreata at 2007-9-28 10:10:59
Hello, I am just learning to use the Java graphics GDI. My question is with regards to sprite animation. I am an old MS Windows graphics programmer, and back in the windows gdi, before you can display a buffered sprite on the screen, you have to create a few mask of the sprite and a mask of ...

Exclusive screen mode

147 byte By Rabbia at 2007-9-28 10:11:06
I want to write a game using Exclusive mode of the screen (ie I take full control of what appears on screen) How can I do this?Daniel

Website

645 byte By nfs_xxxa at 2007-9-28 10:13:31
Hi all,me and my friend created website using servlets,jsp,xml and want your opinion on the flow and fucntion of the website,u people are mostly experince in java and can give great feedback.Somelinks are not working just email which one u find problem with.I will realy appreciate your ...

Swing for Graphics, animation and games

110 byte By JavaIsGreata at 2007-9-28 10:13:49
I am writing a game in Java. Should I stay away from Swing and just use the awt? I hear Swing is slow.

Cannot think of a decent title so this will have to do.

307 byte By kO2na at 2007-9-28 10:17:04
Just wondering what programming language was used in the Game 'Warcraft 3'?Also, the images in games, like characters, cars and stuff like that, are they all made in Java?!! Or is there some other software app. that is used?Sorry if thats a naive question, Thanks, ...

an image location problem

954 byte By pascoe213a at 2007-9-28 10:18:22
Hello everyone, I have written a few programs that load images,Objects etc. When I move one of these to a different computer, I have been resetting the String that specifies the directory where the images/Objects are stored manually. This got really annoying so I decided to work out how to make ...

Sprite animation with double buffering

447 byte By JavaIsGreata at 2007-9-28 10:21:55
Hello, I am writing a game. I am not using swing. Just awt.I have several books I am looking at right now. One uses theBufferedImage class to create a buffered sprite. The other book instead uses the Image class to impliment double buffering. So, I am really confused now. I do not know if I ...

2 person online tank game - how do i deal with lag?

1101 byte By outawatera at 2007-9-28 10:22:15
i'm working on a game called dodgebotz with little tanks throwing bouncing balls at each other in a four walled arena. the server is very simple and only relays a SpriteData object between the two clients.the clients receive and transmit SpriteData objects which contains velocity, position, ...

Sound technologies

325 byte By zainuluka at 2007-9-28 10:24:51
Hi, although not connected directly to java. I am looking for some information about the latest techniques and technologies used in the games and animation industry, for example interactive audio. Also some history of how sound has changed in gaming over the last 20 years or so. anyone know of ...

What books are good?

324 byte By apasechnik1a at 2007-9-28 10:28:49
My question is: What books are good to read if i would like to learn intermediate java and networking capabilities of java.i have read Java Programming From The Begining, by K.N. King.where should i go from here.btw, is this a good forum to be asking this question, or does it sound out of ...

feedback needed

32625 byte By apasechnik1a at 2007-9-28 10:29:06
This is the source code for a single player poker game(the card class is taken from Java Programming From the Begining, King)it is run in a command windowi am thinking of making it into a GUI program(if you have any suggestions for this, please feel free to respond)just save the source as ...

Status of JSR 134 - Java Gaming Profile

298 byte By memphis_a at 2007-9-28 10:29:13
When Microsoft is advancing with rapid speed for integration of DirectX 9.0 with .Net, we have a vital new language C#(Java like) available for game programming.but what are Sun and other companies doing....I wish I can see JSR 134 meterialize in my life time

Good game application (non-applet) tutorial

467 byte By Dashivana at 2007-9-28 10:35:16
I've been looking like crazy... and I want to focus on applications, working into Java3D or OpenGL4Java but all the tutorials i've found deal strictly with Applets.Now i'm not too familiar with applets or their differences with apps, but i'd just rather stick to applications ATM.I've ...

a game

127 byte By welkeidkiezena at 2007-9-28 10:35:23
It's not a real game yet. I'm interested about your thoughts. Thanks. http://www.venihayet.netteyim.net/jump.jar

Using ColorModel

563 byte By Rabbia at 2007-9-28 10:38:13
Hi everyoneI am programming a game and need to make some image filtering. I need to change all black pixels in my images to transparent ones. I am thus designing a new class over ImageFilter. I am trying to overload the getPixels() function. What I can't understand is how to get the integer ...

javax.sound.sampled 1.4.1 problem

2181 byte By lamstera at 2007-9-28 10:39:02
When playing sampled sounds using the Windows java 1.4.1 virtual machine, sounds play back incorrectly and the sound thread blocks all other goings-on, causing the main game thread to slow down and chop madly. After some testing I've concluded that this problem does not exist under the Windows ...

My game is so slow...

6889 byte By cccBa at 2007-9-28 10:41:29
HiIs it a way to change this game so it runs faster? This class works as it should, but it`s really slow on some computers. And the more sprites I add to the game, the slower it becomes. How can I make it to run in the same speed no matter how many sprites there are?Here is the code for the ...

Filtering an Image

1270 byte By Rabbia at 2007-9-28 10:42:06
Does anybody know how to filter an image. Such that I chnage balck pixels into transparent ones. I have tried to override the ImageFilter as shown below but with no successpackage SpaceCommanders;import java.awt.image.*;import java.awt.Color;public class BlackToTransFilter extends ...

What Components Is Best To Draw On ?

189 byte By WaterWolfa at 2007-9-28 10:42:46
Hello,I'm writing a swing application which will have a pane with animations in it. What's the best component to use for this pane ? Should I use a panel, a canvas or what ?

To write the screen image to disk.

265 byte By sgrba at 2007-9-28 10:43:36
With imageIO I can write an image file to disk.How can I do to write the screen as a file .The screen can have many images on it,is it possibleto write the whole screen as an image ( a frame ?!).thanks a lot. regards Lando

Game Problem

356 byte By johnpugh24a at 2007-9-28 10:46:22
I am making a 2D game with a top down view, involving multiple sprites moving around the screen, each can change direction of they own accord and i was wondering how can i work out what the new coordinates for each sprites given the direction of travel (angle), the old coordinates and the ...

JSR 134 Java Game Profile

93 byte By TateYanceya at 2007-9-28 10:50:51
Does anyone have an idea when this is supposed to be finished? How far along are they?

how to draw images in application

461 byte By zuloa at 2007-9-28 10:53:23
hiWhat component would you draw Images to in a application game?I have made a sprite class that uses images,and it has a draw method.But I need to specify a component like this g.drawImage(image,x,y,component)What do you guys do when you program sprites like this?before I always used applets so ...

JFC 2D Graphics

359 byte By JavaChipa at 2007-9-28 10:54:44
Hello, I am using Java to incorporate some graphics into an application I wrote. I called many of the Graphics classes like Image for example. I am not really writing a game, and was wondering if there is a better place to post my question on this forum with regards to graphics. I realize ...

I need Flash MX

333 byte By jorchia at 2007-9-28 10:55:04
I need to know a warez site where i can download the full version of Macromedia's Flash MX. I willl give 10 dukes to the one that tells me a site that works. If nobody gives a page, then I will give 6 to the one who tells me where to find Flash 5. I need it very urgently. your help will be ...

Custom button (Rounded not square)

198 byte By JavaChipa at 2007-9-28 10:55:34
How can I create my own custom buttons. I want to create buttons that are round, not square. If anyone knows of any fancy code examples that will do this, I would really appreciate it.

What do you think?

2398 byte By Octia at 2007-9-28 11:00:26
I have made a little simulation thingy in my spare time, I'd like to hear about comments etc. Even though it is not actually a game, it could become one...here is a zip of the whole folder with the models and jb7 project included: http://www.human-future.de/EcoSystem.zipHere's what it's all ...

KeyListener problems

668 byte By pierre_sodermana at 2007-9-28 11:03:00
Hi everybodyIm devoloping a small game where you control a small war-tank, you can rotate it and go backward and forward. I control it with the arrow-keys. When for exemple I push the forward button(Up-arrow) and while holding it down I want to turn the tank in some direction so I press the ...

I NEED YOUR HELP with my game PLEASE! It runs slow!!

1100 byte By pars40a at 2007-9-28 11:03:04
I asked this question in "Java Programming" but I did not get a good answer.This is the second time I am writing this same code, which is for a pacman game, (I converted my code to active rendering) but I still have the same problem. I am totally frustrated, please help me.The problem is ...

Another ask for tutorials

292 byte By bauerr1a at 2007-9-28 11:05:06
Hello,I'm looking for some basic game-tutorials, e. g. how tocreate a sprite in JAVA. The tutorials I found by doing aquick search seems too abstract to me.So it would be kind if you can recommend some links or books.Thank you in advance.Ralf

2 mch fsckng txt tlk!

203 byte By shishthemoomina at 2007-9-28 11:07:16
Fer christ's sake people, vowels are good! two letter words don't need shortening! I'd like to help you people but after seeing "plz hlp, u du mi hmwrk!!!" I just get depressed and wander off..

Border Collisions

706 byte By GniBa at 2007-9-28 11:09:04
I am making pong in java, everythig works but I can't seem to get collision detectionworking, Everytime the ball "collides" with the borders, it just goes berserk, stays inthe border for a bit and the contiues on. All my other code works fine except border detectionand was wondering if anyone ...

Writing and combining BufferedImage(s)

2308 byte By JavaChipa at 2007-9-28 11:09:57
I am trying to draw an oval on an Image (Contains a gif). After the oval is drawn,I want to place the new modified image on top of another image and then display the combined images to the screen. Note that the oval Must be drawn before lines 24 and 26 are executed. Here is the code. The ...

Straight Line Movement

363 byte By daibhada at 2007-9-28 11:15:25
Hi, I'm creating a Predator-Prey game. I need to be able to move the predator in a straight line towards the prey.So when the prey moves, an imaginary line (which is implemented as a normal line) is created between the predator and prey.The predator then should move along this line towards the ...

card images?

224 byte By apasechnik1a at 2007-9-28 11:19:12
i am sure that people have made card games so my question is this: where do you get the card images? any good websites? any place i could find them on my computer(they are used by solitare, arnt they). Please help me.

Realtime, Multiplayer Game. But how?

513 byte By saugeila at 2007-9-28 11:19:16
HiDoes anyone know where I can get information (i.e code examples, understandable explanations) about Java realtime programming (time scheduling, graphic thread, synchronisation)? What I want to do is some 2d game where 1 or more players fight against each other over some network in realtime. ...

Hiding mouse pointer with full screen ?

470 byte By Chepsa at 2007-9-28 11:19:45
Hi,My program is running full screen, using a Panel in a Frame and the method GraphicsDevice.setFullScreenWindow(). I'd like to hide the mouse pointer, and I was thinking I could simply create a 1x1 transparent image and set it as default pointer, but is there a clean way to hide the mouse ...

pixelploting fps in fullscreen ?q

336 byte By lightxxxa at 2007-9-28 11:20:08
i am makeing a class that allows me plot pixels to the screen, shading polygons with my own algorithims.What i want to know is 1.) what is the fastest way to do this in full screen mode ?2.) and id like to know what framerates people have seen themselveswho have experimented with this already ...

Network bandwidth calculation

270 byte By raghu_raman_ka at 2007-9-28 11:21:35
Hi guysI need to calculate network bandwidth available to my appletand if the internet connection is slow it has to show the status in red color and ...internet connection has enough bandwidth it has to show green colorHow do i do this

which image format is the best

139 byte By apasechnik1a at 2007-9-28 11:22:46
which image format would be best to use for a card game?which format is the smallest, best quality, good combination of both?

Loading all images from Jar include the directory structure.

1732 byte By Katzuraxa at 2007-9-28 11:24:11
Hi I would like to puts all my images in a Jar. is it going to improve the loading speed?I have a ImageLibary that load all the images to a hashtable and access each image by their path and filename. I only have to input the image root directory and it will load all the images including ...

Is clipping an Image or an ImageIcon object possible?

1212 byte By ahalea at 2007-9-28 11:25:19
This is my first time posting here so I apologize if I sound stupid. Usually I can find the answers to all of my questions by searching the forums but I haven't been able to figure this one out.I am breaking down and writing a level editor for an rpg style game I'm working on that will ...

create a new game

439 byte By gamebeginnera at 2007-9-28 11:26:54
hello everybodyi m a java beginner and hope to make a game myselfi would like to make a offline RPG game at my first stepalso in my game there would be graphic interface as well(i have a bit experience in java swing)i m not sure j2ee, j2se or j2me would be best for game developingor even there ...

anyone wanna see code for a bicubic patch applet?

29287 byte By lightxxxa at 2007-9-28 11:27:00
// theres 2 class and you need to make your own html file// create the following two classes as applications and compile// a bicubic patch is for 3d modeling /* authored by william motill date nov 27, 2002 this versions simply going to allow me to do one thing and that is make control point ...

Cut an image and save each tile to a gif or png

211 byte By Katzuraxa at 2007-9-28 11:27:43
HiIs it possible to cut a image which contain a lot of 24x24 tiles little image,then save each tile to gif or png?I whole like to build a map editor. with this function.Thanks