Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (524)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (592)
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 ... 159
1  Discussions / General Discussions / Re: PrepperCraft! - A free voxel game. on: 2014-11-26 23:27:35

Sorry, I prefer ArdorCraft. How dare you post about 80 lines of code and claim that's a "game"? It's just a JFrame with an empty panel.
2  Game Development / Newbie & Debugging Questions / Re: does return return the actual object or a copy of the object? on: 2014-11-26 23:21:46
AFAIK, in Oracle, OpenJDK, Dalvik Java implementations, boolean primitive type is a whole 8-bit byte. 7 bits go to waste!  Cry
Most modern compilers align data. Therefore, plain C never really stores a boolean on a single bit, come down to Earth.
3  Discussions / General Discussions / Re: How to stop self criticism on: 2014-11-26 12:01:43
Hi

Sometimes when it comes to my games succeeding it much depends on if I'm not beating myself up over it. I'm sure all programmers go through this. They tell themselves that their games aren't good enough and that they can never meet standards. How do you block this out and just focus on the game and task at hand?
I know what self criticism is but I don't always try to meet standards. I'm alone on my project, I have to make everything, I have to learn more how to use Blender, I know that I will probably never make an AAA game, I know that my graphics will probably keep horrible but I don't infringe any copyright, I respect the artists, life goes on. I just have a realistic project, it keeps me away from frustration.
4  Games Center / Showcase / Re: Rage Day on: 2014-11-25 23:43:08
Here is the link to the source code: Mediafire Download
Thank you. Maybe you can use some versioning system, GIT? Subversion? Anyway, good job. I understand that the source code can't be very clean because it is for a jam but the variables names are understandable.

I agree with indyy  Grin It will become more challenging.
5  Games Center / WIP games, tools & toy projects / Re: SilenceEngine - A 2D/3D Game Engine on: 2014-11-25 11:22:01
Can you please explain those particular cases? I'm sure I didn't get what you mean.
- you don't have enough rights to create a directory or a file to extract the native libraries
- another library, framework or installer already takes care of extracting and loading the native libraries
- the virus scanner doesn't like your program and blocks or takes a long time to scan the native libraries each time you extract them
- the startup time is considered to be too long
6  Games Center / Showcase / Re: Rage Day on: 2014-11-24 18:29:04
Hi

It works correctly under Mageia Linux 4 with OpenJDK 1.7. An animal appeared in the middle of nowhere in the floor  Clueless but your game works.

You should release the source code, it's useful for the developers who want to learn how to use LibGDX.
7  Games Center / WIP games, tools & toy projects / Re: SilenceEngine - A 2D/3D Game Engine on: 2014-11-24 18:05:47
I don't think that it has much overhead, that's what most desktop games released with OneJAR or JarSplice do, they extract the natives on runtime and delete the natives afterwards. And moreover, that would simplify project setup, You just add the natives jar to the class-path just like you would do with other library jar, helping the user. I don't think enable/disable flag is not useful.
I don't claim that this feature is useless but I think that this implementation with no cache can be harmful in some particular cases. Moreover, the JARs containing the native libraries have nothing to do in the classpath but putting them into the same directory than the Java libraries that call them makes sense. JarSplice isn't a good example because it's quite buggy, its source code has never been released and as it seems to be unmaintained, you're lost in the darkness or you have to decompile it to have a chance to fix it. Of course this feature simplifies the setup because you don't have to use any platform-dependent variable or the Java library path to indicate where the native libraries are but it's not suitable in some environments. Some virus scanners become crazy when they see a program extracting native libraries. I think that adding a flag into your engine is a good compromise, it's simple to implement and it allows anybody to handle this aspect by himself if your loader gets in his way.

I agree with 65K, make a game with your engine, at least a small showcase.
8  Games Center / WIP games, tools & toy projects / Re: SilenceEngine - A 2D/3D Game Engine on: 2014-11-24 15:51:31
Your native loader uses no cache. The libraries are deleted on exit. As a consequence, each time you run an application based on your engine, you have to extract the libraries. It increases a bit the startup time. Maybe you should add a flag to enable/disable this feature.

