Game Develpment Tips

207 byte By JTeen at 2007-9-27 14:06:59
If you have any tips on game develpment, post them here.Mine is, if you want to use joysticks in your games, download joystick for java ( http://cybergarage.org/vr/device/joystick/java/).

Image projection!

480 byte By Thomas_Reinbacher at 2007-9-27 14:09:02
Hi,I've written a rotating cube for a navigation. You can see the applet on http://you.are.at/Reinbacher .Now i want to draw to every side of the cube an image. My applet should look like the cube applet on (without the light effects) : http://www.fouda.de/html/applets/effects.htmI don't know ...

Texture Mapping !

135 byte By Thomas_Reinbacher at 2007-9-27 14:10:38
Does anybody know a tutorial or an example for textute mapping with java ?Thank you very muchTh. Reinbacher

Thread for apologising to the jdc admin

94 byte By Abuse at 2007-9-27 14:13:37
for all the shameless D$ lovers, apologise to **** here - and get rich quick! ;]

Game Chat

63 byte By JTeen at 2007-9-27 14:13:38
I got a game chat going, if anyone wants to chat.

Java Gaming for Beginners

702 byte By jdcforumadmin1 at 2007-9-27 14:15:10
As some of you may already know, I'm a staff writer and produce the Java Technology Fundamentals Newsletter as well as write articles and tutorials.Java gaming seems like a poplular entry point for folks wanting to learning Java programming. Not sure it's a practical entry point, but I may be ...

A list for java games

126 byte By Rabbi at 2007-9-27 14:15:57
Does any body know a web site where a list of java games is mantained? If no maybe I will make one!Daniel

game port

123 byte By ngamu6 at 2007-9-27 14:18:56
Hi, I was just wondering if Java is able to access the Game/Joystick port and how you would go about doing so

steering wheel

248 byte By ngamu6 at 2007-9-27 14:19:31
I need to use a steering wheel in java but dont know how. The javax.comm package only allows access to serial and parrallel ports. But all the steering wheels these days seem to be either game port or USB. Does anyone have any ideas?

brighten up an image

494 byte By Thomas_Reinbacher at 2007-9-27 14:20:14
My problem:I have an image. When i get with the mouse over the image i want that this specificated area around the mouse is brighter than before. Not the whole image only this area.I wrote an applet which founds the mouse position on an image.How can i brighten up the "mouse area"?Can you give ...

Need help with Image

300 byte By richie03 at 2007-9-27 14:21:52
I d'like to1. read a tif image from a file2. render two tif images (at different place) into a bufferedimage3. save the bufferedimage in tiff filei know how to do 3,have you got an idea of the way to programm 1 and 2?thank you very much for your help ...

Accessing Games while behind a firewall

388 byte By patrickmallette at 2007-9-27 14:22:13
I have a game (Javoids - shameless plug) at http://www.geocities.com/patrickmallette/. When I try to access it from work I get a java.security.AccessControlException. Is there any way to get around that?The jar for game w/ source code can be found here if anyone is ...

sample code for J2ME palm

85 byte By stann82 at 2007-9-27 14:26:40
Hi anyone can supply me any url for J2ME palm sample code?thanks

help with OutOfMemoryError

235 byte By richie03 at 2007-9-27 14:27:20
Why i have got such a message:Exception in thread "main" java.lang.OutOfMemoryErrorwhen i create a BufferedImage:BufferedImage buf ;buf = new BufferedImage(4000,4000,BufferedImage.TYPE_INT_RGB)

Domain Class and EJB Component

