Java-Gaming.org Hi !
Featured games (87)
games approved by the League of Dukes
Games in Showcase (649)
Games in Android Showcase (181)
games submitted by our members
Games in WIP (700)
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  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.
2  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...
3  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
4  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
5  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
6  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.
7  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!
8  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.
9  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.
10  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?
11  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
12  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.
13  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.
14  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
15  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.
16  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
17  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
18  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
19  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-02-12 12:05:50
Why not going for a real challenge? Cheesy
20  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
21  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
22  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
ImageIO
and put the data into the buffer yourself.
Here's an example code of how you could load your image Wink

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  
39  
40  
41  
42  
43  
44  
45  
46  
47  
BufferedImage image = null;
try {
    InputStream in = this.getClass().getResourceAsStream("textures/" + name + ".png");
    image = ImageIO.read(in);
} 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! */
buffer.flip();

} else {
    throw new RuntimeException("File extension not supported!"
        + System.lineSeparator() + "The following file extensions "
        + "are supported: "
        + Arrays.toString(ImageIO.getReaderFileSuffixes()));
}
23  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
texture.getTextureHeight()
, but Texture coordinates go from 0.0 to 1.0 so change your rendering to this:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
glBegin(GL_QUADS);
{
    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);
}
glEnd();


Does that solve your problem? Smiley
24  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
25  Game Development / Newbie & Debugging Questions / Re: Sprite Sheet Instruction Needed on: 2015-01-13 20:51:04
glTexCoord
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
(1,0)
and top left is
(0,1)
Smiley
26  Java Game APIs & Engines / OpenGL Development / Re: Lwjgl Error: Failed to load the native library: lwjgl on: 2014-12-19 17:09:13
When you get that error, then you haven't set the
org.lwjgl.librarypath
correctly.
You could copy the native folder to the folder that contains the jar. Then in your main method do this:

1  
2  
3  
4  
5  
if (System.getProperty("org.lwjgl.librarypath") == null) {
    Path path = Paths.get("native");
    String librarypath = path.toAbsolutePath().toString();
    System.setProperty("org.lwjgl.librarypath", librarypath);
}


Does this work for you? Smiley
27  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-19 11:27:23
Started a LWJGL3 Tutorial Smiley
Oh and also made my 40th post on JGO right now Cheesy
28  Games Center / WIP games, tools & toy projects / Re: Legends of Fore on: 2014-11-28 11:17:19
That Google German translation is horrible, it should be:

"Hallo, willkommen auf dem Titan, wir führen hier archäologische Forschungen durch."
"Danke" - "Was?"

What about a Japanese translation? Cheesy
29  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-11-26 11:15:56
Had a meeting with my Computer Graphics professor to talk about my thesis Smiley
30  Game Development / Game Play & Game Design / Re: Where can I get nice spritesheets and images? on: 2014-11-19 13:45:33
You can find a lots of links at gamedev.stackexchange.com.
Maybe you'll find something like that Smiley
Pages: [1] 2 3
 
KaiHH (146 views)
2016-01-31 23:15:29

sci4me (151 views)
2016-01-23 21:47:05

sci4me (137 views)
2016-01-23 21:46:58

KaiHH (171 views)
2016-01-19 13:26:42

theagentd (256 views)
2016-01-05 17:10:00

ClaasJG (270 views)
2016-01-03 16:58:36

chrisdalke (261 views)
2015-12-28 06:31:21

Guerra2442 (267 views)
2015-12-25 03:42:55

Guerra2442 (267 views)
2015-12-25 03:27:21

theagentd (295 views)
2015-12-21 14:43:24
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

Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30

Rendering resources
by Roquen
2015-10-15 07:40:48
java-gaming.org 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‑gaming.org
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!