Java Sprites Engine?

400 byte By jdupreza at 2007-9-28 7:17:04
Hello,Does anyone knows of a Java sprites engine? Features I'd like to get out of the box are sprites animation and move, and collision detection.After searching this forum, I found a handful of good advice as to how to develop one by hand, but not any reference to an existing Sprite Engine ...

1.4 to slow....

93 byte By cispasoiua at 2007-9-28 7:18:45
My applet are running ok in 1.2 but in 1.4 they so SLOWWW...why ?catalin

fullscreen

139 byte By cispasoiua at 2007-9-28 7:19:09
how can I access the entire screen from j2me,in Series60, the size is 174x208 but the canvas is176x144 ?catalin

Playing Cards

104 byte By nji78a at 2007-9-28 7:20:23
Can anyone help me find a site where I can find a tutorial on creating card games like solitaire?

Page Flipping?

199 byte By pommyJavaa at 2007-9-28 7:22:45
Im trying to use a good way to use the video card memory formy games. Is this the best way to go? How do I use it? VoltileImage might me better, but Im not sure. Can anyone help me out?

creating a "play area" for a game.

1018 byte By huangjda at 2007-9-28 7:25:16
I came across this problem, and im not 100% percent sure what to do. Im not too familiar with the graphics functions in Java so maybe someone has an idea to go about about doing this. I need to create a 2d map (birds eye view). The map will be much larger then the actual viewing area, so when a ...

server game....?

439 byte By annyssa at 2007-9-28 7:26:41
hi,from what i know, we need a web server like tomcat or blazix to make other people can access our web. but my problem is like this..... i develop a game programming that need a server to control the player, so that mean now i have 2 server...... but when people acces my web, they cannot ...

mouse updating super slow

317 byte By electric_monka at 2007-9-28 7:27:26
i am using mouseListener for the mouse input in a game, and if i task away from the applet, then task back, the mouse input dosen't quite recover, it fails to send the mouse events immediately, instead sends them in batches every 10 seconds or so.jvm version 1.3.1_03any idea what this might ...

Modulus

226 byte By javatypoa at 2007-9-28 7:27:42
Okay. The modulus is the remainder of a division operation right?Then that would mean that: 2 % 8 = 0 because their is no remainder.So how do you know in a game when the modulus will suffice?Thanks.

simple 2d mario bros-like game math problem

9618 byte By zuloa at 2007-9-28 7:27:54
hiim trying to make a small 2d game.It currenty uses a circle as the main character,and it draws 10 linesas the "ground"My problem is I want to just draw some basic lines or curves and let the main object follow these lines(so it acts like the ground)I think there must be some math function to ...

Collision methods anyone.

1087 byte By zainuluka at 2007-9-28 7:28:47
Hi, I am making a 2d platform game. Ok I use a tile class to display each individual tile for the background.below is how I display each tile in turn every frameGraphics g2 = g.create(x,y,_width,_height);g2.drawImage(_tileImage,-tileX,-tileY,null);updateBound(x,y);note the updateBound(x,y) ...

Can I Get Some Answers

905 byte By rs_ancienta at 2007-9-28 7:30:48
I wana make a az-kickin game like runescape.com I dont really know nothin about nothin in javaI like runescape but andrew the creater is kinda a geekall kinds of rules like armor level requirements only specialareas you can att other peeps ect...I wana make my own game like rs but not rs really ...

Timers

237 byte By RainbowEnergiesa at 2007-9-28 7:32:04
To use Timers, I must implement ActionListener.But I'm trying to activate my timer object by moving my mouse.Is it possible for java to do it? If yes, can show me some codes on how to do it please ?Thanks : )

pacman game

181 byte By zbadra at 2007-9-28 7:33:32
hi all,i'm trying to achive a pacman game.i've got a pb with the ghosts : i want them to go to pacman by the shortest way. how can i do ?tx.badr

Duke Dollars for the first to implement the JOSRTS Tech Test

272 byte By jbanesa at 2007-9-28 7:34:14
See http://www.josrts.org/cgi-bin/ikonboard/ikonboard.cgi?act=ST;f=6;t=124If the offered Duke Dollars aren't showing up, it's because I haven't figured out yet how to attach them to the post. Give me some time, it's the first time I've offered them. :-)

j2me midp help

561 byte By aawolfa at 2007-9-28 7:35:41
Hi All!I'm new to java, but i want to build J2ME (MIDP) applications.I can write *.java files and run it after compiling.But i want to write low-level APIs (games) and i have an example from which i can start. It's a dog animation and it consists a Doggy.java and a DoggyMIDlet.java and some ...

pool physics

200 byte By synluba at 2007-9-28 7:39:39
hi there, can anybody explain the pool physics, i already understand the conservation of momentum but i got trouble on determining the velocity vector, after the collision.thanks,

how to optimize this?

18161 byte By asjfa at 2007-9-28 7:40:08
hi, here is a prototype of a simple java game inspired by anaconda in timesplitters 2 - the only problem is if you make the play area too large, or your snake gets too long then the whole thing slows down far too much!I can't figure how to speed this up, but am sure there are people in this ...

