Hi !
Featured games (88)
games approved by the League of Dukes
Games in Showcase (679)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (731)
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
1  Game Development / Newbie & Debugging Questions / Re: What library should I work with?(if any at all?) on: 2016-05-15 10:40:57
If you want to do a simple 2D game I would also recommend Slick2D. It's a good starting point.
For more advanced stuff you should use LibGDX or the jMonkeyEngine.
If you want to have full control over your graphics, audio and other low-level stuff (e.g. writing your own Game Engine), you should stick to LWJGL 3.

Hope that helps Wink
2  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-05-08 10:50:51
I was reading up about design patterns and I found this:

It's a list of design patterns for those who feel like learning how to use them.

There's also a GitHub project with Design Patterns in Java. Smiley
3  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-05-04 16:36:48
Made my first publication in a conference proceedings of my university which will also get archived in the German National Library. Smiley
4  Discussions / General Discussions / Re: Vulkan 1.0 Release on: 2016-03-19 12:23:04
Seems like AMD is finally going a step further to the Linux driver release:
5  Discussions / General Discussions / Re: Vulkan 1.0 Release on: 2016-03-10 21:55:01
Official support for Vulkan from AMD too.

But still no sign for the linux driver Clueless
6  Discussions / Miscellaneous Topics / Re: What's your "game dev dream" on: 2016-02-09 13:10:14
My dream game isn't limited by technical problems, more so by time problems.
Yeah... for me there are also mostly time problems.

For my dream game I want to create an own universe and then creating different games in different genres in that universe. Smiley
To do that I also want to learn doing art and music besides programming and game design.
7  Discussions / Miscellaneous Topics / Re: What I did today on: 2016-01-12 16:44:13
Finished my paper on decision making, i.e. on decision tree learning and reinforcement learning.

Now on to the other 3 papers...
8  Discussions / Miscellaneous Topics / Re: Happy 2016 on: 2016-01-01 13:34:49
Happy new year to everyone!  Smiley

My goals:
  • Having more time for myself I guess? Don't get to anything because of my studies Clueless
  • Finish some of my planned projects
  • May start martial arts again
9  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-12-24 15:49:16
Started learning Japanese today. I have 3 years to learn it fluently before I plan to move there Cheesy
日本語を勉強するのは楽しい! Wink
10  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-11-21 22:21:38
Updated my LWJGL3 tutorial to version 3.0.0b Smiley

Also made some PR (with some colleagues) for the virtual reality lab at the open day of my university.
The children sure want an Oculus Rift or a Samsung Gear VR for chrismas now persecutioncomplex

EDIT: Started page 111 of this thread Wink
11  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-10-24 10:19:37
Using Consolas for Windows and Droid Sans Mono for Linux.
For printing I'm using the Liberation fonts though.
12  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-10-09 09:36:27
Since monday I'm studying again. This time it is Human-Centered Computing to get my Master's degree.
The difference between a Bachelor's course and the Master's course is amazing Wink
Now I can finally work with high end technology. The Bachelor's course was merely the basics.
Looking forward to work in the virtual reality lab!
13  Discussions / General Discussions / Re: Transitioning from Windows to Linux on: 2015-09-30 16:26:26
On my new PC I'm dual booting with Windows 10 and Linux Mint 17.2 Cinnamon (Rafaela).
Windows 10 is currently used just for gaming and Linux for working/programming, but when I'm looking at Wine and PlayOnLinux I may remove Windows from my system some time in the future.

My advice for you would be to setup a Linux VM like Roquen suggested and do some testing if you really want to switch.
You may want to test out different distros.
Some suggestions: Ubuntu, Linux Mint, Fedora, openSUSE.
14  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-09-20 10:23:43
What I did last day and the night before that day:

Stayed awake the whole night to give consolation and watch over my suffering dog. In the morning we went to the vet to put her out of her misery. I stayed with her until the end, looking in her eyes.
The rest of that day I spend digging a grave in the garden where we ultimately buried her with her first (and favorite) plushie. Also held a simple funeral ceremony with just my family.
She is now in dog's heaven playing on the big green meadow together with her parents and her siblings. I will meet her there in the afterlife.

