3d collision detection?

136 byte By perfectlifepan at 2007-9-30 15:06:35
HiI want to know which arithmetic methods I can use to detect collision between camera and the surface of 3D model?

3D 1P Game Design Best Practices?

942 byte By torinwalker at 2007-9-30 15:06:38
I'm developing a game where one shoots at targets and would like some advice on how to pattern the overall architecture, specifically to do with collision detection and the interactions of those collisions.For example, say I have two entities, A (the player) and B (the AI), and each can shoot ...

Pattern for removal after collision

976 byte By torinwalker at 2007-9-30 15:06:39
My game has a main player that fights against multiple (AI) opponents. I need a pattern for collision detection and removal of the damaged opponent (and the projectile that caused the damage.)The simplest way, though not the most elegant way that I can think of, is to have the main game class ...

Try it out: A graphically simple, but smart Renju game (applet)

831 byte By mj_cge at 2007-9-30 15:09:21
I've implemented the Renju game (luffarschack in Swedish) as a Java applet, and would like to invite you all to try it out!It's quite simplistic graphically - the point for me was more the open-ended design and an advanced computer player. There are no limits in the code regarding number of ...

Timers in MIDP 2.0 question

578 byte By frustr8ed at 2007-9-30 15:12:18
elo! i have a question regarding using timers in midp 2.0.. i have a series of frames for my player in order to show its "walking effect" on the screen. i used timer.shedule(TimerTask, long, long) and it showed the "walking effect" almost perfect. now, i have series of frames for my attack ...

Why the tank keep shifting?

423 byte By tuoxie at 2007-9-30 15:17:40
Please try this: http://www.cs.mcgill.ca/~xliang4/test.zipafter unzip, compile by "javac *.java", execute by "java Gui". using up, down, left and right keys to move the tank.the thing keeps bothering me is that after rotating the tank some degrees, moving it will cause it sliding away from the ...

Execute Game in Wireless Toolkit 2.1

400 byte By prosystems_ricky at 2007-9-30 15:20:44
sun mobile editon 5midp 2.0 cldc 1.0 problem i am having trouble in loading pictures, when im using the emulator for the ide sun mobile edition 5 the pictures loads, but when i run the compiled .jar in the wireless toolkit 2.1 the pictures cannot be loaded using the method Image.createImage(). ...

Developing game for P2P network

362 byte By bra_on at 2007-9-30 15:24:02
I need help in developing a Java applet game that can be played through a Peer-to-Peer (P2P) networking architecture preferbaly with security. It can be any game at all and because i'm new in java programming a simple game will do. An existing game source code will also help me as a reference ...

Make java game into networked game

303 byte By uselesscoder at 2007-9-30 15:30:00
I have created a 1 player game in java which has 11 classes, to play the game you launch a class which extends JFRAME. Any suggestions on how I can make this game into a two player game over a network, have been looking at trying to change the game into an applet but this loks impossible. ...

atach a popup to an imageitem button...plzzz help!!!

196 byte By iulian_anton at 2007-9-30 15:34:24
I'm working on a quest for mobile phones with j2me.How can I atach a popup to a imageitem with appearanceMode BUTTON? I can't find a solution...can anyone help me...PLZZZ!!!

J2ME Game API

233 byte By aeran1 at 2007-9-30 15:39:18
Hi , Are there any Game Packaes available in J2ME ..?if there r , then r they phone dependent , i.e if i develop a game using that package , will that game run on all the phones or selected phones only ...

Eclipse + Proguard + Ant

1002 byte By Malohkan at 2007-9-30 15:57:49
Ok... I'm overwhelmed. I'm putting my game in a jar for webstard, and obfuscating it with Proguard. I use Eclipse, and I know it has Ant integrated, and I'm pretty sure it can help me here. Right now I save (Eclipse auto-compiles), I run Proguard to obfuscate my code, then I manually create ...

midp 2.0: is it possible to run 2 timers at the same time?

