Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (541)
Games in Android Showcase (133)
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 ... 95
1  Game Development / Newbie & Debugging Questions / Re: Which is the "better" practice on: 2014-12-26 18:32:38
1990's thinking.  In more years than I care to admit to...it's never happened to me (that correcting a bad assumption consumed a large amount of time).  However I see to opposite quite alot.    And this is complete ignoring, as Cas quaintly puts it, the re-factoring fairy. We're not talking about programming spreadsheets, web-servers, etc.
2  Game Development / Newbie & Debugging Questions / Re: Which is the "better" practice on: 2014-12-26 12:54:12
The correct answer is the easiest for you to read, write and maintain.  Everything else is someone else's wishful thinking.
3  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-23 08:46:54
Got inspired by basil_'s nested noise. Roll Eyes
Domain deformation.  Nice picture BTW.
4  Discussions / General Discussions / Re: How do you feel about selling out? on: 2014-12-22 09:33:30
"selling-out" usually is used to describe when some professed believes are contradicted by some action (almost always money related).  But I ask you to think about this.  In an example like Markus should we respect him less for this?  If he had prevented the deal from going through it would be "my believe systems trumps that of everyone else involved".  That's very egotistical.  That's the kind of inflexibility that makes humans at their worst. I, for one, respect him more for selling...not because of the money...but because it shows he does care about the desires/rights of others and is willing to go against his own personal desires for their sake even when he knows he's going to catch hell for it some ignorant people.
5  Game Development / Game Mechanics / Re: Should I make a physics engine? on: 2014-12-22 08:30:07
Opps..bad me.  Err yeah, 2D.
6  Game Development / Game Mechanics / Re: Should I make a physics engine? on: 2014-12-21 21:16:32
Just to toss around mud...in 3D there's also dyn4j.  I've no personal experience with it.
7  Discussions / Miscellaneous Topics / Re: Markus bought a new house on: 2014-12-19 14:39:01
... everyone basically hates him because he is a sell out.
Only massive dorks.  I bet the other folks that made a mint out of the deal rather than Markus poison pilling it don't hate him.  Not in the slightest.
8  Discussions / General Discussions / Re: Weird Math.max() behaviour. Math.max(0f, Float.MIN_VALUE) is Float.MIN_VALUE?? on: 2014-12-18 10:53:15
@KevinWorkman: Adding one or more variables that aren't needed.  You're expanding the state data requirements by 50-100% and likewise for the actual code itself.  More complexity is more things to write, read and maintain.  There's no upside as it bring no additional information to the table.  This is so small and simple that it doesn't make sense (generally) to write a library and looking up the existing version to copy-and-paste will take longer than just typing it out for the Nth time.  And some of these Nth times you'll do it wrong since it's so simple you're not even thinking about it while you're typing.
9  Game Development / Newbie & Debugging Questions / Re: ENUM Memory usage in Java on: 2014-12-17 20:47:56
Riven's benchmark was broken.
10  Discussions / General Discussions / Re: Weird Math.max() behaviour. Math.max(0f, Float.MIN_VALUE) is Float.MIN_VALUE?? on: 2014-12-17 14:43:51
Hehe.  Ok:  Please create strawman example that someone might actually want actually do in a video game.

