Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (109)
games submitted by our members
Games in WIP (536)
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 ... 8
1  Games Center / WIP games, tools & toy projects / Re: AWTEngine2D WIP | A 2D Engine using only AWT Canvas on: 2014-07-05 01:46:10
Thank you for linking this, I had no idea it existed.
2  Games Center / Showcase / Re: Flappy Taco | My first game on: 2014-06-13 21:58:41
Your pixel art is cool. The game seems easier than the actual flappy bird, but congrats on your first game. What game library did you use to make this?
From the outline showed in the YouTube video, it looks like a custom game loop - suggesting Java2D.
3  Game Development / Newbie & Debugging Questions / Re: objects existing beyond their scope on: 2014-05-30 02:28:39
Note: Scope and lifetime are not the same thing.
Clarification: scope is the amount of time you can count on the object existing - AKA how long it exists theoretically. Lifetime is how long is practically exists before it's garbage collected.
4  Game Development / Newbie & Debugging Questions / Re: Uniform locations return -1 on: 2014-05-24 21:01:52
   texLoc = glGetUniformLocation(world.getLightingProgram().programID, "sampler01");
Shouldn't you use t_diffuse as that is the variable name in the shader, when you access it? I've only a few hours experience with GLSL, so correct me if I'm wrong.
5  Game Development / Newbie & Debugging Questions / Re: Recursive rendering on: 2014-05-23 18:43:25
Really? I would think it's the other way around: when every node renders itself first and then calls the sub-nodes, the nodes furthest down are rendered last and those are the ones that you see.

Anyway, to answer your question, switch the places of the draw(this) and children.render() calls will reverse the order of rendering.
6  Discussions / Miscellaneous Topics / Re: f.lux on: 2014-04-19 21:57:32
I've been using f.lux for several months now without noticing any problems, it turns on when the sun goes down - making me actually notice the sun going down nowadays. On my Mac, I've noticed that closing a LWJGL window disabled flux for a short time. I'm not sure if this is the case on Windows; I don't use my desktop computer at night.

Besides, Windows font rendering in Eclipse is terrible.
7  Games Center / WIP games, tools & toy projects / Re: MERCury - 2d Game Engine on: 2014-01-20 07:20:43
You should use a .gitignore file to remove the /bin folder from your repo.
8  Java Game APIs & Engines / OpenGL Development / Re: Do you need to dipose of stuff when exiting application? on: 2014-01-14 14:02:24
Er, opposite stance here. The OS releases everything when the process exits. Save yourself the hassle and just let it do it for you.

Cas Smiley
Yes - it makes the OS more robust. If it didn't, our computers would be at the mercy of C programmers and their memory management.
9  Games Center / WIP games, tools & toy projects / Re: 3D Randomly Generated World on: 2014-01-09 21:42:57
If you're using
System.getProperty("user.dir");
you will get errors if you try to double-click launch on Mac/Linux.

Solution:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
   public static String jarDir()
   {
      try
      {
         return new File(SomeClass.class.getProtectionDomain().getCodeSource().getLocation().toURI()).getParent();
      }
      catch(URISyntaxException e)
      {
         e.printStackTrace();
         return null;
      }
   }


I thought
1  
new File(SomeClass.class.getProtectionDomain().getCodeSource().getLocation().toURI()).getParent();
was a joke the first time I read it, but apparently it's legitimate. Java's such a complicated and bureaucratic platform - maybe that's why companies like it?
10  Discussions / General Discussions / Re: From super skinny to normal weight, anyone ? on: 2014-01-09 21:37:52
Try to be full at all times and have fat-rich foods in the house at all time. The more fat, the less you'll need to get the same number of calories. So you don't have to sit for excruciating amounts of time stuffing your face. You might want to put something edible next to your computer, at least for me, when I can sit and casually eat while doing something else it's much less boring.

Eat as much meat as you can.
Start working out your legs with your body weight some time before starting with weights - or you can be brutal and just take the soreness as it comes.
11  Game Development / Newbie & Debugging Questions / Re: lwjgl getTime and it's delta issue on: 2014-01-08 14:56:51
1  
int delta = (int)(currentTime * lastFrame);


