Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (404)
games submitted by our members
Games in WIP (289)
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 ... 21
1  Game Development / Newbie & Debugging Questions / Re: Game starting help ! on: 2013-04-23 15:43:16
@gouessej je n'ai jamais dit que c'était une excuse ! Je rejoins l'idée de heroes, c'est pas parce que je parle pas anglais, c'est pour prévenir les personnes qu'ils doivent être indulgent car ce n'est pas ma première langue ,( bien que j'étudie beaucoup )

Don't worry, we do excuse you, but you have to show respect to gouessej since he ranks first in baguette length with a whooping 11.7cm !

2  Games Center / WIP games, tools & toy projects / Re: Wizards of Yore (second try) on: 2013-04-15 17:50:20
Taking the time to learn a bit of pixel art theory was one of the most enjoyable things I've done recently. Smiley


Can you direct us to some resources ?
3  Games Center / WIP games, tools & toy projects / Re: Space Turdz on: 2013-03-27 21:46:30
I think the graphics are very inconsistent.
The fonts are ultra high res and anti aliased, then the turd is medium resolution, while the rest is very pixely.

The health bars below the aliens kinda ruin them.

Apart from that the graphics look cute.

Good luck!
4  Games Center / 4K Game Competition - 2013 / Re: Community voting results on: 2013-03-21 17:47:04
I actually had my bets on Dord, not Raibow Road. The gameplay in Dord is really fun.
Congratz to all who participated!

Looking forward to next year's competition!
5  Games Center / 4K Game Competition - 2013 / Re: Community Voting Has Started! on: 2013-03-18 01:18:31
Question...

should feedback be anonymous?

I dont see any reason for being anonymous.

If people are trolling/grieving, they should be identified and put to shame.

If they're giving good feedback they should be proud to be identified.
6  Games Center / 4K Game Competition - 2013 / Re: Community Voting Has Started! on: 2013-03-15 17:15:31
And the judges will wait for community finished. INFINITY LOOP!

That's actually a deadlock.


As most as I am curious to see the community voting results, I think the voting process would benefit from a few days more, since now the site seems way more stable than it was the past weeks.
7  Games Center / 4K Game Competition - 2013 / Re: Java4K 2013! on: 2013-03-12 18:32:04
Unfortunately I think the site is pretty unstable.
I just opened the site to search for my entry, found it, copied the link to send to a friend then the link wouldn't open for him. Neither for me anymore.

I've tried to access the site several times last days and roughtly half of the times I got a DOS.
Do you have so many hits to bring the server down ? Or maybe is something else ?
8  Games Center / 4K Game Competition - 2013 / Re: Judging.. on: 2013-03-08 21:52:19

We need 1 more judge to reach the minimum. The last ditch attempt is to advertise here for someone clever who might be interested, but it's some work considering there's just over a week until it has to be finished (but well possible).
 

maybe you could extend by 1 week the voting deadline so the new judge (and even community) might have a little more time. I don't think there's a reason for someone to whine about that.
9  Discussions / Miscellaneous Topics / Re: Dota 2 giveaway ;) on: 2013-03-05 19:44:52
just add me in steam :
http://steamcommunity.com/profiles/76561198072197227
and identify yourself then I'll send a key.
10  Discussions / Miscellaneous Topics / Re: Dota 2 giveaway ;) on: 2013-03-05 16:42:03
I dont know why I got like 15 Dota 2 keys . If anyone else is interested, let me know.
11  Discussions / General Discussions / Re: How would you go about designing levels from set colours from a .png file ? on: 2013-02-18 22:46:34
That's a good explanation, jonjava, but Java makes our lives so easy, why complicate it ?

You can use BufferedImage.getRGB() to get the int value for each color at its coordinate.

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
 BufferedImage img = null;
 try {
  img = ImageIO.read(new File("path of your image"));
      } catch (IOException e) {
    e.printStackTrace();
    }
 
 int w = img.getWidth();
 int h = img.getHeight();  

 for (int i=0;i<w;i++)
      for (int k=0;k<h;k++)
    {
      int color = img.getRGB(i, k);
          //store color in an array for future use
         //...
         //...

    }


According to THIS stackoverflow question, the getRGB() function is slower than other methods.

