Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (623)
Games in Android Showcase (176)
games submitted by our members
Games in WIP (674)
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  Game Development / Game Play & Game Design / Re: Game armor/weapons: random attributes or predefined attributes? on: 2015-06-11 17:27:38
For the random items, I was thinking the name of the item would be generated based on stats.

My logic for the random items:

1. Decide type of item (sword, axe, wand etc)
2. Generate stats based on a tier. The same tier that te monster is in.
3. Give item a name based on stats. (Sword with a lot of dmg could be Mighy sword of damage)

I can't think of a reasonable way to track an item like this. If the game is multiplayer and you only want a percentage of an item to drop based on community size, then you would want a way to track an item.
With the logic provides there is no way to nerf or buff already generated items, unless the item generates an id that then can be looked up and changed.

Let me know if you have a better way to do the random generation with better logic.

2  Game Development / Game Play & Game Design / Game armor/weapons: random attributes or predefined attributes? on: 2015-06-11 15:54:00
Hi everyone!

I have been working on a little project and I have run into a design "problem." I would like to get your opinion on the topic. Should drops from monsters or quests in an RPG game have armor and weapons with random stats and attributes or should they be predefined? Please list pro's and con's with your answers.

My thoughts are this:

Armor and weapons with random stats would be cool. It can make almost every item unique. However I think it would be hard to track the number of these items dropped in an online game.

Armor and weapons that are preconfigured with set stats are great because if you need to nerf or buff an items stats it is a lot easier. The number of theseitems dropped can be tracked easier. Tracking of items might let the game limit the amount of time a certain item drops which might be useful for a online RPG.

Please let me know your thoughts!

Thank you,
3  Discussions / Business and Project Management Discussions / Re: [Help] Looking for: Project Management Software (web) on: 2014-10-25 04:06:45
What makes them trustworthy? I know I'm not developing the next big technology, but I want to keep my work private and safe.

4  Discussions / Business and Project Management Discussions / Re: [Help] Looking for: Project Management Software (web) on: 2014-10-24 03:55:46
Trello is good.

I've heard Slack is amazing.

It's not self-hosted stuff, and you might have already seen it, but I figured I'd post it in case you haven't.

Thank you for the suggestions.  I appreciate it.  How can I trust those people with my ideas though?  Would you trust them?  I took a look at both of them and the features are exactly what I am looking for.  I just.. would feel safer if the content was hosted locally.  I know I can't be the only person who feels this way.

Thanks again though, I really do appreciate the suggestions.  I have also never heard of them.



Just found this:
Seems to be a self-hosted system.  If anyone knows others please post them.  It may have more of what we need.   Wink
5  Discussions / Business and Project Management Discussions / [Help] Looking for: Project Management Software (web) on: 2014-10-24 03:36:34
Hi everyone,

I am looking for software that would help me and my artist buddy better collaborate and keep content organized.  We have a 3-5 year rpg project we are going to be working on.

Having a way to create/track/update deadlines, npc's, quests, assets, code, comments, lore, etc is what I we aiming for.  I am hoping for a one-size fits all solution.  I would also prefer the software to be hosted on our web servers with mobile support.  Paid or free resources are perfect.

Now, we have a xenforo license, which is forum/community software.  While forums is okay, we are looking for something a bit more professional.

Thank you all for your continued awesomeness.  This community rocks Smiley

Thanks again,
6  Game Development / Newbie & Debugging Questions / Re: How do I attatch javadoc for "java.awt.Graphics?" on: 2014-10-05 06:25:17
Thank you!

This fixes everything.  I am also sorry I didn't post I was using Eclipse.  However, like a boss, you swooped in and helped me out.  Thanks man!

7  Game Development / Newbie & Debugging Questions / How do I attatch javadoc for "java.awt.Graphics?" on: 2014-10-04 12:19:29

I have installed the javadoc's to my computers location.  However I noticed that graphics2d methods have no attatched javadoc.  Because I am a graphics2d noob, I would like the javadoc's installed.

Thanks for any help!

p.s. I did google this first.  For about 15 minutes.  This is my last resort :/
8  Game Development / Newbie & Debugging Questions / Re: MySQL and large user database on: 2014-03-20 07:57:22
That's like getting kidnapped and told to write a full game and if the first time you run it you encounter a bug, you will be killed. What I mean is you can spend entire life trying to figure out if it will work and in the end it will still not work. You can only tell after actually running it.

