Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (592)
Games in Android Showcase (168)
games submitted by our members
Games in WIP (646)
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 ... 344
1  Discussions / General Discussions / Re: Oracle are winning in the 'copyright an api' legal fight on: 2015-06-30 14:49:13
Exactly - it's a massive clusterf**k.

Except for the small problem that it's a substantially massive API that took millions of dollars to develop, and if they were your millions of dollars, what would you do? Especially if whoever had copied them (they didn't just appear out of nowhere, remember!) has gone on to make billions on top of it?

Cas Smiley
2  Discussions / General Discussions / Re: Oracle are winning in the 'copyright an api' legal fight on: 2015-06-30 14:10:29
Well, now let's imagine that you spent 50 years developing a rich and complex library of code, say, in C++, and you make your living after all your hard work by licensing people to use your binaries, and in a gesture of goodwill you release the source to those binaries to allow people to see how it all works and some smartass just goes "yoink" and copies all 208 header files and starts redistributing them without so much as a by-your-leave and then goes on to make billions of dollars from it. Would you be happy about that?

Cas Smiley
3  Discussions / General Discussions / Re: Oracle are winning in the 'copyright an api' legal fight on: 2015-06-30 13:40:36
"Common sense" really isn't applicable here. There is no right answer. Both parties are "right" but the ramifications of either one being ruled "right" are bad. There's no good solution. This is a problem.

Cas Smiley
4  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-06-27 23:16:54
Sorry to bring it down on everyone  Undecided Though this has been the longest community I've ever been a part of. 15 years or so! I feel just sort of gently supported knowing you're all around doing your things.

Cas Smiley
5  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-06-27 20:14:03
Today, I had to write this.

Cas Sad
6  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Java OpenGL Math Library (JOML) on: 2015-06-24 11:24:37
Seems reasonable to do things either way to me. I'm not a great fan of method chaining though it can produce some prettier looking code; seems like it's really just making up for some syntax that's missing from Java generally. All hail LISP etc.

Cas Smiley
7  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Java OpenGL Math Library (JOML) on: 2015-06-24 09:10:52
Hm, someone got out the wrong side of bed today. Here's how I would approach this without apparently exploding in rage at the injustice of the universe:

What is the design purpose of this method? Perhaps it is redundant.
1  
2  
3  
public Vector3f with(Vector3f v) {
        return v;
}


Cas Smiley
8  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-06-23 10:24:30
First JGO Mile High Club entry hm?

Cas Smiley
9  Java Game APIs & Engines / OpenGL Development / Re: [LWJGL] Java 8 Dependency? Or is it just me? on: 2015-06-22 10:19:16
Thanks for the clarification Spasi.

Cas Smiley
10  Java Game APIs & Engines / OpenGL Development / Re: [LWJGL] Java 8 Dependency? Or is it just me? on: 2015-06-21 20:52:45
Hmm I thought there were some Java8 things being used in the generators but I haven't really looked deeply.

Cas Smiley
11  Java Game APIs & Engines / OpenGL Development / Re: [LWJGL] Java 8 Dependency? Or is it just me? on: 2015-06-21 20:45:39
Building LWJGL3 requires Java 8; the output is Java 6 compatible (for some reason - it may as well be Java 7 at least)

Cas Smiley
12  Java Game APIs & Engines / Java 2D / Re: Approaches to active rendering with no libraries on: 2015-06-17 10:59:05
As Java7 is already in EOL it's probably a good idea to start on Java8 right now Smiley

Cas Smiley
13  Java Game APIs & Engines / Java 2D / Re: Approaches to active rendering with no libraries on: 2015-06-17 10:42:54
Keep in mind that Java2D/AWT/Swing are now deprecated and from Java8 onwards you probably want to be looking at JavaFX8 instead, which is designed for this sort of thing and somewhat better at it.

Cas Smiley
14  Discussions / General Discussions / Re: Are algorithms helpful in game programming? on: 2015-06-15 13:54:33
But then again, English is not my first language. Thanks for correcting! Wink
OT: I suspect most English speakers don't know the secondary meaning of "fundament" either though Wink For your amusement, Edward the Confessor's death

Cas Smiley
15  Discussions / General Discussions / Re: Are algorithms helpful in game programming? on: 2015-06-15 13:10:08
Algorithms and data structures are like the fundament of every game and game/render engines. Smiley
Fundament has an amusing other meaning Smiley I suggest fundamental  Pointing

Cas Smiley
16  Discussions / General Discussions / Re: Are algorithms helpful in game programming? on: 2015-06-15 12:49:15
Many of those algorithms are extremely useful in games programming, bearing in mind algorithms go hand-in-hand with their associated data structures - the two concepts are often inseparable.

Some examples of their use:

A* open list / priority queue - best implementation is a binary heap, if you actually want pathfinding in real time
Sorting - frequently used all over the place for stuff like sprite depth sorting though you will probably never need to implement your own as the JDK contains good sorting algorithms
Quadtrees / octrees / bsptrees - used in various styles of games to enable collision detection in reasonable time



Cas Smiley
17  Game Development / Game Play & Game Design / Re: Game armor/weapons: random attributes or predefined attributes? on: 2015-06-12 11:28:55
Millionaires think both I always say.

Most RPGs use a system where there are a number of common, mundane items, with a random percentage of drops being modified, with increasing rarity depending on modification magnitude. This mechanism keeps players looking for stuff and being interested in playing the game.

