Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (753)
Games in Android Showcase (228)
games submitted by our members
Games in WIP (842)
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
1  Discussions / General Discussions / Re: Reasons Java is a good Game Development language on: 2008-11-14 01:09:15
Comparing software is extremely difficult. I would even say comparing languages performance wise makes only sense if the languages are almost identical.

I completely agree with this, but comparing specific tasks in programming languages in terms of performance can be useful because you want to pick the right one for the job. Comparing them in general and saying one is always or usually better, probably isn't going to be useful nor meaningful.
2  Discussions / General Discussions / Re: Reasons Java is a good Game Development language on: 2008-11-13 16:05:26

"I was able to make the C++ version take 16 seconds for the nested loops-test while Java only needed 1 second by adding some virtual method calls which I knew Java could optimize. I also was able to make the C++ version run in only 78 ms while the equivalent Java version needed even 10 seconds by only using static loops - the C++ optimizer then would not even loop anything and just add the values together."

I was surprised to see the findings on the loop calls, it seems that the programmer's knowledge is also a determining factor in speed.
3  Discussions / General Discussions / Re: Reasons why Java is not a good language for game development on: 2008-11-12 20:13:58
Smooth sailing for me, I have vista and a dual core but no problems with your sample code.

I have made several games in java and all of them have used Java2D and I haven't had any problems. One of them was even a full blown RPG with lots of drawing and calculations and I never saw a performance hit, always a steady 59-60 FPS so I think your issue with it lies somewhere else.

 I agree that many names are stupidly long, but it makes starting out easier as they are more explanatory.

And with the garbage collector, remember that java was not made exclusively for video games and the gc does an incredible job performance wise taking that in mind, I think everyone else's suggestions pretty much cover gc for video games.
4  Java Game APIs & Engines / Tools Discussion / Re: Eclipse - Lag when accessing libraries on: 2008-11-11 01:57:43
Thank you, that was both the word and solution I was looking for.  Grin
5  Java Game APIs & Engines / Tools Discussion / Eclipse - Lag when accessing libraries on: 2008-11-10 20:59:10
Hi all,
    When I am using Eclipse and call a gl function by typing gl and then the dot and it brings up a list of all accessible functions (sorry I can't remember what this is called) there is a few seconds of lag. When I use netbeans or other IDEs this doesn't happen. So how do I make it go away, do I need to increase its allocated memory or something else? Thank you for your help.
6  Games Center / Archived Projects / Re: jClassicRPG framework and game (GPL/CC-BY-SA/Public Domain) on: 2008-08-19 17:10:19
Wow! Very nice! Grin

Is the scripting going to be done with java as well?
7  Game Development / Newbie & Debugging Questions / Re: JOGL design issues on: 2008-08-18 03:33:22
LWJGL and JOGL are almost the same once you create a window, I don't recommend switching to another if you already have done a significant amount of work with one.

 If passing the gl context around to all of your methods that need it in your engine is that troublesome, it sounds like your engine isn't very Java-like at this point (no offense intended, just an observation).

As for callbacks and such, this pdf chapter details two different JOGL frameworks, one callbacks, one active rendering, that might help you. I only use GLEventListener so I can't really say otherwise.
8  Games Center / Featured Games / Re: Incredibuilder! on: 2008-08-16 17:13:19
3) Random blocks that can't be used in any positive way and have to be removed (ie the blue blocks on level 3) are annoying.

Annoying and hard often go hand in hand in games, imagine a game where you have to click a circle, if the circle takes half the screen and appears in the same place it is far to easy and boring. It is important to add obstacles that add difficulty to a game, and difficulty is going to annoy the player. It is also important to integrate those obstacles with game functions, like an in game tool, in order to allow for diversity in the game rather than mundane clicking accomplishing the same thing. I think the blue blocks add to the game play because they add a new challenge and change into the game.

2) Having to look at the small outline and try to figure out what piece you need to place where while under a time limit is a frustrating experience. Instead, consider moving the outline to be an actual outline on the game area. This will make it much more clear what you need to do.

3) Random blocks that can't be used in any positive way and have to be removed (ie the blue blocks on level 3) are annoying.

Adding the outline in the actual game area is a good idea and would make the game easier to play. Or maybe changing the color of the blocks on the game area, like a shadow might be more stylistic I dunno.

