<p>I'm kinda new in all this.</p><p>could someone give me search tips on how to find a good tutorial on how to build games(not applets), mainly about animation and graphics. Or just point me to a good tutorial. thanks ahead.</p>
Hey!Sorry if this is posted in the wrong place, but I'm excited because I made my first game in Java. It's a rock paper scissors game and it's online atwww.geocities.com/glopv2The reason I made it is because I wanted to make a computer RPS machine that would detect patterns in your playing ...
Does anyone have a simple example / explanation of drawing a texture using JOGL? I'm getting confused about what I find on the internet. There are examples that use com.sun.opengl.util.texture.Texture and bind, enable en disable it upon rendering (but this doesn't draw anything in my tests, but ...
As my previous question did not receive any answers, I'll try to rephrase it.I need to change the volume of sounds during the game (changing pitch would be nice too). I tried to use:double currentVolume, volumeGain=.01, newVolume;FloatControl gainControl = ...
Hey again people, i hope my questions aren't to tiring, and thank you originalsup3rman for answering my last question. I didn't want to revive the thread for fear of annoying some random person.On to the question.I was just wondering the best way to go about having a MouseListener and a ...
Can any body have code to calculate ranks for a class of students whose marks are stored in a database. Finally after rank calculation we have to insert those ranks as per their login IDs..Please help me......
Hi Java Game DevelopersMe and a friend from work developed a game in Java. Its at www.spacemercenaries.comIf you want to play click on play sm, this will load the client applet. It will also ask you to confirm a certificate, this is because the applet uses sockets to connect to the server and ...
I have recently been asked to develop a game for a company.It is a simple game, nothing special but I was wondering ifanyone who has independently sold a game (or anything you programmed) had ideas on how to price it.Any ideas would be ...
59 byte By
biojaea at 2007-11-27 9:35:14
How would you implement a side scroller with tiles ?
Hey all! Alright, well i belive that the title of this describes what i'm basically looking for. Anyway, i'm writing a simple skateboarding game, and i need a steady framerate. I've tried multiple ways of keeping a steady framerate... all of which failed (obviously) which is why i'm here! ...
Hi,Can You advice me any 2D toolkit that will help me to create board and card games? The desireable features are:- On top of Java2D (OpenGL is less desireable)- Support for structures like sprites, layers, scenes- Operates with 2D geometry- Fast enoughI found Piccolo toolkit ...
557 byte By
Irona at 2007-11-27 8:37:58
Hello all,I am trying to get a simple image to follow the mouse cursor, to let the player control a ship in a shooting game.The problem is that I don't want the ship to follow exactly on top of the cursor (like a .moveTo method would do), but rather have it so the ship sort of lags behind the ...
hi to everyonei have a code of puyo puyo game..but iam not getting the logic of the game ...the code is import java.util.*;public class TehCodez {public static void main(String[] tartar) {HashMap tehDates = new HashMap();tehDates.put(new Integer(2), "u");tehDates.put(new Integer(4), ...
Hi! I already posted this in a different category, but was advised to post it in this forum...I am just preparing a course I am doing for 12 year old kids at a summer school.I was thinking of game programming. There is one software available that's free, called PyGame. I couldn't install it ...
hi to everyone.i want to get into gamedesign, so im planning to create a mod of a game.can anybody help how to get started with it and what is involved in itthanks
I have programed one first person game using Java 3D and am working on a new idea and I hope to be able to run it through a web browser.The problem I am having is using the mouse in the game were it does not leave the applet window when moved and I can keep track of how much movement it makes ...
18413 byte By
PaRlOaGna at 2007-11-27 8:12:12
Hey People! I've recently begun programming a game where there's a few tanks that rotate around, but this version is completely from scratch, I haven't used any code from the Game class (haven't really looked into it any way). I'm having a bit of trouble with the networking side of things. ...
hii have done my engineering in computers.i want to enter into game designing field.anybody can show me the direction.pleasethanks
823 byte By
Nialsha at 2007-11-27 7:58:30
Hey everybody.I'm working on a little turn-based game and I hope to learn a bit about networking in the process by making it multi-player.The only problem with that is that I know next to nothing about networking. As I understand it, I have to have a server that each instance of the game ...
536 byte By
KayDeEa at 2007-11-27 7:53:12
good day to all of you!!I am interested in a project that says:Game Engine Development ( 2D ) for my final year B.E project.The thing is i have no experience or any knowledge about game engine development.My professor says we can use VC++ but any other language would do.I have been studying ...
I have plans of making a 3D on-line first person shooter applet. I am wondering if a java applet will be able to handle(with high frames per second) all of the rendereing required to do it.
How do you make it so that the player is centered as it walks and moves through a tile map ?I've tried moving every object manually but i cant get it to work, and it also seems very inefficient.Thanks.
I built a top down two player death match game. However, due to the limited amount of key presses java can process it requires a game pad to play. So I'd like to rebuild it as a two player network game. Can anyone provide me with a good piece of example code to show me the basics of how to lay ...
Summary:A game I have written uses bitmaps and lots of Ellipse2Ds. The Ellipses are in the background and occasionally need to all be redrawn (there could be many - let's say 100 at a time). This works fine on a Windows box, and Macs from G3 - current Intels. When I attempt to run the ...
1101 byte By
Nethera at 2007-11-27 6:53:35
Note: this post has been copied from the Programming section, i won't link it b/c all the replies were useless.A graphical one that is.The technique that I'm using is this:-create a grid of points-have them move around according to formulas-render them where lines are drawn from point to ...
Hi there,Am very novice to Java programming and recently downloaded a applet based java game from the net. I wanted to tinker around with the code. I downloaded a java dj compiler to extract the source code to read thro the code. After which i wanted to make some changes to this source code and ...
.....
5588 byte By
Sangea at 2007-11-27 6:05:48
Well, check it. Basically I'm running an application that looks something like this:public class Gameextends Canvas implements KeyListener,MouseInputListener{/*-Variable Declarations-*/...//GameApp ObjectsBufferStrategy strategy;JFrame gameWindow;Graphics g;public Game(){version=2.0; //see ...
Is it best to build the game and its features then add the network code later? Or is it best to program the network parts while you are building the game?
I am developing a java applet based game portal but the problem is that the applet will not run till the JRE is installed on the client machine.I don't want the user to manually download and then install JRE.Is there any mechanism through which i can detect that whether the required version of ...
i don't get how each thread knows what it is supposed to do when start() is called. how does the program distinguish the start() and run() methods. also, i'm just experimenting on sound. and i converted an mp3 file to an au on a website. then when i put it in my program it was rreeeaalllyy ...
my friend and i want to know what would be best for our game. if you havnt seen it yet, its located at http://topgun.freespaces.comeventually we're gonna hav missions and levels for each mission. we're also gonna hav upgrades. would it be better to hav passcodes to get into each levl, with ...
what would be the fastest way to load images. currently i am using ImageIcon and it seems to be slowing evrything down.
i am developing a 2d game with my friend and we would like user input for what we have so far. thers a link to comments at the top or u can comment here, and we understand that ther is only one level. http://topgun.freespaces.comthx in advance
So, just browsing through these forums, I see many posts by prospective game designers wanting to get started. But many of these questions are so ill-researched or off basis that most people don't even know how to respond. So here's a quickie guide on how to get started learning to make a ...
I am having trouble with resizing the screen in this program where I use a buffered strategy to buffer my screen. Here's the problem area in my code:GraphicsDevice <graphicsDevice> = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice();<displayMode> = new ...
.
[url #"style="display:block;background-image:url(' http://www.system16.com/screens/puyopuyo2_a.jpg'); width:320px; height: 246px] [/url]
I have been looking through animation examples and am interested to find two methods of creating a simple animation. One way is shown to use Timers to schedule a repaint call, the other is to create a new thread and use that to repaint the JFrame over so many milliseconds. I have seen the use ...
my friend and i uploaded a game to the internet at the following URL: http://www.geocities.com/chrisbert91/we are by no means done with the game. we are far off. we want input on the game and how we can make it better. we are also having a problem. the images are rather slow to load and we need ...
Here is a code fragment of my Falldown game, the problem is that the KeyEvent does not trigger the ability to change the value of the x_pos of the ball. I used debug statements and verified they were working but for some reason it doesnt change the animation:public class PaintBall extends ...
I have always been fascinated in how a pinball sim works and have always wondered about the algorithm(s) that enable the realistic bouncy movements of a falling pinball.If I am able to wrap my mind around it then I may attempt a simple pinball game using Java.If anybody has attempted this in ...
:(
I'm trying to verify that I'm using lightweight components/containers.I see that my container's peer is sun.awt.NullComponentPeer.Does that mean that it's a lightweight component?Thanks.
I have if(engine.pPressed && !pauseGame){pauseGame = true;countergamePause = 10;}if(pauseGame){if(engine.pPressed){pauseGame = false;}return;}But that only pauses the game if i hold down the p button. ANy clues why? anyways to pause ...
Hello, I am currently working on a port of the Falldown game, if you don't know what it is you can search for a flash version on the internet.For those who know what I am talking I need help implementing the random platforms that scroll vertically on the screen. I have been thinking to either ...
Hi, I am working on a project to create a pinball game using Java. I have been told to use JSlider to create the spring where the ball fires off from and I am struggling with this part as I haven't used JSlider properly before. Can someone offer any help,Thanks
i need an idea for a collision checker.the picture i want to collide is a plane and it is being hit by a bullet. but right now the picture is a box and so its really unrealistic. thx
1084 byte By
J.D.a at 2007-11-27 3:51:13
Hello everyone,I have a key listener that looks like thispublic void keyPressed(KeyEvent e) { int key = e.getKeyCode();if (key == KeyEvent.VK_UP) t.keyUp();if (key == KeyEvent.VK_DOWN) t.keyDown();if (key == KeyEvent.VK_LEFT) t.keyLeft();if (key == KeyEvent.VK_RIGHT) t.keyRight();if (key == ...
50 byte By
Hanz_05a at 2007-11-27 3:41:59
I didn't noe it was forbidden........Sorry