Answer.  You could use NaNs, but that would mean using the opposite compares which might seem confusing to some.  If there NaN at the end then there's no data..but know that anyway because if the input means anything then it's stored somewhere.  Or you could use Infinities.  Or you could store an invalid range. 
11  Discussions / General Discussions / Re: Weird Math.max() behaviour. Math.max(0f, Float.MIN_VALUE) is Float.MIN_VALUE?? on: 2014-12-17 08:13:42
Quote
Either set it to the first possible value and then do your searching from the second possible value, or if you don't know the first value ahead of time, use a separate boolean that keeps track of whether the value has been set yet.
The first is very reasonable.  The second isn't..but that doesn't matter since that situation doesn't exist.  If you're going to compare things then a 'first' set of values must be known.
12  Game Development / Game Play & Game Design / Re: LF:2D sprite generator on: 2014-12-16 06:31:19
I haven't looked at either.  Compose the sprites at runtime...don't create new sprites of each...that's combinatoral.  Bad idea.
13  Game Development / Game Play & Game Design / Re: LF:2D sprite generator on: 2014-12-14 12:53:45
composed sprites.
14  Game Development / Game Mechanics / Re: Should I make a physics engine? on: 2014-12-14 12:47:28
Real physics I'd say don't write even for the learning experience.  Read up on the techniques and call it a day.  It's a million and one devil's in the details topic that (the details) don't have much educational value.
15  Discussions / Suggestions / Re: Ability to Remove a Medal on: 2014-12-12 14:35:43
If you accidentally give a medal more than once then                 and you should           because                      .  So stop being part of the problem instead of                                
16  Game Development / Newbie & Debugging Questions / Re: How to implement Spatial Partitioning. on: 2014-12-11 13:59:49
Stuff like quad/oct-trees are a PITA in java since there isn't an easy way to do plain old data arrays.
17  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-10 08:18:09
@BurntPizza: I only skimmed...there's some divides that can go away, but more importantly that XorShift can most likely be replaced with a well chosen constant LCG or even MLCG.  Another option would be to use the first stage of MurmurHash2 (without the final cascade).  Food for thought.

@Riven's comment:  yeah...kill all banding...it sticks out like a sore thumb.
18  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-09 18:38:26
Math.pow with integers...naughty.  Math.pow with integer 2...very naughty.  Don't forget you need to insure you're not in interpreted code for a meaning benchmark of something that's going to happen frequently.
19  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-07 09:34:28
A try block (in general) makes code harder to optimize as all possible paths must contain legal results.  As an example any variable visible outside of the block must have the logically correct result at any point that an exception might occur..thus requiring more then minimally required stores to memory.
20  Discussions / General Discussions / Re: Reasons for using a scripting language in your game? on: 2014-12-06 13:00:23
Example: directly coding a behavior tree in a java or c++, etc. like language would blow chunks.
21  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-06 10:40:13
The design has no use case.  It's bad at everything.
22  Discussions / General Discussions / Re: Reasons for using a scripting language in your game? on: 2014-12-06 08:19:00
A scripting language should make something easier.   AIs and behaviors are classic examples and being usable by non-programmers.
23  Discussions / General Discussions / Re: Working with Lua in Libgdx - Android NDK on: 2014-12-06 07:56:29
Nashorn is hotspot...not android.
24  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-06 07:25:05
never use java.util.Random. for anything.  ever.  haven't I said that before?
25  Discussions / Miscellaneous Topics / Re: C#, did Microsoft just want to be different? on: 2014-12-05 08:43:49
http://blogs.msdn.com/b/dotnet/archive/2014/12/04/introducing-net-core.aspx
26  Discussions / Miscellaneous Topics / Re: The C family, should I dig deeper? on: 2014-12-02 10:46:06
Just ran across this: http://damienkatz.net/2013/01/the_unreasonable_effectiveness_of_c.html
27  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-12-02 10:45:25
Experimenting with faster alternatives to Poisson-distributed points, a random-jittered hex grid actually looks pretty good:
Check out sobel sequences: https://github.com/roquendm/JGO-Grabbag/tree/master/src/roquen/math/lds

two flavors per dimension...number of point known and unknown in advance.
28  Discussions / Miscellaneous Topics / Sinclair on: 2014-12-02 01:54:04
https://www.indiegogo.com/projects/sinclair-zx-spectrum-vega
29  Discussions / Miscellaneous Topics / Re: The C family, should I dig deeper? on: 2014-11-28 09:07:50
Again, because C++ is a superset of C isn't a good reason to skip on C.  If you only know Java and then learn C++ then you won't be learning to think differently about programming...you're just learning pragmatic C++ details.  If you learn C...you'll have to think different.
30  Game Development / Articles & tutorials / Re: Methods passed through parameters , reflection on: 2014-11-27 14:38:39
The only time I'd use reflection would be for invoking unknown method signatures.  Pre java 8 - method objects and java 8+ method handles.
Pages: [1] 2 3 ... 95
 

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

The first screenshot will be displayed as a thumbnail.

Mr.CodeIt (24 views)
2014-12-23 03:34:11

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

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

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

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

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

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

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

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

toopeicgaming1999 (163 views)
2014-11-26 15:20:36
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!