Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (292)
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  Game Development / Newbie & Debugging Questions / Re: Why the & 0xFF? on: 2013-04-26 20:20:52
Ugh... found the answer in this thread...
2  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.
3  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.
4  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
5  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.
6  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.
7  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.
8  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.
9  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.
10  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.
11  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.
12  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.
13  Discussions / Miscellaneous Topics / Re: Generalized Rant Thread on: 2013-02-17 20:55:07
Quote
There's a thing called science and a thing called common sense. Most "wisdom" about food and health habits that comes to people from science is mostly fragmented, misinterpreted, over-hyped and generally total nonsense.

What your are calling science is just PR and marketing, branding their communications as "scientific".

That is not science. One has to try and learn how to tell bogus PR from the real thing. Tossing out all science is giving in to the PR bastards.
Isn't most common sense based on careful observation and experimentation anyway?
14  Games Center / WIP games, tools & toy projects / Re: TUER: Truly Unusual Experience of Revolution, FPS using JOGL on: 2013-02-17 16:18:03
When you program, you end up by discovering that there is only one kind of program: the buggy ones. Bug-free programs do not exist. I love my buggy project. I go on fixing bugs, constructive comments and suggestions are welcome. As time goes by, there are less bugs in my game, it's not like it was becoming worse. I'm not in a hurry. I have nothing to sell, it's an hobby project.
Very well said.

Damn...I'm agreeing with gouessej? Must be the end times... persecutioncomplex Grin