1567 byte By vincentjava at 2007-9-27 14:27:24
Hi,I have defined a set of domain classes(with get/set methods) and a set of EJB Session Beans for the business logics.The question is, where do I locate the domain classes?Create a package for it (e.g. com.mysystem.domain)? Or distribute it into the Session Bean packages (e.g. for account ...

rotation of bounding box ?

316 byte By whitehousem at 2007-9-27 14:29:31
I know I can get the transformation info on a sprite to work out the position of a bounding box used for collision detection, but if the image is being rotated, how can I rotate the bounding box for a more accurate collision test.the image is rectangular so a square(ish) bounding box won't do. ...

concept J2ee

625 byte By mfreschi at 2007-9-27 14:30:15
I磎 new of J2ee and I磎 trying to design/develop a standard 3-tier system. Well I have to choose all the software tools (trying to spend as less as possible), I read a lot of documents about different products, and now I have mess in my mind :-)Everything seems to be J2ee compatible!! Can someone ...

Java Web Start vs. Applets

360 byte By dnourie at 2007-9-27 14:31:16
I noticed many of you use Java Web Start to launch your games. I'm curious-- is Web Start a good alternative to using applets? Does it help get around some of the browser issues problems that applets have? Also, how are some of you getting around browser/plug-in applet problems, or do you even ...

J2me game development query

582 byte By edching at 2007-9-27 14:33:56
Hi there,i am working on a j2me game for mobile phones(in particularly 7650) <my school project>, the view of the game is that of pac-man and battlecity FOR GAMEBOY. Its like, pacman for eg, the maze is NOT FULLY DISPLAYED on screen, but captures only a close up view of pacman and its ...

Using alpha with Graphics.drawImage

1100 byte By electric_monk at 2007-9-27 14:34:15
Colorkeyed sprites in my game go through the following steps:- Loading the image from getImage- Running through a filter I made, ColorKeyFilter, which just sets all pixels of the specified color key with an alpha value of 0It seems to work fine, but sometimes there is flicker where they fail to ...

J2ME Image / Graphics my misunderstanding?

1212 byte By norrissmith at 2007-9-27 14:35:39
Hi,I have a mutable Image which I am using as an offscreen buffer. I initialise this image by setting the colour to white and calling the fillRect() method with the screen size as parameters. I do this in the constructor for my Canvas object.In my paint() method I then draw only the extra ...

Applets writing/reading files

242 byte By huangjd at 2007-9-27 14:35:50
Im making a simple black jack game as an applet, but it needs to be able to read and write to files on the server it's on. Is there any easy way around this without it giving me those security execptions?Thanks, Jonathan

Graphics2D and AffineTransform needs object-reuse for smooth animation!

4001 byte By x-otic at 2007-9-27 14:36:07
Hi,I'm currently working on a graphical framework for animation using Java2D but has come to a dead end. The goal of the framework is to deliver smooth animation on various platforms, but this seems impossible due to the following fact:I have a tree of graphical objects i render on a ...

CGI/Applets for I/O

793 byte By huangjd at 2007-9-27 14:42:17
Ive been searching around for ways to get an applet to read and write to files on the server its being hosted off of, and ive came across a few methods. The easiest one seems to be opening a URL connection to read in a file. But writing a file gets a little bit trickier. You still open a URL ...

J3D Speed

64 byte By JTeen at 2007-9-27 14:43:31
Any tips on how to make fast Java 3D games?

Web Start and Game Server

762 byte By siamakg at 2007-9-27 14:43:59
i have a client-server game and i would like to put it on my sitei've managed to put both the client and the serverthe problem is when i run the server, i give it a port and it opens and says waiting for a connection, but when a client joins it doesn't detect itof course, this problem ...

Special F/X

887 byte By zparticle at 2007-9-27 14:45:41
This isn't strictly gaming releated but...I have created a little framework called Special F/X that can be used to write display tricks/fx/demos. The programmer only has to sub-class one class and the program runs in full screen mode under 1.4. You create a display trick and place it in ...

Does Microsoft have anything even remotely like JCP?

408 byte By inertia186 at 2007-9-27 14:46:17
I know this is an odd place to post a question like this. But I was wondering if Microsoft had anything even remotely like Sun's Java Community Process Program ( http://www.jcp.org/ )?It seems like such a great idea, and if Microsoft is going to compete with Java, it would seem like a good ...

Needs Opinoin regarding JCA Framework from ERP proffesionals?

