Java-Gaming.org Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (549)
Games in Android Showcase (138)
games submitted by our members
Games in WIP (594)
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 ... 44
1  Games Center / Android Showcase / Re: Runner a Run away Game ! on: 2015-01-28 17:43:23
The link in the Google Play is invalid.

2  Discussions / General Discussions / Re: Forum Bug(s) on: 2015-01-28 06:40:08
I think he's purposely trying to break certain parts of the forum.

I'm not, I did some searching and I found it to be a coding joke embedded into SMF. If you remember your childhood, you may have written 1337 as leet, and that is itself the problem.

I've searched for this error in the internet, and found that it was some line in
Sources/Load.php
which is something like this (unsure, never seen myself, but a forum post on SimpleMachines community says this).

1  
'posts' => $profile['posts'] == 1337 ? 'leet' : comma_format($profile['posts'])

I think this is causing the error with your addon 'Appreciation' Riven, you are reading the display text instead of the post count that is stored internally.

So, I took this risk of posting this information, so hopefully that this will increase my post count, and also get this error solved.
3  Game Development / Newbie & Debugging Questions / Re: LWJGL - White box instead of texture on: 2015-01-28 05:04:04
The problem is with shaders. You are only attaching the vertex shader, and also you are not compiling the shaders, and you are not linking the program.
4  Discussions / General Discussions / Re: Old Forum Stuff on: 2015-01-26 13:02:44
Woo, I was 5 years old in 2001, wow!
5  Game Development / Newbie & Debugging Questions / Re: Camera bug on: 2015-01-24 08:16:30
I think you are misunderstanding the difference between glClear and glClearColor. The former one clears the screen with the specified clear color, while the latter one species which color to use as the clear color.

Add this code after the call to glClearColor.

1  
Gdx.gl.glClear(GL10.COLOR_BUFFER_BIT);

That should solve the issue in my opinion.
6  Discussions / Miscellaneous Topics / Re: Ian Allen, my good friend and top "tester" died and is becoming famous! on: 2015-01-24 07:59:27
If he was alive, he will be happy to have a good friend like you. In my opinion, he was very lucky, he got your friendship, may his spirit rest in peace.

I'm sorry for your loss philfrei.
7  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-23 17:08:13
Updated my Moto G 1st Generation to Android Lollipop 5.0.2. This is not a custom ROM update, and is pushed out by Motorola.

 

So far enjoying the new Material UI everywhere.
8  Java Game APIs & Engines / OpenGL Development / Re: Get XY coordinates from Matrix44f vuforia android on: 2015-01-21 12:22:33
Please don't post more than once. Cross posting isn't allowed here.

http://www.java-gaming.org/topics/get-xy-coordinates-from-matrix44f-vuforia/35428/view/topicseen.html
9  Discussions / Suggestions / Re: Font for code blocks on: 2015-01-21 06:56:09
Maybe you changed the user style sheets of the browser. Looks monospaced for me too. Checked on Chrome and Opera.
10  Java Game APIs & Engines / Engines, Libraries and Tools / Re: GLFW 3.1 is out on: 2015-01-20 14:50:58
I expected that it would bring the icon changing feature, but it didn't.. Hoping that in a future release. And, is this going to bring LWJGL out of alpha?
11  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-20 08:09:55
I have identified another flaw, I have appreciated myself in my previous post.



All I did was changed the link URLs a bit, and it worked fine. It is not in the count though.
12  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-20 04:48:53
Implemented collision response in 3D using SAT.

Click to Play


Crappy edited GIF (2.3 MB, Recorded at 30 fps)
13  Games Center / WIP games, tools & toy projects / Re: ScorpionHunter - A SilenceEngine Demo game on: 2015-01-19 13:52:32
I have updated the game with a lot of changes, mainly the update to the SilenceEngine to version 0.0.2 using LWJGL Nightly #37. Here is a list of changes.

  • Fixing the collision detection, the bounding boxes are made tighter.
  • Moved the entire mess of code into game states. This is a new feature in the Engine itself.
  • Fully commented the source code. Now the comments take up 26% of the entire source code.

