Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
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 ... 336
1  Discussions / Miscellaneous Topics / Re: Markus bought a new house on: 2014-12-19 16:52:29
And his dad committed suicide ISTR.

Indeed, but the intention of this thread wasn't to discuss personal items but just to show that it's possible to go from java-gaming.org to buying a 50 million euro house for the ones that are aspiring for such things.

Mike
It is also possible to win the lottery... just not very likely, either Smiley

Cas Smiley
2  Discussions / Miscellaneous Topics / Re: Markus bought a new house on: 2014-12-19 13:05:12
And his dad committed suicide ISTR.

All in all... I wouldn't want to be Markus.

Cas Smiley
3  Discussions / Miscellaneous Topics / Re: Markus bought a new house on: 2014-12-19 12:56:37
No so much sour as just reflecting on what's been known of his public and private life over the last 5 years... it doesn't seem to have gone very well for him, apart from the money. The older we get the more we discover that the only things we really want are the things that money can't buy...

Cas Smiley
4  Discussions / Miscellaneous Topics / Re: Markus bought a new house on: 2014-12-19 09:54:53
I suppose he can sit in there all alone and wonder what went wrong with the rest of his life.

Or surrounded by lackeys, hangers-on, leeches and scroungers pretending to be his friends, as the case may be.

Cas Smiley
5  Discussions / Miscellaneous Topics / Re: Should i learn lwjgl instead of java2D on: 2014-12-18 10:01:06
If I were just starting out making games I'd not recommend Java at all Smiley But if you must, I'd go for libgdx.

Cas Smiley
6  Discussions / Miscellaneous Topics / Re: Should i learn lwjgl instead of java2D on: 2014-12-18 09:53:58
i have now been doing java2D for over 3-4 years! should i start with lwjgl?

what can lwjgl give me that i cant do in java2D?
does lwjgl render better?
what does lwjgl have?

i'am good with java2D, think i should upgrade?
LWJGL will give you OpenGL knowledge. Libgdx is virtually the same but has a whole ton of other stuff added on to it.

LWJGL gives you basically high performance graphics in the way the graphics card understands, at the cost of being at a lower level of abstraction to Java2D. Java2D has lots of very very nice stuff for rasterising complex primitives and so on; OpenGL lets you basically render triangles, points and lines and texture them.

OpenGL will probably be more useful to you in the long run than Java2D one way or another.

LWJGL also gives you a sound API that's actually good (OpenAL) vs. JavaSound which is not.
And some fairly simple display management stuff which is much easier to use than AWT again at the cost of being rather less fancy.
And some great mouse/keyboard input APIs.

Cas Smiley
7  Game Development / Newbie & Debugging Questions / Re: ENUM Memory usage in Java on: 2014-12-17 17:29:37
Riven did some interesting experiments lately on the difference between array[][] and array[] and I seem to recall his unexpected conclusion was that array[][] was usually considerably faster. Can anyone find that benchmark? Anyway I suspect that the cache implications were completely outweighed by some improved ability of Hotspot to hoist bounds checks when there's no multiple involved in calculating the index.

Cas Smiley
8  Game Development / Newbie & Debugging Questions / Re: ENUM Memory usage in Java on: 2014-12-17 16:00:42
enums are 4 bytes per reference like all other references (ie. same as an int). Sometimes 8 on 64-bit archs.

Cas Smiley
9  Game Development / Newbie & Debugging Questions / Re: "Wrong Component Type or Count" GLSL shader error on: 2014-12-15 08:14:33
Ah ignore me, I'm wrong. I was just speculating that a sampler that was sampling RGB values instead of, say RGBA, would return a vec3 but I don't think that's the case.

Cas Smiley
10  Game Development / Newbie & Debugging Questions / Re: "Wrong Component Type or Count" GLSL shader error on: 2014-12-14 22:46:03
Also wrong data supplied to sampler.

Cas Smiley
11  Game Development / Newbie & Debugging Questions / Re: Starting a Java Game, Where to Start? Eventually want to be network multiplayer on: 2014-12-12 16:05:36
My advice... use Unity. Strange but true.

Until someone bright sorts out the whole end-to-end thing with Java... it's still back where it was in 2002 as far as games is concerned. Almost zero movement in 12 years.

Cas Smiley
12  Discussions / Miscellaneous Topics / Re: Full Visual Studio for free on: 2014-12-12 11:48:34
Junction Link Magic might make things simpler.

Cas Smiley
13  Discussions / Miscellaneous Topics / Re: Full Visual Studio for free on: 2014-12-12 11:18:04
Handy tip: learn about NTFS junction points.

Cas Smiley
14  Discussions / General Discussions / Re: Reasons for using a scripting language in your game? on: 2014-12-06 12:28:10
As yet I've not noticed any scripting languages that are actually easier than Java in any particular way. I notice wryly that Unity uses C# as its core "scripting" language as it is. That should give people some clues Smiley

Cas Smiley
15  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-12-06 12:17:52
It's much more fun getting smashed on booze compared to getting smashed by a baseball bat.

Live a little! It can be fun.

Cas Smiley
16  Discussions / Miscellaneous Topics / Re: The C family, should I dig deeper? on: 2014-12-05 19:31:06
BASIC.

Cas Smiley
17  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > Now on Steam! < on: 2014-12-05 13:47:22
I haven't implemented full workshop support in Steampuppy yet, mind.

Cas Smiley
18  Discussions / General Discussions / Re: Reasons for using a scripting language in your game? on: 2014-12-05 10:20:22
There are no sound technical reasons to use scripting languages with Java to make games. Scripting solved a problem that C++ has that Java does not have.