1029 byte By vickyk at 2007-9-27 14:49:03
Hi,I have read in the docs that the JCA framework will enable our application to get integrated with the already existing EPR (Siebal,PeopleSoft etc).I have not worked on these giant ERP pakages but have an idea about the webbased ERP and CRM systems.I wanted to know how the adapters defined ...

Texture Transparency in J3D ?

992 byte By CHeine at 2007-9-27 14:49:44
Hello everybody,i and some friends of my univerity have started to develop a realtime strategie game in Java with 2D (basic menues) and 3D (maps and battle area) environments.Now i develop some test environments for the 3D maps. First i try to create a space map, with some stars for the systems ...

Seemingly JPanel buffering whoas...

957 byte By Seekely at 2007-9-27 14:52:02
I have a JPanel which is being drawn on every frame by my "engine". I admit that I am pushing quite a few pixels to the screen (800*600)+ each frame, but even when I am not pushing anything the double buffering done by the JPanel seems to increadibly hinder my framerates. I can try to describe ...

galaxies (pt. 2)

12056 byte By markuskidd at 2007-9-27 14:52:08
Based on some code I found via google ( http://www.codemoon.com/galaxy/random.html), I coded a simple applet to generate some spiral galaxies. All went well until I decided to start adapting it to the situation it's needed for in my project -- ie, I need the stars to be spread a lot farther ...

java applet not loading

403 byte By timbermike at 2007-9-27 14:53:05
My kids play the yahoo games, and they always worked until about 2 months ago. Now it won't load the applet to open the games. I have tried everything I can think of and what different people have told me. So was just wondering if this happen to anyone else. I have RR and windows 98SE. ...

animation

643 byte By pascoe213 at 2007-9-27 14:54:28
Hello all, Ive been doing basic java animation involving sveral images and some basic 2dgraphics like Graphics.fillRect() being drawn several times a second. Ive been overriding a JPanels paintComponent() method and Ive been using either a TimerTask or a looping thread to call the JPanels ...

which is better for gaming Java or C++?

279 byte By DaShiznit at 2007-9-27 14:55:10
a friend of mine told me that C++ is better for gaming, but i'm not sure. the thing about C++ is that i've been studing it for the past 3 years and still don't have a strong grasp of it, but java is much more direct and i'd much rather develop my games in java.

are applets good for 3d gaming?

206 byte By DaShiznit at 2007-9-27 14:55:11
i took a game programming course, but it was focused on 2d gaming and we only used applets. so i was wondering if that is a good way to base my 3d games? also where can i find the java 3d api?

can a serious 3d game be made entirely in Java?

189 byte By DaShiznit at 2007-9-27 14:55:13
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?

Keyboard repeating

275 byte By foexxchen at 2007-9-27 15:00:48
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.

Individual Contribution

162 byte By St0rm at 2007-9-27 15:00:56
I wish the JCP entry for individuals was cheaper. I can't afford it, but I would really like to clean up some of the API and make some suggestions.

Any Multi-User Chess Programs available?

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 ...

Any Java Programs are not running on XP prof and Home Editions

265 byte By nirmal_janaJ at 2007-9-27 15:03:47
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..

How do I import a .gif?

963 byte By threebrain at 2007-9-27 15:04:39
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 ...

Paint question

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 ...

About scrabble game

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, ...

Double Buffering problem

481 byte By foexxchen at 2007-9-27 15:15:15
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 ...

initialising class when J2EE server starts

545 byte By supriya_phadke at 2007-9-27 15:21:12
Hi, I am facing a problem. I wish to instantiate a class when the J2EE/ tomcat server starts. This is similar to the property set in weblogic asweblogic.system.startupClass.startup = <name of ur startup class>Here we can specifiy the class to be instantiated during startup of server.Can i ...

Any opinions about OpenGL4Java?

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 ...

Java 3D Games

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 ...

help with installing a CHAT CLIENT/SERVER

485 byte By seanbartholomew at 2007-9-27 15:35:19
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 ...

problem with backbuffer

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 ...