I strongly agree with settling on one form of input and I think keyboard controls would be easiest, but mouse controls would be more fun for the player. Or add both and let the player choose.
9  Game Development / Newbie & Debugging Questions / Re: Another "how to start" topic. How to stark game making? on: 2008-08-09 13:10:37
I found a few links that might help you. Smiley

This site does not list any code but does describe the process they used to create the puzzle piece. It seems most people use an image mask, or template for their puzzle pieces.

And here is the source for a jigsaw game in python and pygame, python is fairly easy to read without experience programming in it. I think you might have to download the python language to view the code though, not sure. (it's a small download anyway).
10  Game Development / Newbie & Debugging Questions / Re: Another "how to start" topic. How to stark game making? on: 2008-08-09 04:11:20
I made a jigsaw game back in the day. If I recall correctly I started out with the whole image and slowly worked in an algorithm to make pieces. I started by breaking it into squares that gradually became fancy arcs and curves.

I had an array of arrays to represent the pieces like a 2D rpg would have a tiled map. The pieces are initially set to null and are created one by one starting at the top left and filling in rows before columns. When the algorithm created the tile it would check for any neighbors, if the neighbor was not null, it would make its side the opposite of its neighbor's so they could fit together, if the neighbor was null, it would randomly create an arc to represent its side, and if the piece was at the edge of the image it would make that side flat.

The hardest part is that the shapes don't have set dimensions so converting screen coords to test if the piece belongs there when the player moves it is difficult. I don't remember how I overcame this, sorry. Sad

I know my explanation is confusing and sorry about that, but hopefully it will give you ideas on how to start. Smiley
11  Games Center / Archived Projects / Re: The Tome, The Java Game Tome is ONLINE! on: 2008-08-08 15:46:43
Google for it and enjoy.

Must wash eyes.
12  Games Center / Archived Projects / Re: The Tome, The Java Game Tome is ONLINE! on: 2008-08-08 14:40:22
if someone is feeling particularly evil they'll change the image at the url to be goatse or something similarly unpleasant.

What is "goatse"??
13  Discussions / Miscellaneous Topics / Re: Downgraded! on: 2008-08-08 03:23:08
Say what? I thought all new processors made in like the last 3- 5 years had 64 bit support, it's the way of the future. Bummer man. Sad
14  Games Center / Archived Projects / Re: The Tome, The Java Game Tome is ONLINE! on: 2008-08-07 14:36:39
- Top banner is *way* too busy. There's like 4 different font styles going on, curved text, all sorts of random icons and text and no real layout. Looks like "my first logo" photoshop job.

I didn't think it was quite this bad but I think if the white, fancy font, "Java" goes it will look a lot better because it looks jammed in there. I like the overall look, it is vibrant and colorful without looking like a 1970's music video gone wrong. I do agree with erikd that having games under multiple categories would be very useful.

Overall, I like it.  Smiley
15  Games Center / Featured Games / Re: Incredibuilder! on: 2008-08-07 00:22:07
Very cool.  Grin

I have a wide screen laptop so in full screen mode the game looked kind of stretched but still visually appealing. The hammer tool looks nice and was a big help for me since I make so many mistakes.
16  Games Center / Archived Projects / Re: Agent: 00PK on: 2008-08-07 00:08:56
Advertisement failed, I didn't notice his sig either.  Grin
I was wondering about that spam posting of "thanks" on all those topics in such a short period of time.
17  Game Development / Newbie & Debugging Questions / Re: Another "how to start" topic. How to stark game making? on: 2008-08-06 13:43:07
LWJGL and JOGL are both terrific for 2D games. I don't recommend using a game engine because making your own won't take long and the process of making it will allow you to familiarize yourself with LWJGL/JOGL. When choosing which to use, LWJGL has been used for more commercial games, but it seems more people use JOGL; especially on these forums.

One other way I want to use Swing is by using JFrame, JPanels, etc., instead of other components like Canvas or something alike.

Using a JFrame and JPanel is most likely not going to provide you with any additional benefits over Frame or Canvas. I don't recommend using Swing for things like buttons because swing is bulky by nature, and while the performance hit is likely insignificant with a simple game, it is quite significant for a larger game.

Swing is one of the things I use more, and, like most things in Java, if it's slow it's the programmers fault Smiley

It is not that it is slow, it's just not fast.  Smiley
18  Discussions / Miscellaneous Topics / Re: New look on: 2008-08-05 03:47:14
I have never seen this before, makes me want to start another "make the next great mmorpg" programming kick. I see many cans of coke and sleepless nights in my near future.  Cool
19  Java Game APIs & Engines / Tools Discussion / Re: NetBeans' gui and Java3D on: 2008-08-05 03:37:13
I used Java3D a bit awhile back but I don't recall having this problem. When you create your JPanel and JFrame yourself, are you setting everything up the same as the builder, like using the same window style and such? One thing you could try is remove unnecessary settings from your GUIBuilder built panel and frame and see if that helps.

I do not even see a Canvas3D.  I thought Java 3D was deadish.

Java3D isn't dead, why I don't know, but a lot of people seem to use it, and Canvas3D is valid,

Sorry for my English

Your English is fine.  Smiley
20  Games Center / Archived Projects / Re: Avatar Generator on: 2008-07-31 11:57:02
Cool app - we need some karma system.

True dat. I love the hats  Grin.
21  Games Center / Contests / Re: Ludum Dare #12 on: 2008-07-30 02:08:42
Yay!  Grin

I might be backpacking that weekend, but if not, I'll definitely enter something.
22  Games Center / Archived Projects / Re: Marbleous on: 2008-07-26 05:53:21
Good fun, and addicting to boot, good job!  Grin
23  Game Development / Newbie & Debugging Questions / Re: Open GL BLARG on: 2008-07-25 23:48:58
Welcome  Cheesy.

First off since I am not sure exactly what is wrong (it's been a long day) and I use JOGL not LWJGL I am going to suggest a few things to try and check back after I have had a nap  Tongue:

Hard code the image sizes, int sizex = 32, int sizey = 32 or whatever sizes
Try subtracting values from your calculations to see if they line up or there are still black borders and see if this value appears elsewhere in your code
Look at how you have set up your world, ex. glOrtho()
Look up an opengl textured quad example and see how they used the coordinates and set up opengl

It looks like you are trying to draw your isometric diamond as if it were a square, in other words, the corners will touch not the sides, is that what you want?
24  Game Development / Game Play & Game Design / Re: Sources for graphics on: 2008-07-25 14:53:27 has some good textures that can be used either for 3D games or as base tiles for a tile based game.
25  Java Game APIs & Engines / Java 2D / Re: paint on: 2008-07-24 20:53:10
Like pyrodragon said, reapint() clears the screen so you can draw to an off screen image, or redraw your other three images again when you draw the next two. I am not sure what you meant when you said "apply threads for two new images," are you drawing your images from a separate thread?
26  Game Development / Game Play & Game Design / Re: Sources for graphics on: 2008-07-23 14:30:25
Thanks a bunch.

For puzzle games, freeware icons are often a good starting point:

I would have never thought of that Smiley.
27  Game Development / Game Play & Game Design / Sources for graphics on: 2008-07-23 01:35:34
I found a site that has a really large collection of (mostly) ripped sprites and 2d graphics for download for free. Does anyone know of a similar site that has a lot of 2d graphics? Free or not but preferably free.

28  Game Development / Newbie & Debugging Questions / Re: My Highschool class is making an MMORPG... on: 2008-07-23 01:06:36
That fog effect is a nice touch.  Smiley
29  Game Development / Newbie & Debugging Questions / Re: High resolution timer issues under Vista on: 2008-07-22 15:40:02
I am glad the code helped. Smiley I still have no idea whats causing the difference in cpu though, or how to do anything about it, so hopefully one of the other members here will have some insight.
30  Games Center / Archived Projects / Re: Defender on: 2008-07-22 15:03:59
Interesting game, when it first loaded, it went  white, although I still heard the sounds, I waited a bit but nothing else happened. I refreshed and it was fine and I haven't had the problem since, so I don't know what that was. Very fun game although the ships momentum seems to be off, it slows down kind of quick. Otherwise  the controls work perfectly and I really like the retro sound and graphics.

love it  Grin
Pages: [1] 2
nelsongames (19 views)
2018-04-24 18:15:36

nelsongames (17 views)
2018-04-24 18:14:32

ivj94 (608 views)
2018-03-24 14:47:39

ivj94 (53 views)
2018-03-24 14:46:31

ivj94 (401 views)
2018-03-24 14:43:53

Solater (66 views)
2018-03-17 05:04:08

nelsongames (111 views)
2018-03-05 17:56:34

Gornova (176 views)
2018-03-02 22:15:33

buddyBro (747 views)
2018-02-28 16:59:18

buddyBro (94 views)
2018-02-28 16:45:17
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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!