It's possible to cross-compile the library that you use but according to its platform-dependent Ant script used to build the native libraries, you're right, it doesn't support ARM  Sad

I've seen that you have added a license into your project  Wink
9  Game Development / Newbie & Debugging Questions / Re: Vertex Array problem on: 2014-11-24 15:05:00
3 * SIZEOF_FLOAT is easier to understand (to me) than <<, >>, < and > even though I know their effects.
10  Games Center / WIP games, tools & toy projects / Re: SilenceEngine - A 2D/3D Game Engine on: 2014-11-24 14:55:30
I don't believe that having no licence means it's not opensource, I meant by opensource, the source code is open to all, and I put no restrictions on how you guys use the code, I don't want to do so, hence I selected no licence. However, if you do insist that software should have a licence, please suggest me one, that would allow the user to do anything he wants with the engine.
I don't want to annoy you but it was mainly a legal reminder and it might refrain some developers to use your stuff. You can choose a permissive license like ASF or BSD 3-Clause if you want as few restrictions as possible or even Public Domain Dedication Creative Commons 0 but not sure it is suitable for the code. Look at Unlicense too.

You should separate the program and the shaders. I'm still reading your source code.

Should I increase that limit?
Yes, it depends on your target. I remember that there are some OpenGL constants that you can use but sometimes they return crazy values.
11  Games Center / WIP games, tools & toy projects / Re: SilenceEngine - A 2D/3D Game Engine on: 2014-11-24 14:48:50
Please explain.
https://github.com/libgdx/libgdx/tree/master/backends/gdx-backend-lwjgl
12  Games Center / WIP games, tools & toy projects / Re: SilenceEngine - A 2D/3D Game Engine on: 2014-11-24 14:44:52
And what does LibGDX use in desktop environment? The "library" that you just put into the same category:
Librarys/Frameworks: Libgdx, Lwjgl, etc
13  Games Center / WIP games, tools & toy projects / Re: SilenceEngine - A 2D/3D Game Engine on: 2014-11-24 14:37:33
Game Engines: Unity, Udk, Cryengine, Jmonkeyengine, etc
Librarys/Frameworks: Libgdx, Lwjgl, etc
LibGDX uses several sets of low level bindings, it shouldn't be put into the same category than the APIs on which it relies for its hardware accelerated graphics and JMonkeyEngine is rather a 3D engine than a game engine.

@SHC Your math classes are quite poor for the moment and you mainly just wrap GLFW and its "friend". Is it reasonable to set MAX_VERTICES_IN_BATCH once for all?
14  Games Center / WIP games, tools & toy projects / Re: SilenceEngine - A 2D/3D Game Engine on: 2014-11-24 14:33:22
Hi

If there is no license, it doesn't mean that it's open source, it's under copyright by default. Please choose a license:
http://choosealicense.com/

Please mention the license of the third party libraries you use too (I already do so).

I've looked at the native loader. Do you plan to support ARM? I remind you that some laptops use ARM CPUs. There is probably a better way of writing FileUtils.readLinesToStringArray by using NIO2.

Is there a demo of your engine? What does it bring compared to LibGDX?
15  Java Game APIs & Engines / OpenGL Development / Re: LWJGL 3; how's it getting along? on: 2014-11-24 11:01:11
You should clarify the documentation of those methods:
http://javadoc.lwjgl.org/org/lwjgl/BufferUtils.html#createByteBuffer(int)
http://javadoc.lwjgl.org/org/lwjgl/BufferUtils.html#createAlignedByteBufferPage(int)
http://javadoc.lwjgl.org/org/lwjgl/BufferUtils.html#createAlignedByteBufferCacheLine(int)