Hahahaha this made me literally laugh out loud.  I do worry about problems that don't exist.  I never thought about that though until you guys pointed that out.  This is brilliant advice.  I spend loads of time planning and less time coding.  I have started projects, coded them 90%, then decided, "I can do it better" then I start them over.  This is my 5th restart on the projects code.  However I can say it has improved each time.  

Thank you for pointing this out to me. It makes a world of difference thinking about it now.

I should prolly hush up and get to coding!

Thank you guys for your awesome experience and wisdom (and a good laugh)!

9  Game Development / Newbie & Debugging Questions / Re: MySQL and large user database on: 2014-03-20 07:46:14
The things is that you don't have this problem. You don't have 30k users atm and shouldn't worry about this yet.
Back on topic, nowadays as a start up one would probably rent some cloud solution which can easily scale to any user base possible.

Ah I see what you guys mean now.  I apologize for the misunderstanding. I thought trollwarrior1 was saying that mysql doesn't have optimization techniques.  That being said, I am OCD when it comes to planning a project.  I suppose in a way you guys are just telling me to wing it, and then come back to that code later if it becomes a problem?  For some reason that sounds like extra work.  Thinking about it now though, maybe it is faster to put a prototype of something together then just improve it?  I appreciate your opinions and experience.

Thank you.
10  Game Development / Newbie & Debugging Questions / Re: MySQL and large user database on: 2014-03-20 07:32:53
Stop worrying about problems that don't exist.

Sure they exist.  If they didn't I don't think topics about database optimization would be created.  Grin

I am googling this information, but a lot of it is dating back to 2009.  If someone has some information about best practices and optimization techniques for java 6 or 7 I would appreciate your links.

Thanks for your time!

11  Game Development / Newbie & Debugging Questions / MySQL and large user database on: 2014-03-20 07:23:33

I am writing today because I have a question about mysql and java.  I don't need any code nor am I asking for some.  However I do need some advice.  What is the proper way to connect your software to a database for gaming.  What is the best way to be able to keep up with requests from 1k - 30k+ clients making connections and updates all at once.

Since I am still new to programming (only 15 months learning experience) I am not able to create video games, which is my dream.  So I have decided to get some practice in during my off times from school and work programming a Minecraft network.  Now, I know this is not the place to be talking about this game.  However I am posting because there are custom services that exist that have over 30k users online at one time.  If I am going to develop a competing framework then I need to be prepared to handle all these connections.  Because the service is going to need an array of servers then all the data needs to be hosted in a database (obviously).  So this is where I am at.  Does anyone have experience with doing mysql work on "large scare" operations?

Now, I know this might not come close to the competitor service, but it is still programming experience under the belt.  If I am going to use my free time programming, then I might as well do it the best I can.

I appreciate all of your opinions.

12  Games Center / WIP games, tools & toy projects / Re: G581g on: 2013-11-22 06:58:22
I want to play your game Cheesy
13  Games Center / WIP games, tools & toy projects / Re: Renoria - Java MMORPG on: 2013-11-22 05:51:39
Looks promising. I would like to see you and another player fight the boss. Cheesy

Make that your next video.  Cool
14  Discussions / General Discussions / Offering professional and original art for your projects! on: 2013-11-22 03:58:14

My name is Andrew and I am a computer science student at my local college.  I am 26 years old and I have been doing web development for almost 7 years.  Before I was hired by a local web design company I owned a "community/forum design" company, where I sold and made custom web designs.  This company was called CompleteGFX (no longer online). I started learning photoshop around 2005, when it was "Adobe Photoshop CS2."  You can find some of my art work below in the following link.

Note: The artwork exhibited here was made before I was hired at a local firm.  I have improved greatly sense then.

Me and a friend of mine want to start our own gaming company where he is the main artist and I am the programmer.  My passion is programming and developing my skill set.  Art is not something that I want to pursue, but I am well versed in vector art and I can pretty much replicate anything you put in front of me and make it look better.  That being said, my friend Justin and myself will develop your art work.  Before I cover more about how you can get our help art wise, let me show you his deviant art account.

Together me and my best friend, who I hang out with all time time, have what it takes to make a company (desire, talent, ideas, and ambition).  However we want to further develop our skill sets and practice more to become the next great game makers.  I lack in my coding skills and he is still learning photoshop.  That being said, we can achieve any task that is put in front of us.  It just may take some time.