I don`t know what contributions julien did to the open source community, but I'm pretty positive it was something more than spamming a java gaming forum with nonsense posts.
Although I believe that if I ever decided to write an FPS, this thread and Goussej's source code repo would be the first two places I would go. Maybe some Doom and/or Quake source code repositories as well.
15  Games Center / WIP games, tools & toy projects / Re: JCOD - Java port of roguelike library libTCOD on: 2013-02-16 22:46:31
Still TODO: Finish FOV and LOS, then start on pathfinding and BSP.  At that point I'm pretty much feature-complete as TCOD functionality goes.
I really need to write this down and use it when somebody asks me what exactly game programming is about.
16  Game Development / Newbie & Debugging Questions / Re: LWJGL Keyboard, what's going on? on: 2013-01-28 19:44:42
I wish they would have included variations of the collections classes that are tailored towards the primitives as well. Or just not failed so badly with generics.
17  Game Development / Newbie & Debugging Questions / Re: LWJGL Keyboard, what's going on? on: 2013-01-28 18:39:23
There's probably some great container for these kinds of things, but I have no idea.
18  Game Development / Newbie & Debugging Questions / Re: LWJGL Keyboard, what's going on? on: 2013-01-28 18:29:08
1  
new boolean[65536];

This basically allocates 64 kilobytes of memory. I can't help but feel like it's wasteful.
19  Discussions / General Discussions / Re: How are the bindings in LWJGL generated? on: 2013-01-28 18:24:24
I think that's a question that's best answered at http://www.lwjgl.org/forum/ Smiley (I'd answer you, though, if I knew how.)
I found that the question was already answered in this thread, so I guess I should say thank you for reminding me to look on the LWJGL forums as well!

EDIT: On a further note, after a bit of rummaging in the LWJGL Ant targets, I found nothing of generating the JNI and wrapper classes, only compiling the native code. Any input?
20  Discussions / General Discussions / How are the bindings in LWJGL generated? on: 2013-01-28 18:20:53
As in title. I was wondering, how are the bindings for the actual functions of OpenAL/CL/GL generated?
21  Game Development / Shared Code / Re: [LWJGL] EzRender - Easier Rendering on: 2013-01-28 15:16:01
The author of the Google Code files say Lasse Skogland, are you Scandinavian (perhaps even Swedish) by any chance?
22  Discussions / General Discussions / Re: New feature: downtime on: 2013-01-27 16:18:42
Or maybe you could give them a medal?
23  Discussions / General Discussions / Re: Why java over other languages? on: 2013-01-27 08:35:14
I prefer Java over C/C++ because it's easier to add modding support with Java, Java has strict conventions, Java IDEs are much better than C/C++ ones, even Eclipse CDT, Java has a load of libraries, and almost all libraries are easy to use and cross-platform.

A final note is that with Java, you do not need to recompile with a new compiler for each platform.
24  Discussions / Miscellaneous Topics / Re: Job as Game Programmer, but not java on: 2013-01-20 16:10:41
Oh, and apparently Blackberry is moving from Java to native C++ development for their new OS/Devices. It doesn't surprise me that mobile development moves away from Java and into native code, seeing how critical resource management is in those environments.
Indeed, I found the decision to use Java for mobile development in the first place stupid. The argument that there is an established developer community around Java isn't a very good one either, the same thing exists for C/C++.
25  Discussions / Miscellaneous Topics / Re: Job as Game Programmer, but not java on: 2013-01-20 15:51:51
But, as I argued earlier, a computer doesn't have to have top-specs to be viable as a development machine.

While I do agree, you should realize that real game development isnt just writing code, I use Maya, Photoshop and audio software on a regular basis while working on games. Also video editing software for various stuff like trailers.

A machine should run fast when Maya, Photoshop, a web browser with many tabs and an IDE is open - and that needs some power :0
Ah, I can't argue with that. Though Maya and Photoshop are more of an artists tools than a programmer's.

My build time is around 5s and loading time another 3s and this is iOs game. This 8s wait before I can see code changes is killing me. Edit and continue is not that much faster either.
This 8second wait is so long that most of the changes does not even need it anymore because almost everything is made hot loadable and most of the game is just plain data so no need for compiling. These numbers are with top end pc.
Iteration is king and everything that make iterating faster or even instant is worth of effort and money.
At home I use fast laptop but compiling time is lot slower about 40 second. This is so long wait that you usually forget what you was doing and can cause pause up to 15 minute. Interruptions ruin workflow.
Iterations mean better quality.

Forcing your self to use slow dev machine just that you can test it also with slow machine is idiotic. I am graphics programmer I first need to make it work, then make it pretty and then optimize it if needed. Slow machines are only for last step and even that can be done at later stages of project when you know what are the bottlenecks and you have more options to solve these problems.
And in case of mobile development dev machine is totally different thing that device that is used for playing.
You are doing mobile development, which is not what I was talking about, and not relevant to the argument at all. I see no point in replying to your attempt to twist this argument from an argument about development platforms into an argument about development platforms for mobile games and applications.

Before I quit, however, I must comment on how slow you really think it is. I have Eclipse running with incremental compiling and I can see my changes almost instantaneously (about one and a half second for LWJGL to create the display, and all data and media to be loaded), though I am not doing mobile dev. Some rough specs of this tiny machine include a 2.5GHz processor and 2GB of RAM, running OS X 10.8.
26  Discussions / Miscellaneous Topics / Re: Job as Game Programmer, but not java on: 2013-01-20 13:47:57
I disagree that Mac is a bad development platform. XCode and Visual Studio are both bad in my eyes, but if you are going to do C/C++ development, the Unix(-like) ecosystem is really a great one for development. In particular, I appreciate package managers and often wish there was an equivalent on Windows that didn't suck. I think it's funny how you talk about the superior tooling of C++, when you also talk about developing on Windows. I find the set of tools for software development to be lacking on Windows when compared to other operating systems, operating system families, platforms, whatever.

Also, if you have only ever developed software on a Windows computer, then you have no right to have an opinion. I can't say that I find the taste of alcohol gross because I haven't tried it (oh, I'm so innocent), and if I did, it would be childish and it would show that I rely all too much on first impressions.

I compared mac against windows. Talking about Unix is just red herring. Apples vs oranges and you argument that you like bananas better. I am developing games for iOS so I have to use Mac everyday and its always as frustrating.
Macs are lot more expensive than pc's and developer need fast computer to make things like compiling or running at debug mode fast enough. Even if you could do things with hackintosh I don't see it worth the effort.

I have work experience from linux, mac, windows and various languages, IDE's and compilers. At the end my opinion is that visual studio is best that you can get for c++ and Ecplipse for java.
I really don't see how I am comparing apples and oranges when I'm talking about two programming ecosystems, Unix-like and Windows. Talking about Unix is relevant as that includes the Mac, Linux and BSD operating systems, and I argument that Mac is a better programming platform because you can access all these tools natively without having to rely on Cygwin for them.

I really don't see how programmers need fast machines more than any other profession, in fact, it might be beneficial for you, as a developer, to write and test your code on a computer that performs worse than the computer you would normally use. Compiling and debugging times, yes, but incremental compilation greatly eases the first.

As for the price of Macs, yes, it's high. That's right. I wouldn't encourage anyone to spend their hard-earned money on one unless they were an Apple fanboy, and then there's no use in discouraging them from it. But, as I argued earlier, a computer doesn't have to have top-specs to be viable as a development machine.

If you find Mac development frustrating, then I think you must be doing something wrong, as I don't find it more frustrating than programming anywhere else, that is, a bit every now and then. I have also programmed a little bit of everything a little bit of everywhere, but that's not relevant at all.
27  Discussions / General Discussions / Re: Registration Activation Quiz on: 2013-01-19 23:18:13
I remember when I was even smaller, I couldn't register to these forums because I wasn't experienced enough to solve the various problems I had to solve to register. That part probably saved you all a month or so of newbie questions whose solutions were all readily available on the internet.
28  Discussions / General Discussions / Re: Java 7.10 Plugin blocked on Mac on: 2013-01-13 15:22:57
If you absolutely must use LWJGL on Mac 10.7+ and use Java 7, you can checkout some of the links here. From what I've seen a lot of things seem to work.
29  Discussions / Miscellaneous Topics / Re: Job as Game Programmer, but not java on: 2013-01-13 15:15:40
I disagree that Mac is a bad development platform. XCode and Visual Studio are both bad in my eyes, but if you are going to do C/C++ development, the Unix(-like) ecosystem is really a great one for development. In particular, I appreciate package managers and often wish there was an equivalent on Windows that didn't suck. I think it's funny how you talk about the superior tooling of C++, when you also talk about developing on Windows. I find the set of tools for software development to be lacking on Windows when compared to other operating systems, operating system families, platforms, whatever.

Also, if you have only ever developed software on a Windows computer, then you have no right to have an opinion. I can't say that I find the taste of alcohol gross because I haven't tried it (oh, I'm so innocent), and if I did, it would be childish and it would show that I rely all too much on first impressions.
30  Discussions / Miscellaneous Topics / Re: Is this site getting slower? on: 2013-01-08 00:09:23
No, the problem is on your part. This site has always been extremely fast for me, even though I have an internet connection on the lower half scale of decent, and it loads lightning fast.
Pages: [1] 2 3 ... 8
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

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

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (67 views)
2013-05-17 21:29:12

alaslipknot (76 views)
2013-05-16 21:24:48

gouessej (109 views)
2013-05-16 00:53:38

gouessej (104 views)
2013-05-16 00:17:58

theagentd (115 views)
2013-05-15 15:01:13

theagentd (104 views)
2013-05-15 15:00:54

StreetDoggy (149 views)
2013-05-14 15:56:26

kutucuk (172 views)
2013-05-12 17:10:36

kutucuk (170 views)
2013-05-12 15:36:09

UnluckyDevil (179 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
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!
Page created in 0.152 seconds with 20 queries.