Here is your problem.  The delta should be the difference between the times, not the product.  In mathematics, the Greek letter delta is often used for differences because, well, it's like a D for difference  Wink
And the negatives are probably because (long * long) cast to int will often overflow.
12  Game Development / Newbie & Debugging Questions / Re: Static Reference to Self on: 2013-08-21 17:37:38
Uh, isn't the Java ClassLoader lazy? Shouldn't that mean that the instance variable is initialized when the class is first used - that is, the same behavior as writing the singleton accessor lazily? I'm fairly certain that the ClassLoader loads classes as they are needed by the program, so the dependencies of the singleton should be loaded when it's constructed - so at the same time that it is initialized.
13  Games Center / WIP games, tools & toy projects / Re: HeroesGrave's 7dRTS Game on: 2013-07-25 21:41:06
To chime in on everybody saying that it's hard to see the difference, I imagine that if you play the game long enough, you learn what to look for. Also, I suggest that you add a pop-up when you hover over a unit, with the type of unit in it.
14  Discussions / General Discussions / Re: Java on PS4! on: 2013-07-25 10:52:38
Couldn't you use something like RoboVM (at least when it's out of alpha) for consoles?
15  Discussions / General Discussions / Re: The ignorance of the android industry about good porting solutions like Libgdx on: 2013-07-25 10:46:48
The real question is why Unity is not more popular amongst AAA studios and other interactive fields (i.e. digital advertising, digital storytelling). It fixes pretty much all these issues and ports to more platforms...