82 byte By frustr8ed at 2007-9-30 15:59:52
elo! jz wondering if its possible to run 2 timers at the same time..

Bad performance

1294 byte By Digital_Entity at 2007-9-30 16:00:01
Ok Im sure you have heard this a billion times before but Im making an RPG.Its not an Applet it is and aplication. I have done a fair bit of work to it and its coming along nicely.Its 2D and I want it to run on old computers, so slow computers with enjoy this game too!And I want to limit the ...

Big Question

868 byte By FrancoisSoft at 2007-9-30 16:08:46
Hi!I'm a game developer that programs games in the 2D world. But I've been working in C++ for a long time and I'm just noticing how difficult game writing is in C++. So I decided that any new games I develop will be in Java, especially since people can play them on many different machines. ...

Can Java support .bmp files?

603 byte By FrancoisSoft at 2007-9-30 16:09:11
This is probably a dumb question but I'm just wondering if Java supports .bmp files. I know how big they are and that they're not 100% reliable at being transparent and that they are slow when it comes to scaling. I also found them slow when they are drawn transparently not to mention that ...

Display modes and FUBARd scrolling

1084 byte By Black_Liquid at 2007-9-30 16:11:37
Hi all,Been developing my first scroller and I'm now experiencing some graphical weirdness. The game is an applet, uses a volatileImage as a back buffer and is set to run at 30 FPS. Anywho, it worked "fine" on the machine I used when making it, but after having others test it and testing it ...

Bigger Question!

783 byte By FrancoisSoft at 2007-9-30 16:14:50
Someone please explain this...getImagepublic Image getImage(URL url)Returns an Image object that can then be painted on the screen. The url that is passed as an argument must specify an absolute URL. This method always returns immediately, whether or not the image exists. When this applet ...

Problems with Font s

