Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (636)
Games in Android Showcase (178)
games submitted by our members
Games in WIP (688)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1] 2 3 ... 7
1  Discussions / Miscellaneous Topics / Re: A fairly new online game :D on: 2006-05-04 18:59:25
If you really were an active member of this board then you would know that requiring a login is going to turn away 90% of the people and offer money in the game for doing so makes you look shady!  This makes it obvious that you are also a liar.  So now, after only 2 posts you have made yourself out to me shady and a liar!  Quick work, good job!
2  Game Development / Newbie & Debugging Questions / Re: How to make an applet email some data? on: 2006-04-19 20:21:46
It's an html thing
<a href="">Email Link</a>
3  Game Development / Newbie & Debugging Questions / Re: How to make an applet email some data? on: 2006-04-19 19:01:53
make the action of the submit
4  Game Development / Game Mechanics / Re: JOODE Development Status on: 2006-04-12 21:39:15
 Grin Thanks!
5  Game Development / Game Mechanics / Re: JOODE Development Status on: 2006-04-12 21:01:34
Is there someplace to download the tests so we can see how the development is going?
6  Game Development / Game Mechanics / Re: JOODE Development Status on: 2006-04-04 18:46:29
The CVS repo at sourceforge has been down for the last couple of days.
7  Discussions / General Discussions / Re: Poll: Game Development Team on: 2006-03-29 19:42:11
Not true, the first program that I worked on at my current job netted my company $5 million and it was only a small subset of the entire application.

Anyway I voted that I would but that the money doesn't matter.  I am starting a software company with my friends now because I can't imagine a group of people that I would rather work with.  And they all have very well developed and varied skills that I hope will lead to our success!  I can only hope that we will develop something that wil bring in $10 million!!!!
8  Discussions / General Discussions / Re: XBox 360 Games on: 2006-03-28 19:12:32
I am VERY impressed with Condemned:Criminal Origins.  The graphics, physics and gameplay are all amazing!
9  Java Game APIs & Engines / OpenGL Development / Re: Screenshots in LWJGL? on: 2006-03-23 19:01:19
If you are going to take the shot in away from anything else you could use the ZBuffer to decide what should be alpha and what should show.
10  Game Development / Newbie & Debugging Questions / Re: 2d arrays. on: 2006-03-15 22:42:44
Lets say that you have a 3x2 array instead, for simplicity's sake, that looks like this
0  0
0 10
0 20

meanig that you want the pictures to be drawn down the left hand side like this
[ ]
[ ]
[ ]

Ok, now lets look at your code
for (int i = 0; i < 3; i++)
    for (int j = 0; j < 2; j++)
        g.drawImage(HitImg, CursorHitForClient[i][j], CursorHitForClient[i][j], Graphics.HCENTER | Graphics.BOTTOM);

I added the brackets for clairity.  Ok on the first loop through it gets [0,0] which is 0, so it draws at (0,0), then it hits the inner loop again and gets [0,1] which is 0 again so it draws another one at (0,0).  The it hits the outer loop again and it it gets [1,0] which is 0, so it draws a third image at (0,0), then it gets [1,1] whic is 10, so it draws the image at (10, 10)!!! Then it will draw another one at (0,0) then at (20,20), then at (0,0) then at (30,30).

The trouble is that you are using the same value for both the X and Y coordinates of the drawImage().  Your code should look like this instead.
for (int i = 0; i < 3; i++)
    g.drawImage(HitImg, CursorHitForClient[i][0], CursorHitForClient[i][1], Graphics.HCENTER | Graphics.BOTTOM);