What is the difference between "Allocates" and "Construct" in this case? Moreover, "Construct" should be replaced by "Constructs" and "Fill" should be replaced by "Fills" in order to be consistent with the good practices of Java documentation writing. There is some useless polysemy, "with the specified capacity" has the same meaning than "with the given capacity", doesn't it?
16  Game Development / Newbie & Debugging Questions / Re: Vertex Array problem on: 2014-11-24 10:48:20
Why not adding a constant SIZEOF_FLOAT into org.lwjgl.BufferUtils to store the size of a float in bytes? It would be easier to understand.
17  Game Development / Newbie & Debugging Questions / Re: Texture Problems ! on: 2014-11-24 09:31:13
Hi

Please rather ask questions about Java3D on its official forum and check whether you use the very latest version (currently 1.6.0 pre 11), the instructions are available here.

In my humble opinion, you should rather modify the boundary mode (S & T) of the texture object to get the desired effect, see Texture.setBoundaryModeS() and Texture.setBoundaryModeT().

Edit.: Please mention that you use Java3D in order to avoid other newbies to give you unsuitable solutions.

Edit.2: I don't want to annoy anybody but the main maintainer of Java3D isn't on Java-Gaming.org whereas he is on the official JogAmp forum. It's more convenient for us (JogAmp) to answer questions on our forum.
18  Game Development / Newbie & Debugging Questions / Re: Vertex Array problem on: 2014-11-24 09:17:59
Hi

I know some people don't want me suggesting learning outdated stuff
The display lists are broken in numerous drivers, even on "outdated" hardware. I would rather suggest to start with immediate mode (only for learning purposes), then to switch to vertex arrays, VBO and finally VAO. The use of vertex arrays allows to get accustomed with the retained mode. In my humble opinion, switching from immediate mode to VAO is a bit too much.

3 * sizeOfFloats would make much sense (to me).
19  Discussions / General Discussions / Re: LWJGL or Unity, UDK, Cryengine on: 2014-11-23 22:16:00
And now that the .NET core is being open sourced
Most of the client-side API won't be open sourced as far as I know.

@BurntPizza: You have to manually install the Ask! Toolbar.
You can install OpenJDK even under Windows, there is no crappy tool bar bundled with it. I use some unofficial builds until some JogAmp maintainers provide them.

I agree with princec about Mono and it's still a bit like a Swiss cheese with tons of holes compared to the (still proprietary) Microsoft .NET implementation.
20  Java Game APIs & Engines / OpenGL Development / Re: JOGL: Lighting the Inside of a Cube on: 2014-11-23 16:28:35
Eh, you don't have to "aim" to get me in trouble, to get me in trouble!
Your teacher is a nice guy, he's neither childish nor touchy. A good scientist has to learn from constructive remarks and I think that he's able to do so.

But I did post to the JOGL board originally, and only made this post after several days of crickets over there...
thedanisaur's help was decisive. I advise you to use our IRC channel too when you're in a hurry.
21  Discussions / General Discussions / Re: 3D model search engine on: 2014-11-23 14:08:13
Hi

As I feared, the preview is slow on my machine, I assume that you use WebGL.
22  Discussions / General Discussions / Re: Parsing SVG files on: 2014-11-23 14:00:04
Hi