Rest in Peace Felica, you will be always in my heart.

Now I'm tired, sad and everything is hurting... have to take a nap now.
15  Game Development / Newbie & Debugging Questions / Re: Moving object on: 2015-09-03 15:45:17
Please read this tutorial carefully, it contains some important mistakes, especially about the game loop.
Would you care to elaborate, so I can revise the specific parts?
16  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-08-17 16:03:29
Good luck @SilverTiger (well you might not need luck but well better than nothing right Pointing )
Thanks! I think the interview went alright, have to wait for a response now Smiley
17  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-08-16 10:54:54
I have given @basil_ his 200th medal persecutioncomplex

Other than that I'm currently preparing for a job interview.
18  Java Game APIs & Engines / Engines, Libraries and Tools / Re: A library for 2d shapes and collisions on: 2015-07-16 08:42:38
If you want to create your own physic library you may want to look a these tutorials.
It will show you how to create some physic from scratch.
19  Discussions / General Discussions / Re: Rayvolution's JGO Appreciation Thread (AKA: Free copies of Retro-Pixel Castles!) on: 2015-05-27 09:59:11
I remember when you started working on that game, during my practical semester I stumbled into your thread every day Grin

I would also like to play and review your game Smiley
Need something interesting to do after my thesis persecutioncomplex
20  Discussions / Miscellaneous Topics / Re: What are your current personal projects? on: 2015-05-23 11:13:05
When I have time I'm working on a game project that also happens to be my childhood dream. Smiley
Apart from that I have a few other projects in mind like some other game ideas or a few NetBeans plugins.
Every now and then I'm learning some japanese Kanji.

But currently I'm implementing the last few parts of my bachelor thesis.
21  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-05-20 17:22:13
Held a lecture about the framework of my thesis at the Colloquium of our University.
Most of my fellow student know nothing about modern OpenGL Clueless

R.I.P. Ralphie, I will miss you and I love you. You were an amazing friend and a great dog. Thank you for anyone who took the time to read this, I really needed to write something about it.
That's sad to hear, you have my sympathy. Sad
22  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-05-15 20:43:29
Submitted the first draft of my bachelor thesis on the concept of a framework for teaching shader-based OpenGL Smiley
23  Java Game APIs & Engines / OpenGL Development / Re: Resources for OpenGL 3.3+ and LWJGL? on: 2015-05-06 11:43:23
You could take a look at the list of learning ressources here on JGO, there are some good tutorials listed.
Especially this one helped me the most when starting to learn modern OpenGL.

Some time ago I made an tutorial for LWJGL3 with OpenGL 3.2 core profile, you may want to take a look here.

Hope that helped Smiley
24  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-12 12:05:50
Why not going for a real challenge? Cheesy
25  Game Development / Newbie & Debugging Questions / Re: I want to use VBO instead of depreciated immediate mode.. any senior advice? on: 2015-02-05 22:01:48
It depends what you want to do with the VBOs, you could try using legacy OpenGL with client-side capabilities.
But I would recommend to learn shader programming, even if you have a GPU that only supports OpenGL 2.1.

The list of learning resources have some modern OpenGL tutorials if you want to learn shader programming.
This one helped me a lot with writing my first shaders. You could also look into my tutorial for LWJGL3, but that is still a work-in-progress.

Hope that helps Smiley
26  Game Development / Newbie & Debugging Questions / Re: LWJGL - White box instead of texture on: 2015-01-27 19:09:49
That shouldn't make a difference if you are on Linux or another OS, did that code throw an exception?

Just saw that you are creating a vertex shader, does the code work if you comment that part out?
You may also wan't to try abandoning that legacy OpenGL and start to work with shaders.
I started writing a tutorial some weeks ago for LWJGL3, you could look at it here.
Hope that helps Smiley
27  Game Development / Newbie & Debugging Questions / Re: LWJGL - White box instead of texture on: 2015-01-27 17:36:17
After deeper examination, I noticed that the byte buffer is empty. Let me see if I can override one of the functions in the PNG decoder to make it return it's value instead.

Well in that case you could load the picture with
and put the data into the buffer yourself.
Here's an example code of how you could load your image Wink