that's why I said "store color in an array for future use", so you only have to read it once from the image.
12  Discussions / General Discussions / Re: How would you go about designing levels from set colours from a .png file ? on: 2013-02-18 22:40:46
That's a good explanation, jonjava, but Java makes our lives so easy, why complicate it ?

You can use BufferedImage.getRGB() to get the int value for each color at its coordinate.

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
 BufferedImage img = null;
 try {
  img = ImageIO.read(new File("path of your image"));
      } catch (IOException e) {
    e.printStackTrace();
    }
 
 int w = img.getWidth();
 int h = img.getHeight();  

 for (int i=0;i<w;i++)
      for (int k=0;k<h;k++)
    {
      int color = img.getRGB(i, k);
          //store color in an array for future use
         //...
         //...

    }
13  Games Center / WIP games, tools & toy projects / Re: TUER: Truly Unusual Experience of Revolution, FPS using JOGL on: 2013-02-15 23:29:37
When you program, you end up by discovering that there is only one kind of program: the buggy ones. Bug-free programs do not exist. I love my buggy project. I go on fixing bugs, constructive comments and suggestions are welcome. As time goes by, there are less bugs in my game, it's not like it was becoming worse. I'm not in a hurry. I have nothing to sell, it's an hobby project.
Very well said.

Damn...I'm agreeing with gouessej? Must be the end times... persecutioncomplex Grin

