Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (511)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (577)
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 ... 332
1  Games Center / WIP games, tools & toy projects / Re: Legends of Fore on: 2014-10-23 22:01:23
Look at those graphics!  Shocked

Cas Smiley
2  Java Game APIs & Engines / Engines, Libraries and Tools / Re: Announce Pure Java HIDAPI on: 2014-10-21 15:09:30
Riven cleaned up a large digression on the subject. Short story: it's not "Pure Java"TM, it requires JNA.

Cas Smiley
3  Discussions / Business and Project Management Discussions / Re: Mobile Advertisment/ Admob: How much do you really earn? Where to find the data? on: 2014-10-21 10:16:37
One reason I like ProjectWonderful... design appears to be fraud-proof.

Cas Smiley
4  Game Development / Shared Code / Re: Like Simplex Noise but don't like the patent? Introducing OpenSimplex Noise! on: 2014-10-21 10:14:24
Indeed, I wouldn't bat an eyelid if I were to implement the original simplex noise somewhere inside a game to make some clouds or terrain or whatnot.

Cas Smiley
5  Discussions / General Discussions / Re: development block on: 2014-10-20 13:49:22
Yes,  perhaps it is. Though a grasp of its great granddaddy can't be a bad place to start.

Cas Smiley
6  Discussions / General Discussions / Re: development block on: 2014-10-20 11:27:02
I must learn (and use!) LISP one day. Or Scheme or something. I had proper fun with it 20-odd years ago at University.

Cas Smiley
7  Discussions / General Discussions / Re: development block on: 2014-10-20 08:32:55
I'll just leave this here, on a slight tangent Smiley

http://techcrunch.com/2014/10/18/you-too-may-be-a-victim-of-developaralysis

Cas Smiley
8  Games Center / WIP games, tools & toy projects / Re: Really a Markup Language (RML) on: 2014-10-20 07:33:31
The only reason to describe code in XML is if you're going to transform it in some way (because XML is data, not code).

Cas Smiley
9  Games Center / Featured Games / Re: Daedalus - no escape on: 2014-10-20 07:32:27
This was indeed the final nail in the coffin for "direct sales" for us... Steam all the way now. That and DNS craziness. I couldn't believe how unreliable DNS was.

Cas Smiley
10  Discussions / General Discussions / Re: SMF Password Reset Vuln on: 2014-10-18 22:32:44
Indeed, they would discover the weak and vulnerable contents of the vault, and then we'd have a containment situation on our hands that makes Ebola look like a minor case of the sniffles going round.

Cas Smiley
11  Game Development / Newbie & Debugging Questions / Re: Best way to iterate through ArrayList? on: 2014-10-18 09:03:33
Looks faster only because it's "smaller"... but it does a lot of things under the hood that you might not need or want it to do and stops you doing a bunch of things that you might want it to do. Know thy requirements! The question for the whole topic title is loaded.

Cas Smiley
12  Game Development / Newbie & Debugging Questions / Re: Clean code & Smooth development on: 2014-10-17 16:31:28
Exactly that.

Also any language that makes a virtue of whitespace can take a flying f**k at a rolling doughnut. There, I said it.

Cas Smiley
13  Games Center / WIP games, tools & toy projects / Re: [J2DMonopoly] Free unfinished monopoly clone (Polished graphics) on: 2014-10-17 15:52:08
Also Hasbro are ruthless f**kers who will go after the smallest most insignificant people with their big guns... even free stuff. Just a warning.

Cas Smiley
14  Game Development / Newbie & Debugging Questions / Re: Clean code & Smooth development on: 2014-10-17 15:45:26
I'm of the opinion that the code should probably actually be formatted by SVN before commits/compares, but be automatically displayed in the IDE in the format the progammer prefers. Much like syntax highlighting is independent of what's stored in SVN, so I think formatting should be.

Cas Smiley
15  Game Development / Newbie & Debugging Questions / Re: Clean code & Smooth development on: 2014-10-16 12:37:59
It's a very good guideline, and the reasoning behind it is based on what I just said too: if you can see the whole code for some operation in a single glance, your subconscious mind can actually process the entire thing in one go without you thinking about it consciously. It's extraordinary the difference it makes to understanding code.

Cas Smiley
16  Game Development / Newbie & Debugging Questions / Re: Best way to iterate through ArrayList? on: 2014-10-16 10:28:14
That thread ended up with an even simpler implementation using no extra space and very cache-friendly, and also has the ability to allow new things to be added to the list while it's iterating:
1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
for (int i = 0, pos = 0; i < list.size(); i ++) {
   Thing thing = list.get(i);
   thing.doStuff();
   if (thing.isActive()) {
      list.set(pos ++, thing);
   }
}
// This next bit could be implemented more efficiently probably if the list had some sort of truncation method
for (int i = list.size(); --i >= pos;) {
   list.remove(i);
}


Cas Smiley
17  Game Development / Newbie & Debugging Questions / Re: Clean code & Smooth development on: 2014-10-16 08:43:36
Clean code structure starts with the text, believe it or not.