According to the Statistics plugin of IDEA, the game is done in only 548 lines of code, ignoring the comments and blank lines. I'm pretty much sure that the engine is now usable for any type of 2D game. My next game, a platformer is also coming nice, will post it here in a few days.

Here is the updated link to download: http://goharsha.com/downloads/tafsj/ScorpionHunter.jar (4.73 MB, Java 8 required)

Any ideas to improve this game are welcome Wink
14  Discussions / Miscellaneous Topics / Re: windows 8.1 freezing on: 2015-01-19 07:22:56
I experienced this issue two times, not once, and I ended up reformatting the hard disk every time. Here is the post I've made earlier. I don't know why this is occurring, but I thought it was because of my aged PC (I've used it for seven years).

The issue still persists, so I moved to OS X and Linux and I'm fine with them. But my laptop came with 8.1 and it works perfectly fine. I'm interested in finding the solution too.
15  Game Development / Game Mechanics / Re: Where to correct position in collision detection (best practice) on: 2015-01-17 17:20:37
Any good collision detection will provide you with two pieces of information, a boolean which specifies the state of intersection, whether they intersect or not, and a property called as MTV (Minimum Translation Vector). This MTV is the vector that you add to the position of the first polygon or subtract in the case of the second polygon to move it out of intersection.

The way you calculate them depends on the algorithm you are using to determine collisions, such as SAT or GJK etc., What is the algorithm that you are following?
16  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-17 07:25:17
Added rotation for 3D Geometry (Using Quaternions) and bounding boxes.

Click to Play


Just another crappy GIF. Also changed the colors for better visibility.
17  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-16 12:49:21
Implemented SAT (Separating AXIS Theorem in 3D)

Click to Play


Another crappy gif, recorded at 30 fps.
18  Game Development / Newbie & Debugging Questions / Re: Up Vector calculation for matrices on: 2015-01-14 16:08:23
Only normalize a vector when the length isn't one. That should fix this issue.
19  Java Game APIs & Engines / OpenGL Development / Re: OpenGL multiple shaders nonsense! on: 2015-01-13 07:39:15
SHC's solution is actually the easiest option and will be just as fast, as that conditional will not be any issue thanks to useTexture being a bool/int (SHC.... it should not be a float).

I forgot that there is a bool, modified the code. Thanks for pointing it out Roi.
20  Java Game APIs & Engines / OpenGL Development / Re: OpenGL multiple shaders nonsense! on: 2015-01-13 05:20:51
There is another way, similar to what theagentd said before. We will write our shaderloader to use
#include <filename>
directive. GLSL doesn't have this, but this is what I have learned from TheBennyBox on youtube. If you had implemented this, you can write code, like for example..

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
17  
18  
19  
20  
21  
22  
23  
#version 330 core

layout(location = 0) in vec3 position;
layout(location = 1) in vec4 color;
layout(location = 2) in vec2 texCoords;

out vec4 vColor;

uniform bool useTexture;

void main()
{
    vColor = color;

    if (useTexture)
    {
        #include uvVertexShader.vs
    }
    else
    {
        #include projectionVertexShader.vs
    }
}

You just separate the code into different files, in the end, this makes editing shaders easier.
21  Game Development / Game Mechanics / Re: Player cannot look straight up or down on: 2015-01-12 13:02:07
Usually mouse look will only calculate the rotations on X and Y axes, Roll will be ignored here. Assuming
dx
and
dy
are the displacements in X and Y axes of mouse movement, you can calculate mouse look like this.

1  
2  
3  
4  
5  
6  
7  
8  
public void calculateMouseLook(float dx, float dy)
{
    // Rotate on the X axis, up and down, so use dy
    Camera.rotation.y += dy;

    // Rotate on the Y axis, left and right, so use dx
    Camera.rotation.x += dx;
}

This is very simple, in LWJGL, you can get dx and dy from the Mouse class.
22  Java Game APIs & Engines / OpenGL Development / Re: Is it ok to use OpenGL 1.1? on: 2015-01-12 09:07:56
But the problem is, my game engine rendering system is pretty much:

drawImage(Texture, [settings])

or

drawShape(Shape, [possible texture], [settings])

So it would be hard to go to OpenGL 3

It is not at all hard, what you are having right now can be achieved with streaming VBOs. I do that all the time in my engine. I simulate the immediate mode in GL33 with my Batcher class.

LWJGL should have some way to configure using the core profile but I'm not entirely sure what it is.

LWJGL has a way of selecting between version selection of the context. In LWJGL 2.X you have to do that with ContextAttribs class. In LWJGL 3 you will specify that with GLFW hints.
23  Java Game APIs & Engines / OpenGL Development / Re: Is it ok to use OpenGL 1.1? on: 2015-01-11 13:53:06
I strongly suggest you to use 3.x in Core profile. In the case you can't run 3.x, then use 2.x in the very least with the shaders.
24  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-10 13:58:05
Drew these in today's free hour. Not the greatest, but I think they are okay..

25  Java Game APIs & Engines / Java Sound & OpenAL / Re: Sound initialization is freezing on: 2015-01-08 05:51:45
I experienced the same thing with build #37, but I thought that it was something to do with my crappy dying computer.
26  Discussions / General Discussions / Re: New rules regarding Game Engine topics on: 2015-01-06 13:44:43
While I agree on the point that there is a need to encourage people on making games rather than engines, there is no point in moving all these engines and libraries into "Archived Projects". The name "Archived" in general sense, gives the meaning that they are in development once upon a time, not now, but that is not the case, we are actually working on them.

If you really want to move them from WIP, please make a separate child board, and name them "WIP Engines & Libraries" or something so, I really can't agree on the name "Archived".
27  Game Development / Newbie & Debugging Questions / Re: Is LWJGL 3 stable enough for use? on: 2015-01-06 13:35:02
I have been using LWJGL3 since a month, and I haven't stumbled upon a single bug, it is really really stable. As of now, AWT will only work with LWJGL (yes, but only a certain part of it) in headless mode. You have to add this to your class to get access to Fonts, ImageIO and BufferedImage classes.

1  
2  
3  
4  
static
{
    System.setProperty("java.awt.headless", "true");
}

The reason for this behaviour is that both GLFW and AWT needs to start on the first thread to gain access to windowing stuff on OS X. Also, you need to run your application with
-XstartOnFirstThread
JVM option if you want it to run on Mac OS X.

Other than those, it is pretty stable. The best proof on the stability is my SilenceEngine, it runs on LWJGL3. In my opinion, you should really consider moving to LWJGL3 if you haven't still. And, coming to GUIs, I think you have to implement it on your own for now.
28  Game Development / Newbie & Debugging Questions / Re: How to instal Java 8 over 7 on: 2015-01-06 11:43:58
You can compile your game with target language version 6 or 7, while continuing to use version 8.

http://stackoverflow.com/questions/15492948/javac-source-and-target-options

You didn't get what OP is asking. He is asking how he can install Java 8 over Java 7, he wants to upgrade not downgrade.
29  Game Development / Newbie & Debugging Questions / Re: How to instal Java 8 over 7 on: 2015-01-06 09:18:02
Update the JAVA_HOME environmental variable to the location of JDK 8 installation.
30  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-01-06 04:14:23
I just finished a big commit to github and went on JGO to say about the changes to find that Red Game 2D Engine has been removed... May I ask what happened?

All "game engines" and "libraries" have been moved to http://www.java-gaming.org/boards/archived-projects/81/view.html

But why? What is the reason for this sudden change?
Pages: [1] 2 3 ... 44
 

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

The first screenshot will be displayed as a thumbnail.

theagentd (12 views)
2015-01-28 15:33:52

GamerIDGoesHere (24 views)
2015-01-27 01:23:23

GamerIDGoesHere (23 views)
2015-01-27 01:22:15

CopyableCougar4 (29 views)
2015-01-27 00:34:41

CopyableCougar4 (19 views)
2015-01-26 04:47:56

Olo (14 views)
2015-01-25 21:26:00

Olo (17 views)
2015-01-25 18:44:22

Robo11 (32 views)
2015-01-25 06:14:26

basil_ (28 views)
2015-01-17 22:29:32

wxwsk8er (27 views)
2015-01-16 21:42:21
2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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
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!