I don`t know what contributions julien did to the open source community, but I'm pretty positive it was something more than spamming a java gaming forum with nonsense posts.
14  Games Center / 4K Game Competition - 2013 / Re: Easy shrink method on: 2013-02-14 15:53:15
you did read what I said that you have to set it up in a real webserver ?
You cannot simply create a .html page with this code and double click it. It will not work .

In any case, just submit it and keep trying to set it up on your computer. The approval process takes 1 or 2 days anyway, and by then you'll know if it works or not.

I myself submitted my pack200ed without testing it. If the pure jar works in your machine, pretty much likely it will run pack200 in the java4k site.
15  Games Center / 4K Game Competition - 2013 / Re: Easy shrink method on: 2013-02-14 01:02:41
 
Quote
javac -target 1.7 G.java

 
reducing the target to 1.5 will save you 300-400 bytes in final jar.
16  Games Center / 4K Game Competition - 2013 / Re: Plants 4K Zombies on: 2013-02-13 21:45:23
That is pretty impressive!

I myself dont remember how far I got, but I do believe it's possible to get to wave ~20 . Anyway for somebody who does not know how all the variables are incremented, that is amazing, congrats! And thanks for testing!
17  Games Center / Showcase / Re: GameDoser - The Magic of Tales on: 2013-02-13 21:42:26
Looks good, but those shadows completely ruin it for me; they just look so hideous...

I agree with that. There's just too much black. I think it'll look farily better if the outlines are thinner, and maybe not so black. It's too "harsh" if there is so much black.
Compare it to Castle Crashers, how "softer" it looks.



Apart from that, it looks good. Good luck.
18  Games Center / 4K Game Competition - 2013 / Re: Easy shrink method on: 2013-02-13 20:37:33
I use the method described here:
http://www.java-gaming.org/topics/indiespot-compression-not-working/25147/msg/217257/view.html#msg217257

Using all those steps on my jar, I reduce the final output from 6.962 bytes to  3.860 bytes.


To test a pack200ed jar you have to setup a webserver and use the packEnabled parameter.

1  
2  
<applet code="A.class" archive="game.pack.gz" width="495" height="450" >
< param name="java_arguments" value="-Djnlp.packEnabled=true" />
19  Java Game APIs & Engines / OpenGL Development / Re: LWJGL: Getting mouse's 3D location on: 2013-02-08 18:34:14
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
24  
25  
26  
27  
28  
29  
30  
31  
32  
33  
34  
35  
36  
37  
38  
   static IntBuffer viewport = BufferUtils.createIntBuffer(16);
   static FloatBuffer modelview = BufferUtils.createFloatBuffer(16);
   static FloatBuffer projection = BufferUtils.createFloatBuffer(16);
   static FloatBuffer winZ = BufferUtils.createFloatBuffer(20);
   static FloatBuffer position = BufferUtils.createFloatBuffer(3);

   static public Vector3f getMousePositionIn3dCoords(int mouseX, int mouseY)
   {

      viewport.clear();
      modelview.clear();
      projection.clear();
      winZ.clear();;
      position.clear();
      float winX, winY;


      GL11.glGetFloat( GL11.GL_MODELVIEW_MATRIX, modelview );
      GL11.glGetFloat( GL11.GL_PROJECTION_MATRIX, projection );
      GL11.glGetInteger( GL11.GL_VIEWPORT, viewport );

      winX = (float)mouseX;
      winY = /* (float)viewport.get(3) -  */  //Uncomment this if you invert Y
        (float)mouseY;

      GL11.glReadPixels(mouseX, (int)winY, 1, 1, GL11.GL_DEPTH_COMPONENT, GL11.GL_FLOAT, winZ);

      float zz = winZ.get();

      GLU.gluUnProject(winX, winY, zz, modelview, projection, viewport, position);



      Vector3f v = new Vector3f (position.get(0),position.get(1),position.get(2));


      return v ;
   }


I won' try to explain what is happening, since I myself forgot exactly how all this stuff works after writing it. In short is what Riven said.

Note that you have to use this method after your 3d rendering is done, otherwise the depth buffer will be empty and will not yield the result you're expecting.
20  Discussions / General Discussions / Re: Gaming contests for people under 18? on: 2013-02-03 00:08:17
What about a 18+ competition ? only 18+ rated games allowed.
21  Game Development / Newbie & Debugging Questions / Re: Noob Projects? on: 2013-02-02 23:33:06
Try making a platformer engine. Or a few.

By only making the engine, you learn how the engine works, but without making a full game and wasting time.

After that you could try again a few more times, adding more features and optimising until you have a good engine for a game.

I highly disagree with that.

You'd rather build a small car that barely moves, than to build 30 car parts without even knowing what exactly a car needs.  

You'll never know what you need in an engine if you have never made a game. Think of when you first tried writing a game, you had no idea what a spritesheet was, nor what a "game tick" was.


My advice is to make small game clones. Pong, then space invaders, then pacman. You will notice that will start reusing some parts, and that might become your engine.

Then make World of Warcraft.

22  Discussions / Miscellaneous Topics / Re: The Next Game Boss on: 2013-01-31 12:47:48
I do agree that the judges might seem stupid. But they're all characters, they're not "real people". Maybe they are, but the edit makes sure they are depicted as Sharon Osbourne/Howard Stern/Howie Mandel.

As for "I don't buy that shit" it may be that the he's not a native English speaker. When I curse (or hear somebody cursing) in English, it does not sound as "heavy" or as rude as it should sound. I don't have childhood memories of my parents scolding me whenever they heard the "s" or "f" word. But I still am afraid of saying merda or puta near my parents. Well all I'm saying is that he might not wanted to sound rude, maybe he was just using an expression he heard a lot in the movies.

As for the games itself, it was obviosuly a poor choice of the girl to do a VN, and even if she insisted on that, it is obvious the judges would get bored. When I first saw it was a Visual Novel I knew what would happen, and I knew Eli had won. Maybe she's a good game maker, but to be the next game boss I believe you have to understand how people get hooked into games.

I'm not sure about Eli's game being a winner game, but I haven't seen other episodes. I'm not sure what the judges are looking for, but I agree that some of the judges said it might be a game you play a little while then you forget about it. I think you should focus on that, on not making it a disposable game. I think the rest (polishing, adding content) is just a matter of effort and time invested on it.

Good luck!
23  Discussions / Miscellaneous Topics / Re: [RIVEN WHAT DID YOU DO XD] *answered* on: 2013-01-29 21:39:34
Locked. Better later than never  Undecided
24  Java Game APIs & Engines / Tools Discussion / Re: Spine: 2D skeletal animation on: 2013-01-28 12:21:55
Quote
$11,673
pledged of $12,000 goal

and still 26 days to go? We've got a winner here....
25  Discussions / General Discussions / Re: New feature: picture of the day on: 2013-01-28 01:57:56
What about a caption/link to show when clicking the image? For me it does not make much sense just an image with any info whatsoever.
IMO the image of the day may be something that attracts users to something, like a game or a project.
(Well, maybe I'm wrong, I've never used an "Image of the day" feature before)
26  Games Center / WIP games, tools & toy projects / Re: Blue Saga on: 2013-01-25 11:40:59
This is definetely pretty cute. I was playtesting when my girlfriend came over and said "Omg that is so cute!! What is it?". Ithink that`s a pretty damn good sign that you're going into the right direction artwise. Maybe the boobmonster would have scared her away, so you should should think wiser about using such art.

