Hi everyone, im in my final year at uni, im implementing a board game in java. I've started programming it, but have the main part yet to do, which is the actual game play. I need someone to look at my code and give me a few pointers, or even better do it for me, all this of course after you ...
hi guys im new to all this . I have a question if i want to say a string would i do it using a FileoutputStream();
1108 byte By
jamlub1a at 2007-11-26 16:22:22
Hello,I am a computer science student, and I'm currently writing a DDR(Dance Dance Revolution) clone, and I can't figure out how to make my menus scroll with the keyboard. The menu is composed of JLabels placed on a JPanel, which is set as the content pane when it is needed to be displayed. ...
Hi everyone, im still new to programming, i got a very simple homework but i dont know where to start. The program that im needed to do is firstly ask the user to type any two words ( the program are not needed to check if the word exit ) secondly the program shud be able to tell if the 2 words ...
Tryin to draw my temp hex tiles, but i am having problems getting them to 'stick' horizontially, ive read tuts. but my problem is that i dont know how to find the length of each side on the hexagon, i need that for the other problems to work, but ive gone this far with just dividing the ...
hi i am new to java and i am making a personal contact n bday reminder program for myself. i wanted to add a splash screen when i load the program.i tried Thread.sleep() i tried to use System.currentTimeMillis() with a while loop.. but the problem being my splash screen doesnt show on teh ...
476 byte By
Nethera at 2007-11-26 17:12:57
Hey,In the past, most of my games have used other people's images and sounds, but now i'm trying to make this next one completely my own. I can create my own pretty well with Paint.net, gimp, and photoshop, but I have where to find a sound creator. Can someone point me in the right direction ...
557 byte By
TheTima at 2007-11-26 17:14:39
Okay, I've been searching the net for a few hours trying to figure this out...It's probably something really simple, but I'm tired and the brain isn't working right :)I want to use the Java2D TextRenderer to overlay text onto a JOGL scene I'm creating...I've found some samples around the ...
318 byte By
NbaProga at 2007-11-26 17:29:31
Hi,For a game I am developing I would like to capture the native OS data such as texts, icons, windows, before it is displayed on the screen, so that I can alter it. Mainly I am looking for the object itself (e.g. text string), its location, and its properties. Is this possible to do?Many ...
Hi there,There must be simple answer to this one, however I am still looking for the solution. If you know it then please post it here, otherwise I will update this post once I know the answer.What I would like is basically the following: My JFrame loads a JPG from file and places it as ...
Hey everyone, I recently found the need to program a gui in Java but in console, no actual screen or anything. However, I cannot find any examples of how to create a gui in the terminal in java. All it would need to do is show the movement of something. Thanks a bunch ...
sir,how to use the java console application for displaying game output?i thought that console is only for displaying text outputs but how can i display images?do send me any examples if u know ,for displaying images in java consolemail: raj_mca4u@yahoo.co.inthank ...
3736 byte By
Leon945a at 2007-11-26 18:01:59
Hello!I have a problem.. maybe it磗 simple to fix, but i'm kind of a newbie...I'm trying to make a 2D shooting game..The problem i'm having is that whenever the user "shoots", a bullet object is created, but i noticed that the bullets never disappear from memory...This is the Bullet ...
[url] http://rapidshare.com/files/15914242/Version_3.rar.html[/url]
Hi everyone--I've been trying to learn Java for about the last 6 months or so and I finally finished my first game - 'Sudoku'... so I thought I'd post a link so other people could download it and try it out! I think everything works, there might be a few bugs which I haven't run into and I ...
Hello, I need some advice. I was going to start building games with c++/c# but when I was going to start learning directx for c++/c# I thought it would be better to use the games I make over any os(operating system).BUT, will opengl with java have just as good graphics as c++/c# using directx ...
Hi!Please help!How can i make easy a running highway with curves effect?Thanks
How to animate a OBJ or 3DS file on java ?...
I try to execute a sample code of JOGL, but i have the following message error :Exception in thread "main" java.lang.UnsatisfiedLinkError: no jogl_drihack in java.library.pathI use Netbeans 5.5 over Linux ( Kubuntu 6.10 )tks.
Hey, ive just recently started looking into making a java game, i want to start simple and build up to making something bigger.. ive been looking all over the site but cant find anything helpfull about what you need to start making java games, please could someone tell me the link to what ...
14583 byte By
.Williama at 2007-11-26 19:28:23
I am trying to get this code to work, I am not really sure of the problem with it. I am using JCreator to write/compile/run it. When I compile it, it compiles fine but gives this message. "Note: C:\JFiles\Exercises\Sudoku.java uses or overrides a deprecated API.Note: Recompile with ...
362 byte By
Nethera at 2007-11-26 19:33:05
In a game like age of empires, do they have a separate image for each color of a unit.ExampleredSoldier.pngblueSoldier.pnggreenSoldier.pngOr do they have likesoldier.pngand then they modify the pixels during runtime to create a soldier image of each color.If choice 2, how do I do ...
3047 byte By
haliphaxa at 2007-11-26 19:42:57
i've been using the SQLite JDBC driver in order to load maps and filenames from an SQLite *.s3db file. locally, it works fine.as soon as i upload it to my webserver (which is on my local network, controlled by me), it just blanks out and sits there.java.lang.NoClassDefFoundError at ...
1116 byte By
Nethera at 2007-11-26 19:44:28
For a real-time strategy game, when you construct a building or unit, it's supposed to take a certain amount of time to build.If Unit A takes 3 seconds to build, how do I ensure that it takes 3 seconds on any computer no matter it's graphical power.See, if I ...
4984 byte By
davegelha at 2007-11-26 19:54:03
Alright I'm trying to make a simple game, as it's my first game that not a simple puzzle game. Right now I'm attempting to make the player just walk around on screen. However for some reason it keeps allowing the player to move off screen. I can't figure out why. Any help would be ...
am trying to programme a game" who wants to be a zillionaire", i have thot about my classes and what am to do but am struggling to begin, i would be gratefull if anyone can help me out.thanks
hey all,I want to create two panels in the main frame i tried to do but, the two panels created with the same size, however i want one of them is norrow in in the buttom of the frame, how can i make the panels with different sizes? thanx
I'm trying to display the current score in the upper corner of each players side, how do i go about printing out text in my applet
hi all,i am developing a game project whoes user interface is flash client so i am going to use wowza media server written in java my problem is that my game logic is already written in python i needs to call that game logic in my java classes is it possible or i have to use Jython plz sujjest ...
963 byte By
doktata at 2007-11-26 20:20:24
I'm working with variations of the JOGL version of the NeHe tutorial 10. I have incorporated Andrew Davison's obj loader and am rendering an object from a Display List. I am drawing the object's shape but am not getting the object's texture and materials properties. The NeHe tutorial uses ...
hi, im a newbie in game programming (just taking it at uni this year) so please bear with me...im working on a game where the player initially has no idea about the map. so the player has to explore the map and find stuff (Player has limited vision). There are several types of obstacles that he ...
I'ts been suggested that I link to my topic in new to java about a problem I'm having with 100% cpu usage, that I think is due to calling repaint.Can someone help me out here - this ahs been driving me crazy for ...
I have an image moving from point a to point b - both points are known.At the moment I'm updating the co-ordinates by doing the following:double speed = 1;double angle = Math.atan((double)yDistance / (double)xDistance);if(entryX > destinationX && entryY > destinationY){travelX = ...
103 byte By
at 2007-11-26 20:52:13
Is there a java game engine api or class?If not, is it spread among multiple api's and classes?
Right now I just want to be able to create like an old school ascii rpg or some sort of simple tile rpg game. The main purpose is to flush out an RPG system that I have created and to see it within a computer game.Is Java the best thing for me on this or is there something better? I have had ...
I downloaded this game online a couple of days ago after downloading it I'm naturally eager to play. When the game's window opens it's titled "Win32Window" and it freezes for a second, only displaying the edge of the window. The rest of my desktop is visible, but not accessible, through the ...
536 byte By
Sloespa at 2007-11-26 21:09:58
We have created an old school vertical shoot 'em up with JAVA. It was a lot of work but result is very nice. We also did the sound effects, music and artwork.Collect money to buy upgrades for your ship and eventually save the universe! :-DPlease let us know what you think,Regards ChrisA ...
hello , i'm a computer science student and we have a machine project on making a java game. Well , our game is mostly a mixed bomberman-finalfantasy tactics type of 2d game. However , i couldnt seem to figure out the algorithm behind the object collision/interaction (for example , how will the ...
hi guys, i got a problem while solving a geometry problem. problem description is as follows.i have 2 points p1(x1, y1), p2(x2, y2), and i have to find the a point p3 which is d1 distance from p1, and d2 distance form p2. here i have to get 2 points for point p3(x3, y3) because i dont know ...
Currently I use x,y type of colision detection eg if(x_pos > otherxpos){// do this}etc...is there any other ways of detecting collision like intersecting or something. Help would be appreciated as my current collision detection contains a lot of if() ...
328 byte By
JackBoba at 2007-11-26 21:55:39
.....shiney!So like turning something like a tiny little bullet that gets shot from a gun into a tiny bullet that gets shot out from a gun which has the bright effect like its accually being shot.. hopefully thats a good explanation.... so if any one can help me or point me to some tutorials ...
My goal is to create a game similar to runescape (www.runescape.com) and become a millionare, nay billionare. I calculated the average number of paying members on runescape and multiplied by 5 (5 dollars a month) and figured out that runescape got a whopping 34 million dollars a month. But ...
Hello, I am currently developing a game. I have finished nearly all the programming involved, however, I still have a problem concerning Dual-Player - I would like to be able to listen to several keystrokes simultaneously so that each player would be able to move whilst the other player is ...
How would you create a tiled base for an RPG? Is there some way of using it in an array?
540 byte By
Sangea at 2007-11-26 22:12:06
I'm fairly new to the 3D Game Design world and was trying to learn it. All the books I have use C++ and either OpenGL or DirectX. I know some OpenGL that I used with both JOGL and LWJGL, but nothing serious. It's not that I don't want to learn C++ yet, but it's more so that I desire to ...
3329 byte By
szgya at 2007-11-26 22:17:45
Hi,here is my code which should simulate the moving of moons around a planet.I am using Newton's law of universal gravitation ( http://en.wikipedia.org/wiki/Newton%27s_law_of_universal_gravitation)public Vector3d calculateAcceleration() {double r2,r3;r2 = p.distanceSquared(new Point3d());r3 = ...
293 byte By
netza at 2007-11-26 22:37:07
Hello i speak spanish my english is not goodWhen i execute a java jogl program i've problem with swing.The jogl window catch the events from swing and execute accions out control.How can i lock the events from swing ?Thanks netzrod@hotmail.com
Hi,I am new to this forum .. can any one suggest me how to implement 3D Mesh plot or surface plot using Jogl or open GL or lwjgl Libraries ..It would be great if some one can help me out in this as I am new to these jars Thanks in advance raghavan
I am a beginner to use JOGL. I find that I can not control the color, both background and foreground. The background is always Black, and foreground is always Red.I use canvas.setBackground(Color), gl.glColor3*(), trying to change the color. But it does not work. What is the ...
1268 byte By
dubaa at 2007-11-26 23:06:57
hey, i am looking some advise on buidling a Finite State Machine using java. I im about to start a project where i must create a "virtual robot world" which consists of a number of robot agents (simple filled rectangles). Each of these agent will have a number of states such as stopped, ...