So if you are reading this thread, you may wonder what all this mumbo jumbo has to do with making art for you and your games.  If we find the right individual, we will help you develop your art work for your game for a small price. You can pay us tons of money or you can help me with programming.  I am progressing faster in my programming than what the university will teach me.  I need someone who is patient and can help me with specific areas of programming and in return you will get original game art. I am not asking for someone to write code for us. I am looking for a mentor and someone who can answer questions.  I think this is a very fair trade.  If you are interested in this and would like to talk more about it, then please email me or reply here.  This is a serious offer from a serious adult.

If you have any questions please ask below!

Andrew from Texas
15  Discussions / General Discussions / Re: Not sure where to begin! (on the forums) on: 2013-11-22 03:37:38
Well, I've just recently joined the forums, however instantly noticed it lacks the "Welcome" section or anything like that for new people to say hello and ask their starting questions, so I guess I'll just do it here.

I joined the forum because I'm working on an multiplayer game in Java, and I'm in need of 2D Graphical artists, because my programming art isn't going to cut it. We're talking stick figures and Tiles made in paint. So, I'm curious where I should post to recruit a Graphical Artist that's willing to help me out.


Welcome to the forums.  I am a pixel artist and an artist in general.  I can help you with your art for a monetary reward or for private programming lessons.  I am a computer science major at my local university, but I have surpassed my class and I am looking for help with more advanced topics.  Regardless, welcome to the forums, there are a bunch of great people here!

16  Games Center / WIP games, tools & toy projects / Re: Renoria - Java MMORPG on: 2013-11-21 21:15:39
Keep up the good work man. Your project seems to be coming along nicely.  Wink
17  Games Center / WIP games, tools & toy projects / Re: [LIBGDX] Isometric Survival, Crafting, Wave Attack on: 2013-11-21 16:55:50
Looking good keep it up!
18  Games Center / WIP games, tools & toy projects / Re: Galactic Progress on: 2013-11-21 05:30:28
This tutorial uses a method similar to how I created the basic stars in Photoshop for creating a starry background in an image.  I hope it helps!

That is a very neat tutorial!
19  Games Center / WIP games, tools & toy projects / Re: Diamond Square Terrain on: 2013-11-21 04:52:17
Good job man! I must say this is pretty epic in my eyes!  Wink
20  Games Center / Archived Projects / Re: MERCury - 2d Game Engine on: 2013-11-21 04:31:33

I sent you an email because I couldn't figure out how to PM you.  Hope you don't mind!


BTW, the library is looking gooooood!
21  Game Development / Newbie & Debugging Questions / Re: Differences in extends JComponent, JFrame, JPanel, & Canvas (mega noob question) on: 2013-11-19 11:37:28
@ ctomni231. AAA+ Answer sir, thank you.

I definitely want to be a professional java developer and I know I need to learn swing. I think the excitement of learning game development makes me want to push everything else aside.  I will do further research on the subject. When I start making my own 2d games I want them to be super polished and animated. I have seen sprite sheets for many snes games and I know what it takes, a lot of work. So I will choose the best for animation unless I learn otherwise. I have the core basics down and I am migrating into graphics, so I apologize if I ask "silly" questions.

Thanks again!
22  Game Development / Newbie & Debugging Questions / Re: Differences in extends JComponent, JFrame, JPanel, & Canvas (mega noob question) on: 2013-11-19 04:10:51
JComponent/JFrame/JPanel are part of the Swing gui system, which is newer than AWT, the old gui system

Swing is built on top of AWT!

Canvas is a special AWT component that has some support for double buffering.

More important feature of Canvas is that you can get a BufferStrategy from it and therefore use it for active rendering.

Would you please explain which is the "best" solution for developing games (and why)? 2d games specifically.

Thanks for the help folks! You guys rock!  Cool
23  Games Center / Contests / Re: Discuss the future of 4k contest on: 2013-11-19 04:05:35
I am new here and my opinion wont weigh as heavily as others, but here it is.

I think the contest should stay as is.  Honestly a contest should be about who has the best stuff.  If source code is provided for each game, then it also qualifies as a learning experience.  I understand the contest may be old and applets aren't people's favorite.  However shouldn't this be done for the community?  The community should still be able to participate and have this fun contest.  There is so much that can be learned from this type of contest that it makes the concept invaluable.