A programmer's mind can glean vast amounts of information with just a single glance at a page of code, subconsciously, if it is laid out in a manner consistent with expectations, and therefore, conventions. So always autoformat your code on a save and make liberal use of //formatter:off/on tags where necessary to make things neat.

Stick to Sun's bracket conventions or you'll be making code that already upsets 99% of other Java developers on the mere sight of it. And make sure you have whitespace around operators (except brackets).

And finally, at least attempt to Javadoc anything public, and sprinkle comments around in your code for anything that's not completely obvious... which you'd be surprised to learn is almost everything you write that's longer than 3 lines.

Cas Smiley
18  Discussions / Miscellaneous Topics / Re: Poor performance with JFileChooser on: 2014-10-15 22:41:11
Something that can cause random hangs in windows filesystems is attempting to access floppy drives, CD drives, or network drives that don't exist. Domain-related woes especially. You might want to whip open Explorer and see if it has trouble at the same time.

Cas Smiley
19  Game Development / Newbie & Debugging Questions / Re: Best way to iterate through ArrayList? on: 2014-10-15 08:50:00
(No-one ever uses any other kind of list than an ArrayList, mind Smiley)

Cas Smiley
20  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > New Stable Build + Steam Price! < on: 2014-10-15 08:48:16
Might be a different kettle of fish when you add the steamworks functions though eh Smiley Besides, screw DRM-free, it's a red herring.

Cas Smiley
21  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-10-13 16:40:22
Implemented tooltips in the SPGL2 UI manager, and put them into Battledroid. Very nice.

Cas Smiley
22  Discussions / Miscellaneous Topics / Re: Java won't let me time travel on: 2014-10-13 11:32:05
... or lasers and target prediction.

Cas Smiley
23  Games Center / Featured Games / Re: [Slick2d] Retro-Pixel Castles > GREENLIT! WOooOOOoooOooOoo! < on: 2014-10-10 15:13:01
Allow me Wink

Cas Smiley
24  Discussions / General Discussions / Re: New feature: registration and login through Facebook, Google, etc on: 2014-10-10 11:56:25
Works a treat.

Cas Smiley
25  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-10-10 11:14:13
We just got stuck with XML as a legacy, too late to go changing it now. Probably Json might have been easier on the eye.

Cas Smiley
26  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-10-10 10:50:15
I think I've made it easier for both of us  persecutioncomplex

Behold the old code to, for example, just do a simple button:
1  
   <area id="=$#ChangeEmailForm.CANCEL_BUTTON_ID" inherit="button.spec" text="=$lwjglapplets.generic.CANCEL"><anchor x="left" d="0"/><area inherit="button.focus.spec"/><area inherit="button.mouseon.spec"/><area inherit="button.glow.spec"/></area>

and here's what the same bit looks like now:
1  
   <button id="$#ChangeEmailForm.CANCEL_BUTTON_ID" x="west" width="40%" text="$lwjglapplets.generic.CANCEL"/>

Doesn't look much simpler until you have 500 lines of it all using the same "area" tag...

Cas Smiley
27  Discussions / Jobs and Resumes / Re: Relatively urgent - web luvvie required for oddjob on: 2014-10-09 23:24:21
S'ok, got one Smiley

Cas Smiley
28  Discussions / Miscellaneous Topics / Re: What I did today on: 2014-10-09 19:58:57
Got most of my widgets working properly. I'm painstakingly rebuilding the entire UI in Battledroid, having completely changed all the underlying code and the format of the XML that defines it. Why you ask? Because it was so difficult to use and so fiddly that the only person who could design UIs with it was Chaz, and he's busy elsewhere on Basingstoke. Meaning I was well and truly stuck. Now I can design the UIs myself! Hurrah. Still takes ages though. Pixels here, pixels there.

Cas Smiley
29  Discussions / Jobs and Resumes / Re: Relatively urgent - web luvvie required for oddjob on: 2014-10-09 17:31:38
 persecutioncomplex No web developers in here huh?

Cas Smiley
30  Discussions / Miscellaneous Topics / Re: Is drinking half a bottle of vodka safe? on: 2014-10-09 11:36:26
...and depending on the size of the bottle and how big you are half a bottle might just be enough to have you end up in A&E anyway. As an old fart I recommend you don't do it.

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

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

The first screenshot will be displayed as a thumbnail.

Longarmx (52 views)
2014-10-17 03:59:02

Norakomi (42 views)
2014-10-16 15:22:06

Norakomi (32 views)
2014-10-16 15:20:20

lcass (37 views)
2014-10-15 16:18:58

TehJavaDev (68 views)
2014-10-14 00:39:48

TehJavaDev (66 views)
2014-10-14 00:35:47

TehJavaDev (59 views)
2014-10-14 00:32:37

BurntPizza (73 views)
2014-10-11 23:24:42

BurntPizza (45 views)
2014-10-11 23:10:45

BurntPizza (85 views)
2014-10-11 22:30:10
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

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
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!