11  Java Game APIs & Engines / JOGL Development / Re: Really stupid problem on: 2006-03-15 17:41:14
It's the byte stuff.  I had the same sort of problem.  I ended up using char's to hold the data for images that were 16bpp and long's for 32bpp then casting them to int's to put it back into the buffer so that Java wouldn't misinterperate the signed vs. unsigned stuff.
12  Java Game APIs & Engines / Java 2D / Re: Rectangular Map on: 2006-03-13 22:54:40
Will a JScrollPane work for you?
13  Discussions / General Discussions / Re: Why C# teams try to port C++ engines to pure C# quite often(?), but Java don on: 2006-03-13 18:25:36
I tend to believe it's too big language differences between C++ and Java.
I don't think that's the case.  I mean there is the JOODE project that is porting ODE to Java, besides going from one language to another always has issues, regarless of which two they are.  There could never be a purely Java port of these engines because in order to talk to the hardware there needs to be at least a little native code.  So a wrapper is really the only solution.
14  Java Game APIs & Engines / Java 2D / Re: Chek Mouse pointer INSIDE a image... on: 2006-03-09 18:37:01
Well, you know the location of the upper-left hand corner of the image and it's width and height, you can use these to build a rectangle.
if(mouse.getX() >= image.x && mouse.getX() <= (image.x + image.getWidth() &&
   mouse.getY() >= image.y && mouse.getY() <= (image.y + image.getHeight())
    // The mouse is inside the image
15  Java Game APIs & Engines / Java 2D / Re: ByteBuffer into BufferedImage on: 2006-03-03 17:51:15
Ok, I am having a heck of a time with this!  What I have are gray scale images that have either 16bpp or 32bpp.  When I wrtie them out to a file, Photoshop can read them as raw images, but I still can't figure out how to get them into a buffered image.  The setRGB() takes an integer array as an argument, so I can't figure out how to use the 16bpp images there and when I use the 32bpp images they show up as just black!  Here is the code that I am using:
// Write RAW image format
// Create BufferedImage
BufferedImage image = null;
    int[] rasterArray = new int[rasterData.capacity()/4];
    count = 0;
        rasterArray[count] = rasterData.getInt();
    image = new BufferedImage(cols, rows, BufferedImage.TYPE_USHORT_565_RGB);
    image.setRGB(0, 0, cols, rows, rasterArray, 0, cols);
JFrame previewFrame = new JFrame("Image Preview");
previewFrame.setSize(cols, rows);
previewFrame.getContentPane().getGraphics().drawImage(image, 0, 0, null);

and I have attached one of the 16bpp images and one of the 32bpp images in a rar file.  I had to rename it as .txt so just change it back to .rar

I uploaded the wrong file initially.  It's fixed now.
16  Java Game APIs & Engines / Java 2D / ByteBuffer into BufferedImage on: 2006-03-02 21:11:31
I am reading a binary file and I need to take the data and put it into a BufferedImage so I can display it.  It seems like I should know how to do this, but I can't think of it!  Anyone able to help?
17  Games Center / Archived Projects / Re: Three simple games on: 2006-02-28 20:33:21
Those are really good!  I especially like the SnakeCharmer game!
18  Discussions / General Discussions / Re: java.nio.ByteBuffer on: 2006-02-27 19:27:38
Ok, thank you!
19  Discussions / General Discussions / java.nio.ByteBuffer on: 2006-02-27 18:08:45
I have a file that has image data in it in Big Endian byte order.  I have created a ByteBuffer and set the order to Big Endian.  If I use myBuffer.getShort() will the resulting short be in Big Endian or the native order for the OS?
20  Discussions / General Discussions / Re: Layout Help! on: 2006-02-27 16:40:14
Perfect!! Thank you!
21  Discussions / General Discussions / Layout Help! on: 2006-02-24 22:29:52
I have a JFrame that I have set up that looks like this:

and I want the label on the right to be centered up and down in the space marked by the arrow.
Here is how I have it laid out:

Inside the lower JPane with the parts labeled BorderLayout.WEST and BorderLayout.EAST I have panels with FlowLayouts modified to justify left or right.  Now how can I get that Label to center vertically?
22  Java Game APIs & Engines / JOGL Development / Re: Making the transition from C++ to Java on: 2006-02-18 18:31:16
The book they gave us in school which was very good was
Java: How to Program by Harvey M. Deitel and Paul J. Deitel
isbn: 0131483986
23  Discussions / Miscellaneous Topics / Re: nineteen. on: 2006-02-17 22:11:11
In the deep south, I'd be almost old enough to be your grand-dad....
24  Discussions / Miscellaneous Topics / Re: where you are friends? (Google earth) on: 2006-02-17 21:45:30
It's actually not that big of a company, the picture is decieving.  We have about 200-300 employees.  Yeah it's a long way between the two (about 10 hours by car) and my family is still there. Cry
25  Discussions / Miscellaneous Topics / Re: where you are friends? (Google earth) on: 2006-02-17 20:57:26
I work here
43 03'15.49"N, 76 03'36.12"W

It is actually a lot more developed than when those pictures were taken.
and I grew up here
39 56'43.04"N, 83 03'00.62"W
26  Java Game APIs & Engines / JOGL Development / Re: Making the transition from C++ to Java on: 2006-02-17 18:32:20
Are you doing the drawing in OpenGL with C++?  If so then using a Java binding won't be much different.
27  Games Center / 4K Game Competition - 2006 / Re: Putting things into perspective on: 2006-02-15 20:03:29
I'm not worthy!  You are awesome!!
28  Games Center / 4K Game Competition - 2006 / Re: Putting things into perspective on: 2006-02-14 19:34:45
HAHA very cool! 
29  Games Center / 4K Game Competition - 2006 / Re: Putting things into perspective on: 2006-02-14 19:03:09
I would LOVE to see these!!   Grin
30  Discussions / General Discussions / Re: what's the meaning of n00b? on: 2006-02-02 19:42:23
n00b = newbie.  This means a person who is a newcomer to a certain field or area.  In the case of it being under your name that's based on the number of posts you have, so as you post more it'll change to something else. Smiley
Pages: [1] 2 3 ... 7
Dwinin (73 views)
2015-11-07 13:29:08

Rems19 (81 views)
2015-10-31 01:36:56

Rems19 (79 views)
2015-10-31 01:32:37

williamwoles (107 views)
2015-10-23 10:42:59

williamwoles (93 views)
2015-10-23 10:42:45

Jervac_ (111 views)
2015-10-18 23:29:12

DarkCart (137 views)
2015-10-16 00:58:11

KaiHH (118 views)
2015-10-11 14:10:14

KaiHH (158 views)
2015-10-11 13:26:18

BurntPizza (173 views)
2015-10-08 03:11:46
Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48

Math: Inequality properties
by Roquen
2015-10-01 13:30:46

Math: Inequality properties
by Roquen
2015-09-30 16:06:05

HotSpot Options
by Roquen
2015-08-29 11:33:11 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!