I understand times are changing, but whatever you decided, please don't get rid of the contest all together.

24  Game Development / Game Mechanics / Re: Best rendering method using pure java? on: 2013-11-19 01:15:11
@orel27bit Good question, I have been working the same thing myself.  Huh

Thank you for posting this topic.  It has helped me too!  Smiley
25  Java Game APIs & Engines / Java Sound & OpenAL / Re: Abstractualizing Paulscode? on: 2013-11-19 00:48:13
I would tell you, but then I would have to kill you.  Lips Sealed
26  Games Center / Featured Games / Re: Cargo Carry on: 2013-11-19 00:09:34
I would love to give this a go, but unfortunately i have iphone Sad
27  Games Center / Archived Projects / Re: MERCury - 2d Game Engine on: 2013-11-18 06:02:30
Keep up the great work sir!
28  Game Development / Newbie & Debugging Questions / Differences in extends JComponent, JFrame, JPanel, & Canvas (mega noob question) on: 2013-11-18 05:46:50

I am writing this thread because I have a question about extending JComponent,, JPanel JFrame, and Canvas.  In many different tutorials, I have noticed authors extending these three different classes in their main class.  Each of these's authors are extending different classes and now it has me wondering which ones I should be extending and why.  Do you choose one of these classes depending on what kind of game your going to make?  All tutorials that I have read have only been 2D so far. I have read it is important to learn 2D concepts and programming techniques before moving on to 3D.  Also I have been learning swing from one of my books, but is it necessary to learn this if I am mainly going to write my own ui components?  Should I still learn swing regardless?

If you have experience in this and you don't mind helping a novice out, then I would sure appreciate your help.  I hope this is relatively easy to answer.

29  Game Development / Newbie & Debugging Questions / Problems loading TileMap into JFrame on: 2013-11-17 21:02:02

I am practicing my coding and having problems loading my tiled map onto my canvas.  Please review this code and let me know where my mistake is?  I have the problematic code surrounded with START and END comments.  I greatly appreciate your help!

import java.awt.BorderLayout;
import java.awt.Canvas;
import java.awt.Color;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.image.BufferStrategy;
import java.awt.image.BufferedImage;

import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;

public class Game extends Canvas implements Runnable{
   private static final long serialVersionUID = 1L;