I've had the pleasure of working with Unity for one project at university now. I went from dislike to curiosity and now finally, after using it, to loathing. It's dreadful.
I mean I am sure there are ways to use Unity more "sensibly" but from the start on its just a designers tool. Even things are threads are really hard to get working right. Often things happen and you simply dont know the cause / cannot debug.
I could write a whole paper on it now, but basically its a designers tool, kinda like Processing, and for that purpose its good: Getting a 3D prototype fast and test things out is fine. If you want to make something decent however, all that simplicity comes back to bite you, and someone who is even remotely skilled in games programming will be baffled at how things work in Unity(though not all things, Unity isn't the worst offender but its bad enough not to use it for big projects).

We might be the worst case of this, as we had little time, didn't read the Unity docs very much and expected to be able to make a game since we can make anything with opengl/libgdx. Well no such luck.

Thank you for writing this. I've never used Unity or wanted to use it, because it's not the tool for me, and it's not the right tool for many budding game developers. Now though, I've got hard arguments other than "it's not for you" to tell people to stay away from it.
16  Game Development / Newbie & Debugging Questions / Re: [LibGDX] How to add multiple actors/enemies? :) on: 2013-07-03 22:54:26
You sprinkle smileys like a teenage girl to her crush.
17  Discussions / Miscellaneous Topics / Re: My friend is being ruined by his religion. on: 2013-07-03 22:11:18
it's too easy to convert an atheist to be a religious person
This is just a prejudice. An atheist can have strong convictions and personally, you have absolutely no chance of converting me. There are more than 29% of atheists and about 63% of "non believers" in France (agnostics + atheists + anti-theists including people baptised when they were too young to complain but who don't believe in any god).
You definitely have it right. Most people who turn religious are people who weren't atheists, they were people who didn't care either way and got scared when some religious dude threatened them with an eternity in That Red Hot Place(tm).
18  Game Development / Newbie & Debugging Questions / Re: [S.O.L.V.E.D] MultiThreaded Server Freezes GUI upon bind() on: 2013-06-03 13:48:10
I saw the mess that was the title and immediately thought of GabrielBailey74, I was not disappointed.
19  Game Development / Newbie & Debugging Questions / Re: Why the & 0xFF? on: 2013-04-26 20:20:52
Ugh... found the answer in this thread...
20  Game Development / Newbie & Debugging Questions / Why the & 0xFF? on: 2013-04-26 20:16:21
Why are bytes in Java typically AND'ed with 0xFF? I've come across this thing multiple times when it comes to (primarily) graphics code, but also in file reading and things like it.
21  Games Center / Contests / Re: Ludum Dare 26 starting 26th April! on: 2013-04-26 18:32:08
I may participate, not sure at all though. Depends on whether the theme is simple enough for me to bother.
22  Discussions / General Discussions / Re: Wee, LWJGL 2.9.0 looks to be out soonish! on: 2013-04-16 19:53:27
Well, only a problem with OSX 10.8 and Java 7. So if you're using Java 6, then no problems Tongue
Well, disease is only a problem if you're alive, so if you're dead, no problems Tongue
23  Games Center / WIP games, tools & toy projects / Re: Xcylin: A sci-fi open world voxel game. on: 2013-04-16 18:59:52
Apart from the language choice (ugh, JavaScript), I think that you've made an excellent choice with the dynamic nature of the project.
24  Game Development / Newbie & Debugging Questions / Re: [LWJGL] Translate a gun at a fixed position in the screen on: 2013-03-04 21:51:01
I am using another OpenGL versions, so my code probably will not tell you too much, but I can always help from the theoretical side. Wink

In short, you should:
-set your "standard" 3d rendering camera
-draw things like map, enemies etc.
-set contant 3d rendering camera
-draw 3d things which are always in the same place (gun)
-set constant 2d rendering camera
-draw 2d things which are always in the same place (interface)
You wrapping OpenGL in other methods is probably why the OP got confused.
25  Game Development / Newbie & Debugging Questions / Re: libGDX - It's so large? on: 2013-02-28 20:40:25
Furthermore I hate taxes anyway D:
Taxes take a chunk out of your monthly gain, but without them, your government couldn't afford to invest in health care, roads, pensions, and a whole lot of other services and infrastructure that you use. Without taxes, you would have to pay a lot of money for various insurances, even more than you already do. I consider taxes the least evil alternative there is.
I used to believe that, but more and more I think my wage is cut in half (France, I confirm) not for the good of the community, but to re-fill the banks so they can invest like crazy and make even bigger profits while we pay their debts.
Yes, that is true to some extent, and I think it is important that voters oppose this. Banks in general disgust me.
26  Game Development / Newbie & Debugging Questions / Re: libGDX - It's so large? on: 2013-02-27 23:28:13
Furthermore I hate taxes anyway D:
Taxes take a chunk out of your monthly gain, but without them, your government couldn't afford to invest in health care, roads, pensions, and a whole lot of other services and infrastructure that you use. Without taxes, you would have to pay a lot of money for various insurances, even more than you already do. I consider taxes the least evil alternative there is.
27  Game Development / Newbie & Debugging Questions / Re: libGDX - It's so large? on: 2013-02-27 20:42:22
People here seem to assume that: retail price * number of sales = profit
Pardon me for this unforgivable mistake.
28  Game Development / Newbie & Debugging Questions / Re: libGDX - It's so large? on: 2013-02-27 20:12:27
Steam Linux sales stats, units (all our Steam games, last 2 weeks):

Windows: 6,122
Mac: 399
Linux: 1,369

Cas Smiley

FWIW if you double those stats you can be a Swedish crown millionaire.
29  Game Development / Newbie & Debugging Questions / Re: What book is the best to start with in java game programming?. on: 2013-02-23 17:06:43
There aren't really that many good books on game programming with Java. I would advise you to pick up a book on Java and go into game development when you've learned how to use the language.
30  Discussions / Miscellaneous Topics / Re: Generalized Rant Thread on: 2013-02-18 17:30:19

Whats the problem of eating horses (forgetting about pets, including drugged horses).
Its tasty, so why not?

Edit: Ah, its metaforic haha Smiley
Well i don't see how people need to eat meat every day anyways.
Its just like needing chocolate every day, its tasty, but really bad.
Only meat isn't that bad for you, or your teeth, unlike chocolate.
Pages: [1] 2 3 ... 8
 

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

The first screenshot will be displayed as a thumbnail.

CogWheelz (18 views)
2014-07-30 21:08:39

Riven (25 views)
2014-07-29 18:09:19

Riven (15 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (33 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (43 views)
2014-07-24 01:59:36

Riven (43 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 18:29:50

List of Learning Resources
by SilverTiger
2014-07-31 18:26:06

List of Learning Resources
by SilverTiger
2014-07-31 13:54:12

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54
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!