Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (116)
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] 2 3 ... 11
1  Discussions / General Discussions / Re: Can a Single Developer Create a Big Game? on: 2014-09-07 10:24:36
There was MMORPG Shores of Hazeron which was developed by one person - veeery huge and complex game, but sadly it was closed last month.
2  Game Development / Newbie & Debugging Questions / Re: Return int from Method on: 2014-09-06 01:27:39
In addition, your method naming convention is different from the standard one - take a look at camelCase naming convention, especially if you will want to write library or open source project in the future. Smiley
3  Discussions / Miscellaneous Topics / Re: What other programming languages do you use & why? on: 2014-09-04 12:02:40
C++ at its root is not bad, but lack of standardization is sometimes making coding in it a nightmare. Smiley
4  Discussions / Miscellaneous Topics / Re: What other programming languages do you use & why? on: 2014-08-31 15:23:30
C++ - very rarely, I use it only when I need to use some native code (and call it via JNI) or do purely platform specific thing.
PHP - I prefer it over Java when it comes to website servers - much easier to use, without need to learn many weeks or even months to actually be able to make even a simple site like in Java.
Haxe - I HATE JavaScript, so I use this language instead of it when I want to do something in JS. Somewhat similar to Java, but have some small, irritating flaws and lack of good IDE.
XML - if we can this language, XML in my opinion is very good for serialization, properties and anything else like this.
5  Discussions / General Discussions / Re: Performance Test for the Voxel Thing on: 2014-08-28 12:46:39
55-61 FPS when using dedicated GPU (NVIDIA GeForce GT 630M).
6  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-08-23 00:14:24
Few hours ago I started learning Haxe ( http://haxe.org/ ).

I was programming a web game client in JavaScript, but quickly discovered that except very simple cases this is really bad idea, so I switched to another language which compiles to JS, but have Java-like packages and classes structure.

(don't worry, servers are written in Java Wink)
7  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-08-22 13:33:24
Nice effect! Smiley What shader are you using for it?
8  Discussions / Miscellaneous Topics / Re: Programmer Radio Station on: 2014-08-22 00:18:23
Everything depends just on your music taste, I would say that listening to music while programming is usually a distraction though.
9  Discussions / Business and Project Management Discussions / Re: Programming freelance on the internet: compete with cheap foreigners on: 2014-08-21 19:13:06
I was thinking about similar thing few days ago as well and found this article:

http://blog.jpl-consulting.com/2011/12/why-i-will-never-feel-threatened-by-programmers-in-india/

Europe/North America just have different culture - programming is seen as a job as well as hobby here and hobbyists tend to be better at their job (and therefore write better quality code). India surely have some hobbyists as well, but I think that ratios of hobby/"just job" programmers in our cultures are higher. In case of any problems with their programs, programmers who are not on the other side of the world can respond to requests much quicker as well.

In addition, culture differences might lead to misunderstandings, especially if freelancer must show some creativity.
10  Discussions / Miscellaneous Topics / Re: How often do you code on: 2014-08-18 19:26:41
Depends on mood and if I have enough free time - sometimes I am not coding at all, sometimes I can write code for 12-14 hours in a row (mostly when I have a lot of motivation - learning something new or implementing very important feature). Usually 3-4 hours though.
11  Discussions / General Discussions / Re: Netbeans + Gradle = Im annoyed. on: 2014-07-27 13:36:21
You can just use different project group for every project which is composed from many smaller projects - in this way everything is much cleaner. Smiley
12  Discussions / General Discussions / Re: New feature: Embedded PDFs on: 2014-07-19 16:53:35
You are using very old version, newest one is 22.0.1471.70. Smiley You need to download it manually as Opera don't have auto update feature (at least in old versions, I am not sure if new versions have it or not).
13  Discussions / General Discussions / Re: New feature: Embedded PDFs on: 2014-07-19 16:37:11
Sadly this feature don't work on Opera - even though it is using the same engine as Chrome. After clicking "click this page to load the PDF" download is initalized, but nothing appears.
14  Game Development / Newbie & Debugging Questions / Did you know? Hints and tips on: 2014-07-14 21:15:55
Thread created to share small, library independent (except OpenGL bindings) hints and tips. Please do not post obvious ones, let this topic become a valuable source of informations. Smiley

I will start with this one:

Did you know that you can use WeakReference objects to allow garbage collection of objects which are no longer accessible via "classic" references? In case of games, this can be useful for example in case of listeners.
More info/explanation: http://java.dzone.com/articles/reference-types-java-part-1
15  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-07-14 12:21:08
Did I just find a bug? :S

First you see my explosion particle effect in the Particle Editor, the last part is the result in libGDX (my game).
Other particles work fine (as you can see).

Click to Play


Maybe try to find ground line equation and discard all particles below ground (if this is possible in LibGDX)?
16  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-07-14 12:08:59
That's awesome. Is it for anything specific?

Yes, but we are still at planning/prototyping phase.

Is it procedural at all or pre-made textures?
Have been thinking of making a procedural galaxy/nebula thingamabob.

Pre-made textures processed using shader to give them semi-transparent nebula-like look. I will probably add more stars to the last layer to make everything look more like galaxy.

The scroll effect itself is inspired by War Thunder loading screens. Smiley
17  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-07-14 00:50:18
I just made multi-layered nebula which scrolls together with mouse.

GIF (10 mb):
Click to Play
18  Games Center / WIP games, tools & toy projects / Re: Ultimate Wars (now with bad spelling!!!) on: 2014-06-27 21:57:45
Example of a Unit XML file:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
<?xml version="1.0"?>
<config>
   <unit id="2">
      <name>Ninja</name>
      <speed>2.5</speed>
      <defence>15</defence>
      <attack>15</attack>
      <swing>15</swing>
      <range>25</range>
      <regen>.01</regen>
      <red>.5</red>
      <green>.5</green>
      <blue>.5</blue>
   </unit>
   
</config>


How about something like this?

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
<?xml version="1.0"?>
<config>
   <unit id="2" name="Ninja">
      <speed>2.5</speed>
      <defence>15</defence>
      <regen>.01</regen>
      <weapon attack="15" swing="15" range="25"/>
      <color r=".5" g=".5" b=".5"/>
   </unit>
   
</config>


If you are using DOM XML, then reading XML like this is very easy and extensible - for example, you can have Color class with constructor Color(Element) which read color data from Color element - the same with weapon and unit itself (I had no idea for speed, defence and regen).

This way, if you stick to this scheme, you can for example use <color/> element in any other entity informations.
19  Game Development / Newbie & Debugging Questions / Re: Encouraged model file format on: 2014-05-14 22:13:09
I would go with Collada - maybe it is slower to load, but it can contain a lot of informations, can be easily adapted to any needs and interpreter is easy to write.
20  Game Development / Newbie & Debugging Questions / Re: How to manage very large 3D arrays? (OutOfMemoryError) on: 2014-05-07 20:43:20
If your entities don't have any special data, you can use byte arrays inside class with proper getters/setters instead of object arrays - this solution is using from 4 to 8 times less memory. If you need to add special data to some tiles, then you can just add them to proper list/map.
21  Game Development / Newbie & Debugging Questions / Re: [Box2d][Libgdx] How to detect 2 bodies in contactListener? on: 2014-03-22 16:18:20
Never compare Strings using "==" - use "equals" instead.
22  Discussions / General Discussions / Re: JDK 8 is released on: 2014-03-20 09:58:08
Is NetBeans affected by this bug?
23  Discussions / General Discussions / Re: Best lwjgl game graphically? on: 2014-03-18 07:32:56
What about Wurm Online? Full 3d, large-scale MMO game. Cheesy
24  Discussions / General Discussions / Re: Data bases and game programming on: 2014-02-13 11:42:51
I don't use any databases, in my opinion DB are good for websites/static browser games (like, for example, Tribal Wars), but not too good for dynamic games.

Personally, I am using Kryo for serialization.
25  Discussions / Miscellaneous Topics / Re: Comment Tricks on: 2014-01-21 11:15:43
I think that most of us use "comment tricks" like this. When I need to disable the code for a moment (or test how good is the new version without deleting previous) I use comment/uncomment feature in NetBeans. Smiley
26  Java Game APIs & Engines / OpenGL Development / glCopyTexImage2D error - GL_INVALID_ENUM on: 2014-01-19 21:23:15
I have a problem with glCopyTexImage2D - look at this util method which is cutting previously rendered scene to the texture:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
    public static Texture cutRenderToTexture(GL g, int width, int height) { 
        IntBuffer buff = Buffers.newDirectIntBuffer(1);
        g.glGenTextures(1, buff);
        int tex = buff.get();
        g.glBindTexture(GL.GL_TEXTURE_2D, tex);
        checkGLError(g);
        g.glCopyTexImage2D(GL.GL_TEXTURE_2D, 0, GL.GL_RGBA, 0, 0, width, height, 0);
        checkGLError(g);
        g.glClear(GL.GL_COLOR_BUFFER_BIT | GL.GL_DEPTH_BUFFER_BIT);
        return TextureIO.newTexture(tex, GL.GL_TEXTURE_2D, width, height, width, height, false);
    }


checkGLError is a simple method which is checking all possible OpenGL errors - in this example I am calling it twice to show that problem can be related only to glCopyTexImage2D call. I am getting GL_INVALID_ENUM error, but target is valid, GL_TEXTURE_2D enabled and OpenGL docs ( https://www.opengl.org/sdk/docs/man4/xhtml/glCopyTexImage2D.xml ) do not specify if this error can happen in any other case.

Any ideas what is wrong?
27  Game Development / Newbie & Debugging Questions / Re: Noob thinking about trying to use a library on: 2014-01-13 19:14:23
About loading/unloading regions - you have to make the code yourself, but KryoNet is a good choice when it comes to saving/loading objects and networking.

About lighting - I think there is no library for that, you have to use the whole framework like LibGDX or make it yourself.

Easy to learn engine? Try LibGDX, or JOGL if you want to reinvent the wheel.
28  Discussions / General Discussions / JGO Anniversary - 2^9 games in showcase on: 2014-01-09 08:38:34
It seems that we now have 2^9 (512) games in showcase - let's see how many high quality Java games will be made when we will hit 2^10 games! Cheesy

Long live JGO! Smiley
29  Discussions / General Discussions / Re: Forum software suggestions? on: 2014-01-08 16:31:42
I recommend SMF - very powerful and customizable forum engine. It is not worth to buy forum engine when you have very good open source alternatives.
30  Discussions / General Discussions / Re: Opinions of games engines on: 2014-01-07 15:10:51
Finally someone that understands why I hate looking at any C* language...

Definitely. I don't know if this is just me, but IMHO "SomeClass extends AnotherClass" looks better than "SomeClass : AnotherClass". The same with long class/variable names, for example "WindowClassExtended" against "WNDCLASSEX".
Pages: [1] 2 3 ... 11
 

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

The first screenshot will be displayed as a thumbnail.

radar3301 (12 views)
2014-09-21 23:33:17

BurntPizza (30 views)
2014-09-21 02:42:18

BurntPizza (20 views)
2014-09-21 01:30:30

moogie (20 views)
2014-09-21 00:26:15

UprightPath (28 views)
2014-09-20 20:14:06

BurntPizza (32 views)
2014-09-19 03:14:18

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

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

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

Tekkerue (50 views)
2014-09-09 02:24:56
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
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!