Cas Smiley
18  Game Development / Newbie & Debugging Questions / Re: How does minecraft do its Pathfinding? on: 2015-06-11 21:59:09
+1 for BurntPizza's link - the pathfinding from Revenge of the Titans was researched from there.

Cas Smiley
19  Discussions / Miscellaneous Topics / Re: How well does this work? on: 2015-06-09 21:46:50
Works fine here. 220fps (Chrome/W7-64/fairly shit-hot rig)

Cas Smiley
20  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-06-08 22:11:26
Should probably point out here that Valve have gone way beyond the requirements set out in EU law... there is actually no obligation to refund digital purchases at all if certain simple criteria are met (see: http://europa.eu/youreurope/citizens/shopping/buy-sell-online/rights-e-commerce/index_en.htm) For what it's worth, we 100% support customers* rights to a refund, but only if a bunch of other things change.

Cas Smiley

* Coz, surprise surprise, I'm a customer too
21  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-06-08 21:39:10
Enraged the internet last night by daring to be worried about the effect of Steam's new refund policy on income, spent much of today pouring water on the flames. Ended up blocking over 10,000 Twitter accounts, and then finally making the @puppygames account protected. So, well done, internet.

Cas Smiley
22  Discussions / Miscellaneous Topics / Re: What's your favorite OS and why? on: 2015-06-05 23:17:57
I hate them all. I use Windows 7 Ultimate N 64 bit otherwise.

Cas Smiley
23  Discussions / Miscellaneous Topics / Re: What I did today on: 2015-06-05 19:25:30
So has anyone tried this game: TIS-100

My twitter is getting spammed with people talking about it.
Looks cool Smiley Made a couple of these sorts of games back in the 80s myself (running on an Atari ST 512, no less)

Cas Smiley
24  Discussions / General Discussions / Re: Four hour downtime as mysql tumbled on: 2015-06-05 19:22:59
Presumably you can't sidegrade it to a proper database like Postgres or somesuch?

Cas Smiley
25  Discussions / General Discussions / Re: Congrats on Ultratron being featured on various websites! on: 2015-06-03 22:16:07
Been out for a month! Seems to have been received quite favourably though once again it's a massive finger in the eye to Oracle for brilliantly failing to make Java tech available on consoles after all these years (yes, all painstakingly hand ported to C++)

Cas Smiley
26  Game Development / Newbie & Debugging Questions / Re: Efficient Collision detection on: 2015-06-02 12:35:33
+1 for simple cell grid, especially if the kinds things in your game don't vary hugely in size, and the universe in which they live is of reasonably bounded size.

Variation:

I actually use two cell grids at different resolutions, one high-res one for ordinary collision detection, and another low-res one, which I use for "large collision detections" eg. dragging a circle over the world UI to select units: with the hi-res grid the number of cells that need to be checked for large circles was far too high.

Cas Smiley
27  Discussions / Miscellaneous Topics / Re: What is your opinion about ... on: 2015-06-02 10:06:41
That's exactly how lambdas work here: the lambda function is not actually evaluated if the logger discards the message. It's no different to how you could code it with an anonymous inner class implementation of the Supplier interface, but it does look a lot neater.

Cas Smiley
28  Discussions / Miscellaneous Topics / Re: What is your opinion about ... on: 2015-06-02 09:12:55
Lately I've been using java.util.logging  persecutioncomplex

1  
LOGGER.finest(() -> "And this is only evaluated when the log level is actually set to "+Level.FINEST+" so it doesn't waste cycles!");


With lambdas and a bit o' static import it's rather nice. Also nice is that with the twiddle of a configuration file I can have everything suddenly logging stuff to a database or to syslog.

Cas Smiley
29  Discussions / Miscellaneous Topics / Re: What to really learn for commercial Java ? on: 2015-06-01 12:26:43
Wandering vaguely off-topic into the realms of ideological discourse I'd say that the Java platform is far bigger than a single tool but is in fact an entire toolkit, and a pretty large one at that... and that many of the things found sprouting off off it eg. Spring, Hibernate, etc. that you might be forced to "learn" are absolute heaps of bullshit that will get you into very tedious shitty jobs competing with a load of other candidates who have what they like to think of as "skills" but which are, in fact, mostly excuses for not understanding what's really going on.

YMMV.

Hibernate. Sheesh.

Cas Smiley
30  Discussions / General Discussions / Re: Four hour downtime as mysql tumbled on: 2015-05-29 07:47:57
Next time suggest some sort of painful team building exercise such as paintball. Oh yes.

Cas Smiley
Pages: [1] 2 3 ... 344
 
deepthought (24 views)
2015-06-30 15:39:44

deepthought (26 views)
2015-06-30 15:39:09

deepthought (33 views)
2015-06-30 15:36:52

Za\'Anzabar (21 views)
2015-06-29 05:44:54

TritonDreyja (36 views)
2015-06-24 17:10:40

CopyableCougar4 (33 views)
2015-06-23 00:34:45

BurntPizza (37 views)
2015-06-21 20:36:46

cookiecompiler (80 views)
2015-06-11 15:42:53

cookiecompiler (44 views)
2015-06-11 15:41:14

NegativeZero (72 views)
2015-06-11 09:49:18
How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

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