If you just need a simple parser, look at SVGSalamander, it is very simple and some developers already use it with JogAmp. Apache Batik is much more complete but it has a big memory footprint but maybe you can use just batik-util and batik-svg (don't take all JARs). Both are good source of inspirations to write your own parser.
23  Java Game APIs & Engines / OpenGL Development / Re: JOGL: Lighting the Inside of a Cube on: 2014-11-23 12:57:16
gouessej, you better not get me in trouble...
My aim isn't to get you in trouble, don't worry. However, next time, please respect this instruction if you don't want to get us in trouble.

Best regards.
24  Discussions / General Discussions / Re: LWJGL or Unity, UDK, Cryengine on: 2014-11-23 12:50:55
Why does everyone think they need to 'upgrade' to 3D? There are more than many pro game developers who only develop 2D games.
In my case, it's a matter of taste, I don't mind what professional game developers do. I have already lost any hope to make a leaving from games.

Actually, I should have been more accurate. I assume that when a developer is already able to make a complete game in 2D, he already has some knowledge of inputs, images, windowing, some maths, ... Then, learning to create 3D games is easier in this case than when you don't know those notions, the maths are a bit harder, culling might be more important, I still find it more difficult to create decent 3D models than 2D sprites. 3D is exponentially more difficult than 2D when you know 2D very superficially.
25  Discussions / General Discussions / Re: LWJGL or Unity, UDK, Cryengine on: 2014-11-23 11:11:17
Hi

Do you really plan to become a professional game programmer?

You can have a look at JogAmp's Ardor3D Continuation but maybe you should get a lot more experience with 2D before starting to learn 3D. Actually, I agree with HeroesGraveDev's conclusion.
26  Games Center / WIP games, tools & toy projects / Re: TUER: Truly Unusual Experience of Revolution, FPS using JOGL on: 2014-11-22 22:33:21
Hi

I've just published my tutorial about JogAmp's Ardor3D Continuation:
http://tinyurl.com/mpuu8or

I still have to explain better the basic concepts and the numerous (about 100) examples. I think that there is a huge lack of screen captures too as it is intended to show what a 3D engine can do  Clueless

It contains some documentation for JNDT too. It will be improved very soon.

I will add some support of multiple JARs into JNDT, I will support the native libraries outside of the JARs too so that the developers can use it with lots of libraries that don't extract and load them from their JARs. Moreover, the automated native library loading has a cost, it increases the startup time and it doesn't work on some machines with very strict security policies.

Best regards.

Edit.: JNDT now supports multiple JARs  Grin but please read carefully the documentation.

27/11/2014: It's now possible to complete the two first missions  Grin
27  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Clipping planes in Ardor3D on: 2014-11-22 17:35:50
Hi

As promised, JogAmp's Ardor3D Continuation user's guide is available here. Sorry, it is very long and there are about one hundred examples on Github. Best regards.
28  Game Development / Newbie & Debugging Questions / Re: Create a simple box with a texture !!! on: 2014-11-22 11:31:55
Hi

If you really want to obtain some help about Java3D, ensure that you use the very latest version (currently 1.6.0 pre 11) and post your question on its official forum. Stranger is problably right; if you don't set any texture coordinates, you have to ask Java 3D to generate them. You can't display a texture without texture coordinates.

DonDon's answer is offtopic as the original poster is asking for help, not to switch to another library.
29  Game Development / Newbie & Debugging Questions / Re: [Jbullet] LWJGL util vs Swing vecmath on: 2014-11-20 08:53:46
Hi

Vecmath has nothing to do with Swing except that both are in javax. JBullet doesn't need Swing. If you really want to use this "Util", rewrite it to use Vecmath instead of rewriting JBullet.
30  Java Game APIs & Engines / OpenGL Development / Re: LWJGL 3; how's it getting along? on: 2014-11-14 12:20:10
How would it deal with the windowing?
Pages: [1] 2 3 ... 159
 

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

The first screenshot will be displayed as a thumbnail.

toopeicgaming1999 (57 views)
2014-11-26 15:22:04

toopeicgaming1999 (50 views)
2014-11-26 15:20:36

toopeicgaming1999 (10 views)
2014-11-26 15:20:08

SHC (24 views)
2014-11-25 12:00:59

SHC (24 views)
2014-11-25 11:53:45

Norakomi (27 views)
2014-11-25 11:26:43

Gibbo3771 (24 views)
2014-11-24 19:59:16

trollwarrior1 (37 views)
2014-11-22 12:13:56

xFryIx (75 views)
2014-11-13 12:34:49

digdugdiggy (52 views)
2014-11-12 21:11:50
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

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