even sprite movement

1334 byte By yoda23a at 2007-9-28 7:44:27
Will this function help keep my sprites moving at a consistant # of pixels / second no matter the # of iterations my main game loop does per second? Is there a better approach? I have this calculation at the Sprite level, so it is done for each sprite. Should this be at the game loop level, and ...

tick vs. time -based animation

1098 byte By ericmuntza at 2007-9-28 7:44:38
Hi. I'm a bit of a newbie and I was wondering if I could get some information/opinions on animation techniques. I've seen a few mentions (one very recently by Abuse) of tick-based animation being inferior to time-based animation. I'm pretty sure I get the two concepts -- I assume it's just ...

Game Object Design Question

756 byte By voodoo_bluesmana at 2007-9-28 7:45:06
Ok, I have a question on the logical design on my game. The game will consist of a world, levels within the world, items, NPC's, and a Player.I will have NPC's wandering around the world automatically. In order to move, they are obviously going to need to be able to look at the level they are ...

Combat

4201 byte By outawatera at 2007-9-28 7:45:46
remember the game combat on the atari2600? i'm tryng to make a mockery :) of it in an applet, and am having a little problem.it is a one on one top view tank combat game. i want to make the Tank it's own class. i want to to draw itself and listen for keyevents to move itself. how can i do ...

Rotating an image

571 byte By cccBa at 2007-9-28 7:52:45
I am trying to make a 2d car game. With the left and right arrow-keys you should be able to rotate the car, and when you press the up arrow-key it should move forward in the chosen direction (in the same way like the spaceship in Asteroids). But how do I implement rotating?Is it possible to ...

My collision problem!!!!!!

3028 byte By zainuluka at 2007-9-28 7:54:11
Ok here is all the collsion part of my game...hope someone can help.Ok this is the main class where everything is controlledclass MyGame{...marioCharacter = new MainCharacter(.....some parameters...);....//here the background is controlledbk_level_1 = new Scene(...some parameters...);...//test ...

multi multi threading

14327 byte By Shamisa at 2007-9-28 7:55:22
im trying to get my program to work It a shooting gameFor some reason it doenst workAm I on the right track for multi multi threadin?Heres me codeimport java.applet.*;import java.awt.*;import java.net.*;//used for soundsimport java.awt.event.*;public class GhettoStar extends Applet implements ...

how to create/draw playing cards

75 byte By nji78a at 2007-9-28 7:55:29
Does anyone know how to create/draw playing cards on a swing panel?

animation thread not using repaint help

2872 byte By zuloa at 2007-9-28 7:58:46
hiI have made a simple applet moving a circle across the screen.But the animation is jerky,I use buffering but the circle stillgets sudden bigger moves though it should only move 1 pixel at each repaint.Could this be fixed with making a new thread that updates the position of the circle instead ...

Any good algo for a simple 3D collision detection (using 3d bounding boxes)

391 byte By Jeffrey_Cheea at 2007-9-28 7:59:12
Hi there, I've been developing a simple 3D engine for a game, and have been pondering over the topic of game collision, searched google and found out that collision detection is not as simple as I thought, is there any good advice on where to begin with?Thanks in advancepreview the 3d engine ...

What do you plan to do with java

550 byte By oo0speed0ooa at 2007-9-28 7:59:39
I know this is a game development forum, but I had one question. What does everyone 'who is nice at java example abuse' (i'm not saying that no one else is nice, but he's name is the most catchyest) what do you plan to do with java. Do you really want to make games in java for the rest of ...

Game Map Making

759 byte By huangjda at 2007-9-28 8:03:09
I got a problem, not too sure how to go about doing this coding wise.What i do is load in an image (a strip of multiple images), make it a bufferedImage, Then i paint my Canvas by doing a dbl for loop, getting the subimage, and painting that. So now, my canvas is composed of a bunch of ...

Is morphable terrain worth the performance loss? (Java3D)

2080 byte By mikeprossera at 2007-9-28 8:04:31
I am writing a 3D first-person game using Java3D. I call it Arabian Flights because it was inspired by the classic game 'Magic Carpet'. In Magic Carpet, the terrain could be changed in real time by spells such as volcano and earthquake. I wanted to have this feature in Arabian Flights, but ...

Bounding Box and Affineransform

8006 byte By outawatera at 2007-9-28 8:07:30
I'm working on a tank game. right now, i just have an applet and a little tank that drives around. unfortunately, i can't figure out how to get a bounding box to encapsulate with my image. can anyone help me? my prog is two classes: TankGame and Tank. Tank extends Rectangle and draws itself ...

Question about RPGs

405 byte By pommyJavaa at 2007-9-28 8:07:55
In an RPG how would one make money counts. Like would I have to make images like to 1000? Or just build images 1 - 9 and build the number. So if the players find $550 dollars and it adds to the $300, which equals $850. So i would call the 8 image, then the 5 image, then the 0 zero image, and ...

Newbie here

70 byte By gothmidgeta at 2007-9-28 8:08:50
anybody know where i can get some good beginner game tutorials?

Istalling application via sms.

267 byte By theurgicusa at 2007-9-28 8:09:22
i've got working application for Nokia 7650 and I want to install it on my Nokia via SMS (or other way that I don't have to plug in my mobile with PC), how to do this? By the way, are there any sites with detailed information about it?Lots of thanks.

