Featured games (81)
games approved by the League of Dukes
Games in Showcase (495)
Games in Android Showcase (114)
games submitted by our members
Games in WIP (563)
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]
1  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)!

2  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.
3  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!

4  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.

5  Games Center / WIP games, tools & toy projects / Re: G581g on: 2013-11-22 06:58:22
I want to play your game Cheesy
6  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
7  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
8  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!

9  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
10  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!
11  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!
12  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
13  Games Center / WIP games, tools & toy 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!
14  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!
15  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
16  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.

17  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
18  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
19  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
20  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2013-11-18 06:02:30
Keep up the great work sir!
21  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.

22  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!
23  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
24  Games Center / WIP games, tools & toy projects / Re: Level Editor Tool for 2D games on: 2013-11-16 06:10:23
That's a great idea! If I give the 'Tile' class a "selected" boolean, I should be able to come up with a drag feature fairly quick. The last feature would be to select tiles from the 'Tile Sheet' box on the bottom right so that you can draw chunks of textures such as trees...o boy! haha

Keep up the good work!  Also you should implement a layers feature!  Have multiple layers of tiles and implement a transparency color selector for tile-sets that have transparent spots.  Otherwise, its great!
25  Games Center / WIP games, tools & toy projects / Re: Renoria - Java MMORPG on: 2013-11-15 09:05:51

Just thought i'd show a screenshot showing a big subset of all the monsters we currently have:

Your monsters sure do look a lot like the ones from MapleStory.   Roll Eyes
You should tell the guys in your 20+ man 'studio' to come up with original monsters. Im sure it will make you more successful btw.  Roll Eyes

26  Games Center / WIP games, tools & toy projects / Re: Level Editor Tool for 2D games on: 2013-11-14 06:39:00
Great job!  I find it fun just to play around with it Cheesy

Has a really awesome GUI, but not all of the features that Tiled has.  Implement those features and I think you will have an award winning tool! Cheesy
27  Discussions / General Discussions / Java Game Programming Books on: 2013-11-12 07:55:26
Hello JGO,

I am writing this thread today because I am wondering what people think about the following books:

[1]Developing Games in Java - David Brackeen - 2003
[2]Killer Game Programming in Java - Andrew Davison - 2005
[3]Programming Video Games for the Evil Genius - Ian Cinnamon - 2008

I purchased these three books from Amazon about 10 months ago when I decided I wanted to make video games as a profession.  After I bought these books I was shocked at how much coding experience was really needed to make a video game.  At that time, I set these books aside and purchased:

Head First Java - Bert Bates - 2005

It took a few months, but I completed Head First Java and learned the basics of the language.  I then emptied my 401k and enrolled in a local college for computer science, where I am currently the "only guy that knows whats going on."  Now I still consider myself a mega newbie because I have no real world experience. However gaming wise, I am able to create RPG Text games with all the bells and whistles.  I want to move into graphics and more advanced topics because I feel it is now time to make this transition.  That being said, I am picking theses books back up in hopes that they will further my knowledge and point me in the right direction as far as game programming goes.  Now back to the point of this topic.

Is anyone familiar with these books?  I have read a few pages of Programming Video Games for the Evil Genius and have noticed many, many, programming errors.  So I put that book down and I have been wondering about my other two game programming books (books 1 and 2).  My main concern, are the concepts and code they teach deprecated?  I would prefer to learn "the latest and greatest."  Can anyone suggest any books or material that may be worth purchasing?  

My college has game programming classes, but those are 2nd and 3rd year classes.  Because I decided to take the initiative on my own, 11 months ago, I am way past these beginning teachings of the college.  I do plan on staying in school, but I don't want to wait on them to teach me something I feel I am ready for now.  Algebra in school has been the best refresher and I know I need more math in order to be truly successful with real programming.

Furthermore, I understand becoming a programming guru, takes many many many many years of experience and practice.  While I am 26 I know I may not become a successful game programmer for another 10+ years.  That being said, I do know what I want to do in life and it is make video games and program entertainment for the masses.  I am committed to this and will do what it takes in order to achieve this goal.  Part time jobs at Mc Donalds and living in "slum" apartment complex with internet is all I need.  All I want is time and practice (and women <lol).  I will have it one way or another. <mini rant Cheesy

Anyhow, I hoped that this thread has summed up a little about me and conveyed my questions in a way that will hopefully make the reader understand me and my intentions.

Thanks for your time,
28  Game Development / Newbie & Debugging Questions / Re: Can program text games, need advice for moving into graphics on: 2013-11-09 02:28:48
Thank you everyone for replying to my thread.  I am comfortable with my programming to move onto graphics.  I am watching a video series on Pong right now.

I am following this tutorial:

The author sounds very new, but just watching him put everything together is awesome.  When it comes to creating the game loop however, I do understand how that works and what is going on.  It really boils down to learning GUI, user input, and AI. 

Once again, thank you for your contributions to this thread, all of your words and wisdom are motivation for me.  Cheesy

Happy Programming!
29  Game Development / Newbie & Debugging Questions / Can program text games, need advice for moving into graphics on: 2013-11-05 05:43:55

I have been programming now in php and some java for 11 months today.  I am able to proudly create text based games with all the bells and whistles.  I want to start learning programming with graphic user interfaces, but every time when I look at a tutorial or one of my books, it just seems very intimidating.  I have procrastinated when it comes to learning the more advanced topics because of the intimidation factor.  When I play games or use programs I can see logically how something is made.  I can "view the code" in my mind.  However, when it comes to creating graphics on screen and moving them, my mind wants to explode.  I am not trying to create the next Skyrim either.  I would be perfectly happy starting with pong and slowly progressing to something like a Zelda game.

The reason I have decided to post, is to explain that unfortunately I feel like I need some guidance, aka hand holding.  I am a heavy visual learner. I need pictures and lots of explanation.  I would appreciate if someone could post their experiences making this transition and if they could post some of their resources.  I have found multiple resources via google, but I feel it is better to ask and someone understand me, then to rely on google for "hardcore programming" tutorials.  

Furthermore, I understand there are programming libraries like libgdx, lwjgl, java2d, slick, etc.  I would be quite happy to start with something as "simple" as java2d.  Anyways, thank you for your understanding and thank you for relating your experiences.  It is greatly appreciated.

Pages: [1]

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

The first screenshot will be displayed as a thumbnail.

Dwinin (28 views)
2014-09-12 09:08:26

Norakomi (57 views)
2014-09-10 13:57:51

TehJavaDev (74 views)
2014-09-10 06:39:09

Tekkerue (37 views)
2014-09-09 02:24:56

mitcheeb (57 views)
2014-09-08 06:06:29

BurntPizza (45 views)
2014-09-07 01:13:42

Longarmx (28 views)
2014-09-07 01:12:14

Longarmx (34 views)
2014-09-07 01:11:22

Longarmx (34 views)
2014-09-07 01:10:19

mitcheeb (40 views)
2014-09-04 23:08:59
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08 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!