Cas Smiley
19  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-04 11:01:30
Well, I've chucked a few bucks your way Smiley Does look kinda fun, although I can't quite honestly see the application beyond monkeying about!

Cas Smiley
20  Discussions / Miscellaneous Topics / Re: C#, did Microsoft just want to be different? on: 2014-12-02 00:39:49
Getting increasingly messy, hm. Some good things in there... some facepalmy stuff.

Cas Smiley
21  Discussions / General Discussions / Re: Advanced Java topics on: 2014-11-28 22:05:43
Scripting languages have always been somewhat irrelevant with Java around.

Cas Smiley
22  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-11-28 09:46:37
That's looking really interesting indeed.

Cas Smiley
23  Discussions / General Discussions / Re: Sprite DLight - Instant normal maps for 2D graphics on: 2014-11-28 00:07:42
A polite reminder to detractors: this is a Java Gaming forum. That means it's about Java ... and Games. This is a tool to help Java programmers make games. Peace, etc.

Cas Smiley
24  Games Center / WIP games, tools & toy projects / Re: Legends of Fore on: 2014-11-27 16:08:13
Russian's bigger.

Cas Smiley
25  Discussions / Miscellaneous Topics / Re: C#, did Microsoft just want to be different? on: 2014-11-27 14:58:34
Seems Valhalla awaits and is the end to all our woes, and includes endless feasting and maidens too.

Cas Smiley
26  Discussions / Miscellaneous Topics / Re: C#, did Microsoft just want to be different? on: 2014-11-27 13:02:06
The coalesce operator ?? and the elvis operator ?: are functionally the same.
Exactly Wink Sorry, irony not clearly specified!

I think C#'s approach to lambdas is slightly better than Java's, although both of them would be improved (for the user - maybe not for the compiler implementer) by being more functional. Effectively they both require you to define a placeholder (respectively a delegate or a one-method interface) for the type. I would rather just be able to specify something of the form (String, String) => int as the signature.

Ah, but then how would you write the receiving end, as it were? Gotta start from something in Java - that's just the nature of the beast. I can live with it.

You know what else would be nice? Blocks of declarations:

1  
2  
3  
4  
5  
6  
7  
public static final {
..vars here...
}

private {
...
}

That'd save a lot of boilerplate typing that you literally see everywhere in Java code.

Cas Smiley
27  Discussions / Miscellaneous Topics / Re: C#, did Microsoft just want to be different? on: 2014-11-27 11:31:06
Yes, I like a lot of those things.

Because Java is missing them and needs it for performance:
  Value types

Especially for reducing a bit of boilerplate and increasing readability:
  Default and named parameters
  All exceptions are unchecked 

Things I'm definitely not keen upon:
  The coalesce operator. Co-opting ascii symbols to mean fancy new things is one of the worst aspects of many language, especially as they all like to mean subtly different things. I'm not even a great fan of ? : but I've used it for so many years before that I've gotten used to it.
  var. For various reasons but mostly because it hides stuff I like to know.
  Properties. Have a dot operator already. If I mysteriously need to munge values before getting and setting there's a perfectly good way to do it already - with a method.
  Nullable types. Daft idea. We have reference types to do that. Make a reference to a value type. Job done.
  Operator overloading. Again with the ascii symbols. I'm in favour of a version that allows normal method identifiers though.
  readonly and const (strangely Java has coped without either of these for its entire existence and we're all still alive)

Things I'm still not sure about:
  Extension methods. Seem like a great idea but I started to get an uneasy feeling about them after a while.

Stuff I know nothing about:
  Yield.
  Dynamic types.

Stuff I don't care about:
  Type erasure. The number of times I need to use reflection in ordinary programming is essentially zero unless I'm doing hax or not doing "ordinary programming"
 
Things that are in Java which are excellent ideas:
  the <> operator, which removes large tracts of crappy redundant typing
  static import, ditto
  lambda syntax, ditto, plus bells and whistles
  final, which works in a lovely consistent way
  for instead of foreach. Consistent use of keywords!

Things that could do with adding to Java other than those features mentioned that are nifty about C#:
  The elvis operator. I take back what I said about ascii Wink
  More type inference and implicit casting
  The ability to specify byte and short literals with suffixes a la longs (dunno if C# has these)
 
Cas Smiley
28  Discussions / Miscellaneous Topics / Re: C#, did Microsoft just want to be different? on: 2014-11-26 19:16:58
Well.. I'm not trying to limit the discussion to var. I would like someone like you to espouse the benefits of C# so we can see where it's better.

Cas Smiley
29  Discussions / Miscellaneous Topics / Re: C#, did Microsoft just want to be different? on: 2014-11-26 17:18:55
I'm still not seeing any significant advantages in C# over Java, syntax-wise. They're both roughly equivalent, expressively, and indeed as the OP seems to say, some things appear to be different "just because, ner ner ner". Or possibly to distance it from Java a little further in peoples' minds.

Cas Smiley
30  Discussions / Miscellaneous Topics / Re: The C family, should I dig deeper? on: 2014-11-26 16:52:24
Heh, with typography, spelling and grammar like yours you're going to grow to hate C++ Wink

Cas Smiley
Pages: [1] 2 3 ... 336
 

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

The first screenshot will be displayed as a thumbnail.

rwatson462 (33 views)
2014-12-15 09:26:44

Mr.CodeIt (23 views)
2014-12-14 19:50:38

BurntPizza (51 views)
2014-12-09 22:41:13

BurntPizza (84 views)
2014-12-08 04:46:31

JscottyBieshaar (45 views)
2014-12-05 12:39:02

SHC (59 views)
2014-12-03 16:27:13

CopyableCougar4 (58 views)
2014-11-29 21:32:03

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

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

toopeicgaming1999 (32 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

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