2D Array Sort

352 byte By mattw123a at 2007-9-28 8:12:40
Hello,I am developing a Basketball Franchise mode game and we are importing all the players from .txt files but we are unsure of how to sort the imported players from the .txt file into the program so the starting lineups will be the best Center, the two best forwards, and the two best ...

Rigid Body Dynamics - who has implemented

310 byte By jimbob_ex2a at 2007-9-28 8:12:52
has/is anyone sumulating accurate Rigid Body Motions including collisions (using David Baraff's paper - can be found at http://www2.pixar.com/companyinfo/research/pbm2001/index.html)? I have started but got a couple of questions.i will wait for a reply before i post up my ...

How simple, map-based RPGs work ? Any examples ?

1375 byte By rafaelsantosa at 2007-9-28 8:14:38
Curiously, I am not a student asking a "please do my homework" type of question - I am a Object-Oriented language teacher in a local university, and as a suggestion from a colleague we'll ask some students to create a RPG-like game in Java.The problem is that I am too old to have played one of ...

Is there somthing wrong with this?

2009 byte By Sanjana at 2007-9-28 8:16:34
public void team1() throws Exception { String buyt1; player tempPlayer[] = new player[20]; int line=0; int total=0; boolean xloop; String select=new String(); FileReader filename = new FileReader("Boston.txt");BufferedReader In = new BufferedReader(filename); System.out.println("Boston ...

Mze navigation

341 byte By javatypoa at 2007-9-28 8:18:48
Hey ppl, whats the best way to navigate through a maze? Pixel perfect (I know how to do that) or tile perfect (I dont know how, but have been recommended that I do so). Maybe if someone here could explain to me how to do tile perfect navigation of a maze, like a pacman maze, then I could ...

Graphics instance

304 byte By fuchssaa at 2007-9-28 8:22:57
I grab a Graphics object from a frame at the start and use it. Is it safe to store this and use it whenever I want? If the VM moves objects around it does ensure my reference is always good? Just trying to make sure before I do something stupid. It appears to work this way from my ...

Send only changes or everything?

334 byte By khuongdpa at 2007-9-28 8:24:47
I am develop my first client-server game. My question is how could the server send the data to the clients?The clients have a JTextArea (uses to chat) and a JTable (uses to show how many players). Could these componments receive only changes from last update or the everything? ex. a row or a ...

how can i Re Order a 2D array?

1519 byte By Sanjana at 2007-9-28 8:25:21
this is what i want to happen, i want to move S.Clancy ahead of G. Buckner.(this is what i currently looks like)G. Buckner G 6-4 210 76 3 76 70 79 S. Clancy F 6-7 240 80 R 65 69 66I have these values in a txt file that is read into a 2D array.Now what i want to do is be able to swap there ...

Move Character in 2D Maze, use Mouse instead of Keyboard

383 byte By Katzuraa at 2007-9-28 8:26:20
Hi! Let say I have a 2D array tile map. If I want to use mouse click to point where my character will go intead of using Key event. Do I really need to implement some AI, like search for shortest path and avoid objects and walls, between the current position and the destination (Where I click). ...

J2ME games

180 byte By harshama at 2007-9-28 8:28:02
i want to implement a composite key control in my J2ME game. how? ys pl let me know if someone has done it before or if any one has any idea about how it can be implemented.

Accessing to files in differents servers

619 byte By rubenatoa at 2007-9-28 8:31:00
Hi: I am developing an application (with a public IP) with jsp's, customs tags and a database, and due to security roles, I should keep documents from a form (using multipart is easy and I got it!) into a different server behind a firewall, and I don't know how to make accessible to the ...

I would like some comments on this game

736 byte By richardbloemenkampa at 2007-9-28 8:31:15
Please test this game and give comments http://www.geocities.com/bloemenkamp/It was suppost to be some variant on the Amiga Peli Turboraketti game which I liked to play with my brother but maybe the rotating world is too confusing. On my Windows NT machine Pentium 400 is works fine, on a W2k ...

arkanoid paddle problem

1181 byte By El_Coyotea at 2007-9-28 8:32:30
I'm developing my first game, a small arkanoid game, and Ive made the paddle and got it to follow the movements of the mouse's yaxis. So good so far.I've noticed one thing so far: The paddle can go outside the the left side of the window, on the right it ...

Applet resources

270 byte By ranabpa at 2007-9-28 8:36:23
Hi,How do i make some policy file or whatever it needs for my applet to access files on the hard drive. They arent in the same folder as applet, it works with appletviewer, but not in browser. I know nothing about java security.Easy Way out ?

How Would I make a number?

580 byte By pommyJavaa at 2007-9-28 8:37:44
I've been thinking about this for some time now, but I still dont get it. Im tring to make a RPG, and in RPGs theres lots of numbers. Im tring to come up with a way to build a number from a given value in a varible. For example: The player has 1000 dollars, I want to show the number on screen ...