BufferedImage image = null;
try {
    InputStream in = this.getClass().getResourceAsStream("textures/" + name + ".png");
    image =;
} catch (IOException ex) {
    throw new RuntimeException("Failed to load a texture file!"
        + System.lineSeparator() + ex.getMessage());
if (image != null) {
    /* Get width and height of image */
    int width = image.getWidth();
    int height = image.getHeight();

    /* Get pixel data of image */
    int[] pixels = new int[width * height];
    image.getRGB(0, 0, width, height, pixels, 0, width);

    /* Put pixel data into a ByteBuffer */
    ByteBuffer buffer = BufferUtils.createByteBuffer(width * height * 4);
    for (int y = 0; y < height; y++) {
        for (int x = 0; x < width; x++) {
            /* Pixel as RGBA: 0xAARRGGBB */
            int pixel = pixels[y * width + x];

            /* Red component 0xAARRGGBB >> 16 = 0x0000AARR */
            buffer.put((byte) ((pixel >> 16) & 0xFF));

            /* Green component 0xAARRGGBB >> 8 = 0x00AARRGG */
            buffer.put((byte) ((pixel >> 8) & 0xFF));

            /* Blue component 0xAARRGGBB >> 0 = 0xAARRGGBB */
            buffer.put((byte) (pixel & 0xFF));

            /* Alpha component 0xAARRGGBB >> 24 = 0x000000AA */
            buffer.put((byte) ((pixel >> 24) & 0xFF));

/* Do not forget to flip the buffer! */

} else {
    throw new RuntimeException("File extension not supported!"
        + System.lineSeparator() + "The following file extensions "
        + "are supported: "
        + Arrays.toString(ImageIO.getReaderFileSuffixes()));
28  Game Development / Newbie & Debugging Questions / Re: LWJGL - White box instead of texture on: 2015-01-27 16:48:59
Don't know about that PNGDecoder, if it decodes the image to the right format, so I just assume, that the ByteBuffer is filled with the right data.

In your rendering code I see, that you use
, but Texture coordinates go from 0.0 to 1.0 so change your rendering to this:

    glTexCoord2d(0, 0);
    glVertex2d(0, 0);

    glTexCoord2d(0, 1);
    glVertex2d(0, texture.getImageHeight());

    glTexCoord2d(1, 1);
    glVertex2d(texture.getImageWidth(), texture.getImageHeight());

    glTexCoord2d(1, 0);
    glVertex2d(texture.getImageWidth(), 0);

Does that solve your problem? Smiley
29  Game Development / Newbie & Debugging Questions / Re: JAR File isn't being written correctly on: 2015-01-21 10:38:29
For reading and writing *.jar files I would take a look at JarInputStream and JarOutputStream.
Did you have already tried that? Smiley
30  Game Development / Newbie & Debugging Questions / Re: Sprite Sheet Instruction Needed on: 2015-01-13 20:51:04
takes the parameters
(S, T)
. As such, the bottom left is
(0, 0)
, the bottom right is
(0, 1)
, the top left is
(1, 0)
and the top right is
(1, 1)
I think bottom right is
and top left is
Pages: [1] 2 3
Mac70 (28 views)
2016-05-24 21:16:33

theagentd (41 views)
2016-05-14 18:38:35

theagentd (72 views)
2016-05-10 22:37:41

theagentd (78 views)
2016-05-10 22:33:46

IanParcs (110 views)
2016-04-18 14:18:53

KaiHH (101 views)
2016-04-18 08:35:41

KaiHH (129 views)
2016-04-15 12:43:58

theagentd (133 views)
2016-04-14 02:16:17

theagentd (155 views)
2016-04-14 02:15:43

IanParcs (251 views)
2016-04-12 03:51:16
FPS Camera Tutorial
by Hydroque
2016-05-22 05:40:58

Website offering 3D Models specifically for games for free
by vusman
2016-05-18 17:23:09

Website offering 3D Models specifically for games for free
by vusman
2016-05-09 08:50:56

Website offering 3D Models specifically for games for free
by vusman
2016-05-06 11:10:21

Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17

List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50 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!