2133 byte By
jamdr at 2007-9-30 22:13:29
I'm only getting about 50 fps when I use this paint() method. Why is it so slow? Eventually I need to add another loop to the draw() method that will draw all of the transition tiles, but that would lower the fps to 25!//located in main game looppublic void paint() {Graphics g = ...
156 byte By
Eliwood at 2007-9-30 22:23:46
How would I go about writing a small and simple WAV to OGG converter for users wanting to convert their sound files over to OGG for use with my game?
hello! i wonder how to animate two characters at the same time (independent from each other like my player and monster are moving at the same time).by the way, im using midp.. i used Timers for the animation of my player. I have a method named appendLayers() that appends the sprites (including ...
Good day! i have a player, monster1, monster2, vendor etc. in my game. what is the best way to design classes for my creatures? by the way, im using midp (J2ME). for now, i have a Creature superclass for my characters. Player, Monster, NPC are its subclasses. have i done the right thing? What ...
Hi thereI've just finished a computing degree and am looking for a job. I was wondering if anyone knows anything about edutainment (educational games), or any kind of educational software. I think that this sounds quite appealing field to enter, so I was wondering if anyone has any ...
Hey smart people, how's it goin?Im making a Snake game, the same kind that you'd find on the old cell phones: a square =a segment of the snake. As the snake eats, it gets bigger. When you crash into yourself, game over.Im having a tough time with the GUI aspects of this. I have 2 classes so ...
952 byte By
d-H at 2007-9-30 22:43:46
HeyIm developing a very simple betting game where you bet on which car will win a race, the cars are implemented as seperate threads, http://deadhit.com/java/php.phpWhen the race button in the Race class is pressed, i want all the engine thread to start running, while(true) { if(Race.isRace ...
861 byte By
FaeLLe at 2007-9-30 22:43:58
Hi,I am developing a Arakanoid Style Game and basically i was wondering is there a appropriate algorithmic way of calculating how the ball will bounce once it hits the bar.So if the ball is coming from the left side and hits the bar how do i calculate which is the opposite side which is the ...
My game uses a JFrame with a JPanel in it.In my game loop I pretty much do three things: I update the game state, I get input from the user (non-blocking), and I draw the game state to the Graphics object of the JPanel (using double buffering buffer strategy)Everything works fine. On my AMD ...
799 byte By
Nibur at 2007-9-30 22:50:21
hi have have a problem i have this topic could be posted here or in GUI swing but seems and the thing i am developing is a game i though you all would have had the same problem how do i pause ie have a delay before repaint when somthing is in a loop likefor (int i=0<10;i++){status="asldfj ...
hi~~Does anyone have some web site providing large amount of png/jpg image for gaming?thank~~
1091 byte By
Guest42 at 2007-9-30 23:07:50
This question is actually more about C++ than Java, in a sense, but I'm posting it here because it really requires knowledge in both fields, and all the C/C++ forums I went to haven't been much help.Anyway, here goes:I've been working with Java for a while now, mostly focused on gaming ...
706 byte By
d-H at 2007-9-30 23:12:26
Hey This should be a really easy question, been searching the forum though and cant find many topics that helpwith DeltaCoders help i managed to get my applet working, locally it works exactly as i want it, however on the web there is the occasional little bug, ...
318 byte By
FaeLLe at 2007-9-30 23:16:48
Hi,Is it possible to deternine pixel by pixel if two images are overlapping provided i have the x,y coordinates of the top left corner of the image and the image height and width ?Kindly point me in the right direction as i have not been able to find a single resource for Java ...
Hi all!I have the following problem - I want my airplane to be able to collide with a tile.this are the methods I'm now using but they doesn't seem to work as I want them to...In the GameCanvas class:/*method to check for collission*/boolean containsImpassableArea(int x, int y, int widths, ...
HiIm very new to making games, and Im trying to do an asteriods type game. I currently can make my ship rotate left and right using the left and right keys, but I now want it to accelerate in the direction that the ship is facing when 'up' is pressed. Can anyone help?Thanks in advance to ...
227 byte By
tonynza at 2007-9-30 23:35:52
THANG THis game..gana be...awesome~~!!! I watch du tralier and was great....and it's gana come up.. middle of december~! http://thang.ongameport.comCheck it out~!!! cool..ha ^^?
Hello everyone!Are there sites you could recommend concerning Artificial Intelligence? Those that discuss AI algorithms and are easy to understand (i'm a newbee). I'm going to implement it in a mobile phone (MIDP). Thanks in advance!P.S.wow, the forum's interface is impressive.. keep up! ...
Hi, does anyone have a 2D special effect for drawing a rocket's flames and exhaust that they would be willing to share (open source only please)? Or, could anyone at least post some hints on how to make some cool special effects?Thank you.
504 byte By
Nibura at 2007-9-30 23:47:01
Ii have never written AI before and i think this game that i am making is very difficult it is "Spite and Malice" just a two player game can any body give me so tips on how to start the AI and how to provent infinate loops and thing like not beable to find moves and just so tips in general but ...
112 byte By
mgbawa at 2007-9-30 23:50:51
Dear All,could any one give me is the best .3ds model loader in java and the links to download it.
i know this is a very common problem, but even the forum search did not result in an answer.i digged my old arkanoid out of its grave to work it completely over. the very first thing to do is getting smooth animations.please keep in mind, that this is a first attempt not a final construct: ...
655 byte By
00wimpa at 2007-9-30 23:57:48
hey, I'm working on a program, shaping up to be an rpg (tile-based). I'm having trouble with something though. How it basically works is, it loads chars into a matrix, then uses a for loop to spit them out again (later on), and when they get spit out, it uses:this.getContentPane().add(new ...
Hi,Is there a way to draw only part of a BufferedImage (or any Image) to a Graphics object using the standard AWT tools?Specifically, my problem is that I'm using a single large background image in my game (which I can't break into seperate files beforehand). When a mouse motion occurs, I ...
Just wondering if there are A* source codes available to download. If there are, where can i possibly download it? Just to save some time and effort...maybe i can use it in the mobile game im developing :)thanks a lot.
Hi. Im new to making games. Ive so far gone through a space Invaders tutorial and done an asteroids clone. I now want to improve my knowledge further so am thinking about doing a Pacman game.However, I currently dont know how to go about making the maze, (which of course, restricts both the ...
443 byte By
mlka at 2007-10-1 0:29:02
A year has passed, 1.5 is out, and so it is time for more funky games in 4K of JAR. The rules as before: The game (byte code, the source can be as large as you like), plus required resources MUST be 4k or under.It must be a playable game, so not a scrolling none-playable demo.The Prize, yeap ...
118 byte By
h.daya at 2007-10-1 0:29:27
pleas tell me adout good online free courses or cheep offline courses in australia for making games using j2se.
522 byte By
J-Rala at 2007-10-1 0:34:37
Hi there,I am looking for peoples opinion on which 17" or 19" flat screen monitor they think is the best and why!I am hoping to purchase a new monitor very soon and am looking for some advice from people who use their monitor for similar tasks as what I will be: programming and game ...
315 byte By
eddymvpa at 2007-10-1 0:35:00
I created a poker game to play with the cpu. Of course i programmed the computer and since i knew that its going to do its really easy to beat it. I want to extend this program and give a copy to my friend and I want it to be able that me and my friend can play each other. Is there a way that I ...
hi everyone!i wrote a sokoban-remake in J2ME (but J2ME shouldn't be the subject here ;) )till few hours ago, i've painted a "birdview" of the playfield ...but i had the "great" idea to write another painting-canvas which paints my playfield in isometric style.so far so good. i've got my ...
HiIm a Java game begginner, and am making a Pacman game. I now need to do some AI for the first time.Firstly, however, Im not actually sure what the ghosts in Pacman traditionally do! Would they normally choose a random direction at a junction, or attempt to always close in on Pacman, or ...
161 byte By
Kamua at 2007-10-1 0:53:00
We are currently developing an mmorpg and are looking for help, if you are interested please go to : http://pub35.bravenet.com/forum/2984049764/show/372814
695 byte By
Sangea at 2007-10-1 0:57:54
Well, I'm currently in a 'gaming club' at my high school. We are a small group of about 10-12 people that enjoy playing and designing games. Recent accomplishments consist of Battleship, Snake, Airhockey, and a few other minor 3D games.As of late, we wanted to take it to the next level. ...
456 byte By
wannera at 2007-10-1 0:58:04
I thought i would make a pokergame but im starting out with blackjack since it should be easier.Im having some problems with how to deal the cards.I have a Deck which is a List containing Card objects.I figure that somehow i should make each card paint itself when picked?I tried making a simple ...
I am trying to play a wav file in my applet game. But I get a runtime error that states I do not have access to the file. How do I get around this?The error:java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)at ...
879 byte By
Furya at 2007-10-1 1:09:01
public static void main(String []args){GraphicsEnvironment myEnvironment = GraphicsEnvironment.getLocalGraphicsEnvironment();GraphicsDevice myDevice = myEnvironment.getDefaultScreenDevice();JFrame mainFrame = new ...
Hi, I'm pretty new to game development and I've been working on a simple pong game. Everything pretty much works except that I can't get my paddles to stop at the top and bottom edges. Heres my code:(In class Paddle)public void paddleMove() {y_pos += y_speed;}public void ...
I have an import at the beginning of my code but it is underlined and when you hover over it it says imported type ... is not visible. Why? I have added the jar and all other imports work fine. What could be wrong?
51 byte By
h.daya at 2007-10-1 1:24:18
is sun Makeing any new game Courses for J2SE
I've recently started learning Java and I would like to try and program a client for a text-based MUD but I have no idea how to get started. So I was wondering if anyone could give me a few hints or direct me to a book or a web page or something. Thanks.
3403 byte By
zlogica at 2007-10-1 1:35:53
I have an game which uses Java2D for its graphics.I have a procedure to dynamically toggle fullscreen/windowed support.When I start the application in windowed mode, it works quite fast (about 1200 fps). Then I switch to fullscreen, it works also fast enough (600 fps). But after switching to ...
any ideas on dynomite-like games?where can i find online tutorials on how to make java games?
708 byte By
Nicofa at 2007-10-1 1:37:52
Hello,I'm a beginner in java development game, but I have already developed a 2D game with C++. I've used the SDL library which provides a simple loop for catching events, and which is very similar to loop provided by the MIDP's game API.But, I haven't found the same library for a standard ...
Why netbeans 4.0 doesn抰 recognized JavaMail APIs? What I have to do? Eclise recognized it but when I put javax.mail.* in netbeans it says that the package doesn抰 exist. Thanks,eMe.
hi im really new to making games in java so i need help. im making a snake game right now, and i can't figure out how to make the snake grow and have it follow the body.heres my code so far.....import javax.swing.*;import java.awt.*;import java.awt.event.*;import java.util.*;import ...
323 byte By
Barneya at 2007-10-1 1:55:19
Hello People,Need a little help... I'm doing a board game project in which I must move an image from a source button to another button (one of many possible) that is clicked. I am stumped at how to attempt this because I can't find any resouces! Can anyone offer any links or tips? Help will ...
471 byte By
caioosa at 2007-10-1 2:04:39
i need to paint images on a graphics object while masking a certain color to be completely transparent. is there any way to use a colormodel to set that certain color to mean that pixel should be drawn with full alpha? or how can i use the alphacomposite to combine a sprite image and a mask ...
I'm new to game programming, no extensive knowledge or anything, but I wanted to make 1 simple 3D software java demo as a start. I've started coding the classes, but I seem to be pathetically stuck trying to render polygons in the right order. I was wondering if anyone could show me how the ...
Ok, I was reading up on how to do AI and such(various algorithms)I was wondering about how to implement this type of AI in Java.Heres an example: X00000000001110111111110001011000000010101000111111010001111111111Slets say that this is a maze of sorts- the 0's represent valid locations to move ...