   static Player player;
   InputHandler IH;
   JFrame frame;
   public final int WIDTH = 400;
   public final int HEIGHT = WIDTH / 16 * 9;
   public final int SCALE = 2;
   public final Dimension gameSize = new Dimension(WIDTH * SCALE, HEIGHT * SCALE);
   public final String TITLE = "2dDemo";
   public static int tickCount;
   BufferedImage image = new BufferedImage(WIDTH, HEIGHT, BufferedImage.TYPE_INT_RGB);
   static boolean gameRunning = false;
   Container cont;
   String directory = "res/";
   int tileSize = 10;
   //2 dimensional array map
   String testArena[][] = {  
      {" ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
      {" ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
      {" ", " ", " ", " ", " ", " ", " ", " ", " ", " "},
      {" ", "#", "#", " ", " ", " ", " ", " ", "|", " "},
      {" ", " ", " ", "#", " ", " ", "#", " ", "|", " "},
      {" ", " ", " ", " ", " ", "#", " ", " ", "|", " "},
      {" ", " ", " ", " ", "#", " ", " ", " ", "|", " "},
      {" ", " ", "#", "#", " ", " ", " ", " ", "|", " "},
      {" ", " ", " ", " ", " ", " ", " ", " ", "|", " "},
      {"#", "#", "#", "#", "#", "#", "#", "#", "#", "#"},
   public void run() {
      while (gameRunning) {
         }catch(Exception e){
         //System.out.println("TickCount: " + tickCount);
   public synchronized void start() {
      gameRunning = true;
      new Thread(this).start();
   public static synchronized void stop() {
      gameRunning = false;
   public Game() {
      frame = new JFrame();
      frame.add(this, BorderLayout.CENTER);

      IH = new InputHandler(this);
      player = new Player(getWidth() / 2, getHeight() / 2);
      ///////////////Start Problematic Code
      //generate the map
      for(int i = 0; i < testArena.length; i++) {
         for(int j = 0; j < testArena[0].length; j++){
            JLabel lbl = null;
               lbl = new JLabel(new ImageIcon(directory + "ground.png"));
            } else if(testArena[j][i].equals(" ")){
               lbl = new JLabel(new ImageIcon(directory + "air.png"));
            } else if(testArena[j][i].equals("|")){
               lbl = new JLabel(new ImageIcon(directory + "ladder.png"));
            cont.add(lbl); //Add map to the screen
            lbl.setBounds(i*tileSize, j*tileSize, tileSize, tileSize); //Tile scale
      ///////////////END Problematic Code
   public void tick() {
   public void render() {
      BufferStrategy bs = getBufferStrategy();
      if (bs == null) {
      Graphics g = bs.getDrawGraphics();
      g.drawImage(image, 0, 0, getWidth(), getHeight(), null);
      g.setColor(new Color(72, 152, 72));;
      g.fillRect(0, 0, getWidth(), getHeight());
      g.setColor(new Color(40, 40, 40));
      g.drawString("unenergizer", getWidth() - 70, getHeight() - 5);
      //Render player
   public static void main(String[] args) {
      System.out.println("Made By unenergizer");
      Game game = new Game();

In the editor it get no errors, until run time.  Here is what it says:

Exception in thread "main" java.lang.NullPointerException
   at Game.<init>(
   at Game.main(

Thanks for the assistance!
30  Discussions / General Discussions / Re: Java Game Programming Books on: 2013-11-16 06:28:25

This is true.  However, I believe the more you know, programming wise, the more able you are to create a fantastic game as apposed to not having any programming talent.

In my opinion you can't read a book and learn how to make games. You need to actually make games and get feedback about those games to improve. Reading a book is just a technical skill. You also need to be able to compile all the technical skills in a way that people like it.

I know you can't read one book. Cheesy  I have 5 java books.  Two of them teach the basics of programming and the other 3 cover video game programming and techniques.  Practicing the code presented in the chapters of these books and the tutorials I find online have been a wonderful thing. I now know a lot more now then I have ever known.  The more code I learn and the more techniques I learn, the more I get this "matrix vision" when I play other games. I see how they solved problems in logic which enables me to reproduce these concepts.  For instance, I was playing Zelda a link to the past and when he jumps from a "high" spot to a "low" spot, I see this as: Character collides with specified tile, trigger jumping animation, move player to down a tile.  Hope that makes sense.  Before I started learning and reading, I had no idea some of the programming tricks that were going on.  The more I learn to code and the more I play SNES games like zelda and others, the more I feel like I am figuring out problems.  I assume that most all programmers who have been doing this for awhile have this ability.  It's new to me and very exciting.

The real reason for the game programming books, is for a jump-start in game programming logic.  While I do believe it may be a bad idea to solely rely on a game programming specific book to get you started, I don't believe that they are a bad read.  As I mentioned in the first post, once I started reading these books, I knew I needed to know more about programming before I got started in those books.  The introduction to books 1 and 2 state that the reader should already know the basics including, gui/graphics, threads, inheritance, polymorphism, etc.

My goal is to become a great programmer.  I don't believe in shortcuts.  I believe in trial and error.  All big things start small.  To build efficient and fast video games, you need to know more than game specific programming techniques.  I think you need to be a "well rounded" and experienced.

I respect everyone on this forum and especially those who have contributed to this thread with their opinions.  I do appreciate each and every one of you.  I may not be a wise programmer and I am not a skilled programmer, but I believe with hard work, and constant practice, only good things will happen.

Andrew from Texas
Pages: [1] 2
basil_ (37 views)
2015-09-30 17:04:40

shadowstryker (19 views)
2015-09-29 15:55:06

TheSpaceHedgehog (25 views)
2015-09-29 01:58:48

GamerC4 (47 views)
2015-09-24 21:10:38

GamerC4 (67 views)
2015-09-24 21:09:48

htuy (22 views)
2015-09-24 04:57:24

htuy (32 views)
2015-09-24 04:56:35

htuy (23 views)
2015-09-24 04:56:09

htuy (23 views)
2015-09-24 04:47:33

Roquen (60 views)
2015-09-21 12:54:28
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

Rendering resources
by Roquen
2015-08-17 12:42:29

Rendering resources
by Roquen
2015-08-17 09:36:56

Rendering resources
by Roquen
2015-08-13 07:40:51

Networking Resources
by Roquen
2015-08-13 07:40:43

List of Learning Resources
by gouessej
2015-07-09 11:29:36 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!