The good

-art is extremely cute and consistent
-it plays nice, I wish I`d seen somebody online to see the multiplayer in action.
-sound and music fits well
-I will not go much into the good since this wont help you much, so...

The bad

-I think right clicking to talk to NPCs is not very intuitive. Maybe first time you hover the mouse over a npc, pop up a message "Right click to talk to npc"
-I feel the movement is awfully slow. Maybe make the pauses between steps a little less noticeable.
-I felt really weak when the Larvas beat the shit out of me. They are faster and attack faster than me. I took a shitload of time to beat one. And they`re the first enemy, so my hopes are not very high when I see the next ones. My suggestion, make them weaker, slower, and raise the quest to 15 or 20 kills.
-In my opinion, you`re not rewarding the player enough, at least in the beginning. I killed the 10 larvas, and wasn`t even halfway through getting to level 2. Don`t forget the first 5-10 minutes is what you have for player determining if they will play again or not. Rewarding them with a quick level up is a good way to make them happy. Leave the level grinding to the higher levels, when player is already hooked.
-When I leveled up, I had to make sure I did by looking at my stats. No sound? No triumphal tone? No beam of lights coming out of my ass?
Do you know Popcap games ?  Try to remember their games, Bejeweled,Plants vs Zombies, Peggle Nights. All of them reward the player with a shitload of sounds, glittering shining pops and clicks, rainbows, diamonds! Visual/audible/ rewards everywhere! Now think about a slot machine in a casino. They use the same principles.
Don`t forget your players are playing to reward themselves. Not to be beaten up by Larvas.


The ugly

-When I click the 5th icon (a map I think) the game crashes right away
-The "Options" menu has no X button to close it
-I got the first health potion. After that I couldn`t get any loot. Neither the Larva drops nor anything I found on barrels. I clicked them and nothing happened.
-"Larva misses it`s attack" should read "Larva missed its attack"

all in way this is an excelent start, keep it up the good work and I'm positive this can become something remarkable in the indie game scene.
27  Games Center / 4K Game Competition - 2013 / Re: Plants 4K Zombies on: 2013-01-24 15:53:57
Alright, just uploaded it officially to java4k!

You can play it here:

http://java4k.com/index.php?action=games&method=view&gid=447

I've written some decent instructions and have lowered the difficulty a little in the beginning.

Have fun!
28  Discussions / Miscellaneous Topics / Re: The Next Game Boss on: 2013-01-23 15:57:36
Do you think Minecraft would be such a hit if people didn't recognize notch as a little celebrity in the game making scene?
Comparing someone who got famous on his own with this kinda thing is very wrong.
 

Wow, either you missed my point entirely or you are deliberately red herringing.
29  Discussions / Miscellaneous Topics / Re: The Next Game Boss on: 2013-01-23 14:31:37
Well Eli, thats really the definition of "selling-out".
Not that I judge you, I might have done the same for the free advertisement.

That's not selling out.

That's selling.

There's nothing wrong in that, it does not betray any believes or code of honor of game programmers. Do you think Minecraft would be such a hit if people didn't recognize notch as a little celebrity in the game making scene?

I for one salute Eli for putting his name (and face) on the map.

edit: Although I do condemn his decision of abandoning java  Tongue
30  Games Center / 4K Game Competition - 2013 / Re: Java4K 2013! on: 2013-01-21 19:33:02
Strange, I've registered one account in Firefox and another in Opera, and everything went through smoothly.

Derp. My bad. I was already registered with that username.
Anyway maybe you should eliminate this weird warning in this case.
Pages: [1] 2 3 ... 21
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (32 views)
2013-05-17 21:29:12

alaslipknot (40 views)
2013-05-16 21:24:48

gouessej (70 views)
2013-05-16 00:53:38

gouessej (69 views)
2013-05-16 00:17:58

theagentd (78 views)
2013-05-15 15:01:13

theagentd (73 views)
2013-05-15 15:00:54

StreetDoggy (113 views)
2013-05-14 15:56:26

kutucuk (137 views)
2013-05-12 17:10:36

kutucuk (137 views)
2013-05-12 15:36:09

UnluckyDevil (145 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.146 seconds with 20 queries.