563 byte By Digital_Entity at 2007-9-30 16:15:51
Font MenuFont1;FileInputStream FIS1;String FontPath = "Fonts/";File MenuFontInput = new File(FontPath+"Burton's_Nigthmare_2000.ttf");try{FIS1 = new FileInputStream(MenuFontInput);}catch(java.io.IOException e){}try{try{MenuFont1 = ...

the meaning of life

1005 byte By No_Control87 at 2007-9-30 16:28:23
ha..now that i got you to look....heres a little problem i'm havingimport java.applet.*;import java.awt.*;public class testap extends Applet{Image test;int x = 100; public void start(){super.start();test = getImage( getCodeBase(),"test.gif");}public void paint (Graphics g){g.drawImage ...

Fast Image Rotation (Very large images)

892 byte By CuppoJava at 2007-9-30 16:44:43
I'm writing a 2d shooter for my high-school project, and I'm into some technical difficulties.I need to be able to rotate a very large image (500x500) very quickly...maybe about sixty times per second?right now i'm using the g2D.rotate() function in Java2D but the framerate drops to 5 as ...

Quick question

137 byte By Erelan_ at 2007-9-30 16:57:33
Im having trouble finding a way to get input from a user without stopping the entire program like with Console IO any suggestions?

is it possible to change a pixels RGB values?

1172 byte By CptFallout at 2007-9-30 17:00:52
Hi everyone (my first post)I am working on my first game, a small 2d tile-based game. The game is almost finished but there are a few more features I like to add first. One of these 齠eatures?are different kinds of light sources, the first kind is an omni source (for example a lamp post) that ...

Suspend Resume in LG L1200 Mobile (MIDP 1.0)

332 byte By OmkarKSA at 2007-9-30 17:01:00
How do i handle Suspend and Resume in case of LG L1200 Mobile device - MIDP 1.0If any one has faced any problems or even knows how to do teh same pls. reply asap.According to my research there is no way of letting the canvas know whether it has suspended and resumed - This is regarding the LG ...

Sound in Frames

266 byte By Xello at 2007-9-30 17:01:19
Of corse its eazy to make sound in an Applet, they hand you the functions...But i would like to know how to get sound in a Frame.Any help would be nice and if this topic has been brougt up before then send me a link.Thank youXello~

set a type of "boundries"

660 byte By helloiamheath at 2007-9-30 17:17:28
okay well we have created a frame to hold the images in and move around, im starting very basic with a little tan background and a link image to move around, and so far so good, everything works perfectally. but, im wondering how i would set it where i can set.. somewhat like boundries where ...

fileskipping..?

2104 byte By helloiamheath at 2007-9-30 17:17:30
okay say i had my zelda program and i have my link to walk when i pressed right, but if i have one image which works all well and fine, how would i make it alternate between two pictues.. in a sense that he takes steps, instead of flies across the screen?... here is the key-pressing part of my ...

play a song?

306 byte By helloiamheath at 2007-9-30 17:17:36
okay to my zelda program... what would i have to do to put in a small loop file of the zelda beginning song?say i named it zelda.midi... it would work if i had a microphone and i used windows sound recorder.. right? lol.. im sure i could download it on the internet somewhere.. but who ...

Drawing good looking 2D-tile maps....

305 byte By chloraclida at 2007-9-30 17:26:28
Are there any examples of how to draw good looking maps in 2D similar to warcraft and those games?Need some ideas on the design issues as well as how to implement it in code.If there are any free packages that already do this, it would be great to know.Any help is ...

2d GAmes

69 byte By ZakaSPFC at 2007-9-30 17:27:03
How do you make 2d games such as blasterball,arkanoid,and pong

JOGL on WinXP(j2sdk1.4)?

534 byte By mplatini at 2007-9-30 17:27:43
Hi, everyone.A greeting from a new comer~_~I got a problem when migrating a small program from win2000(j2sdk1.4.0) to winxp(j2sdk1.4.0).That is a small application using JOGL, and i got a "net.java.games.jogl.GLException":"Unable to enumerate pixel formats of window using ...

Any such thing as a pure Java S3M player?

1231 byte By scorbett at 2007-9-30 17:33:51
Perhaps I'm revealing my age here, but I remember way back when computer games used MOD, S3M, or XM formats for background music - long before MP3 came along.My question is this: is there any such thing as a pure Java (i.e. no JNI involved) player for these formats, particularly S3M? I've ...

favorite books on graphics... please

923 byte By morgalr at 2007-9-30 17:38:20
Before you say: "Do a search...", I already did and I'd like to see today's opinions on books, activeX, openGL, and etc.In ancient times I had a desire to make a game and I started to do so, I quickly found the project was beyond the hardware's capability for that era (even in assembler) and ...

Share your Source Code!

448 byte By TheMan123 at 2007-9-30 17:38:24
Hello!I really enjoy playing all the games that you guys are publishing in this forum. But I wonder why almost no one share their source code? Are you afraid that someone would steal it? A long time ago I published a game with source code. This was done to give people a hint of how one can ...

A User Console.

272 byte By Pzychotix at 2007-9-30 17:44:05
How would one go about creating a user console (i.e. a user types in commands to do functions), without creating a whole bunch of hardcoded if statements? I know in C++ that there are function pointers that can aid in doing this. Is there something similar in Java?

Big Beefy Question

1590 byte By FrancoisSoft at 2007-9-30 17:44:18
Hi everyone,I'm using the AffineTransform to do flipping and shearing of graphics but I'm not 100% when it comes to using them. I do the transformation but I'm puzzled as to where the coordinates go. Here is a bit of code to illustrate my problem.AffineTransform Transformer = new ...

a question bout java

582 byte By frustr8ed at 2007-9-30 17:45:07
elo everyone! i have a superclass let's say HealthPersonnel and it has HealthScreen screen, HealthMIDlet midlet in its constructor..how am i going to construct it in its subclass? lets say my subclass is Doctor()..// my superclasspublic class HealthPersonnel () {public ...

catch two arrow key event

181 byte By vvyvvy at 2007-9-30 17:50:21
hi allin order to make my object move at 0, 45, 90, 135, 180, 225, 270, - 45 direction, I need to detect two arrow key is pressed event, but how can I do that.?

Ragnarok Online-like Graphics Engine

1359 byte By Sange at 2007-9-30 17:51:43
Well I'm fairly new to Java. It's my second year and I have successfully completed many programs such as Windows Calculator Replication (Only 4 func.), Minesweeper, Breakout, and a few other spiffy games. I am fairly comfortable with 'GUI' in the application sense, but I do not like ...

Animating a rail gun :-P

1915 byte By thematx at 2007-9-30 17:56:41
Hi,My retro style spaceshooting game is great so far. I want to make a gun called a Rail gun that people into games will know.Well, i can make a lovely line fly accross the screen, but i want a spira like thing go off it, just like the rail gun in quake 2. I also want it to look like its ...

Crop a triangle out of an image

351 byte By jamapiro at 2007-9-30 18:02:33
Hi, I am trying to crop a triangle out of an image. I have seen methods to crop rectangles, but that is not what I want, I want to be able to crop a triangle. Is there a method I can use for this? I am using JAI, and all they seem to have are methods such as crop(rectangle r), or something like ...

Applet to display Calender

9568 byte By ashish1978 at 2007-9-30 18:19:48
Please find source code for an applet to display Calender./** =============================================================================/* Program Name: Calender/* Author :Ashish Das/* This java class will display the Calender for specified month in the ...

An Important Question

1149 byte By FrancoisSoft at 2007-9-30 18:20:16
Hi people!I'm just now beginning to work with BufferedImages and Graphics2D surfaces and I found that they're not too bad. My main concern is speed. I want to use this routine which looks like the only one that can work withBufferedImages...public abstract void drawImage(BufferedImage img, ...

Moving a ball around

1058 byte By Bread_Stick at 2007-9-30 18:29:44
I have a really annoying problem that I can't figure out.. I think it's a problem with my casting.float delta = System.currentTimeMillis() - timeAtLastTick;timeAtLastTick = System.currentTimeMillis();float ychange = (float)(ball.getYVol()*(delta/1000));float xchange = ...

Rimscape Beta Testing Begins

1483 byte By adamant_2001 at 2007-9-30 18:30:04
A game that I've been working on for the last for the past six months is now ready for public beta testing.Rimscape is a sci-fi trading and combat game where you can pilot a variety of spacecraft, arm them with a large selection of weaponry, and explore a randomly generated galaxy. It is a ...

VolatileZapper

533 byte By digiwired at 2007-9-30 18:46:46
Hi all,Ive just remade my game for the third time, and im happy to say that ive got it working exactly like I want it.There are no sounds :( cause I can't make any, and i can't find any that are suitable.URL (Webstart): http://www.myjavaserver.com/~digiwired/vz1.jnlpKeyboard:Left/Right = Move ...

how to save a game

400 byte By iulian_anton at 2007-9-30 18:49:08
hi there! i'm working on a quest for nokia series 60... and i wonder how can i save the game... so i can play again from where i left. and i have another problem... i play the game... and i exit it... when i select new game option my game doesn't reinitialise my boolean variables... this ...

fighting game help

366 byte By Dr.KnowNothin at 2007-9-30 18:51:49
I started to create this application turn based fighting game, but I'm not sure what I could do to record the attacks, so once a player reaches 0 life points then it's game over. I mean like once a player hits another player that players life points are decreased and vice versa and that ...

Need help splitting PNG images

603 byte By kosmon_x at 2007-9-30 18:52:44
Hey, here is my problem:Right now I have some methods that read in a PNG image into a BufferedImage. I then take the BufferedImage and convert it into a usable OpenGL texture. My question is this: is there any way to split the BufferedImage into multiple smaller BufferedImages? I've tried ...

Arrow Physics

143 byte By FatalError at 2007-9-30 18:55:16
I'm trying to create an arrow shooted by Robin Hood :-)Does someone has already done this or has some clues about it ?thx