Java-Gaming.org Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (555)
Games in Android Showcase (148)
games submitted by our members
Games in WIP (601)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: 1 ... 4 5 [6] 7 8 ... 10
 51 
 on: 2015-02-27 19:37:03 
Started by NegativeZero - Last post by NegativeZero
Aaaaaand back on topic, Startopia & Doctor Who Legacy are still up for grabs.

 52 
 on: 2015-02-27 19:30:46 
Started by NouryHD - Last post by philfrei
I'm reading the Oracle Press book: "Java, A Beginner's Guide" Sixth Edition, by Herbert Schildt. I'm finding it very well written, and there are quizzes at the end of each chapter and lots of example code. The book covers new features in Java 8 as well as intros to both Swing and JavaFX. You might find it a bit pricey. My copy is from the local library.

The Java Tutorials http://docs.oracle.com/javase/tutorial/ are an underrated resource for learning the language, are actually quite good. And they are free. Some expensive texts seem to duplicate a lot of the lessons taught here.

There are good texts available online, either through a library (if they subscribe to Safari), as well as some free books. I remember thinking the Eckels was pretty helpful:
http://www.mkyong.com/featured/top-5-free-java-ebooks/

There's a lot to coding even a simple 2D game: with much to learn about graphics, keyboard/mouse control, animation (often not taught in beginning courses), as well as core Java OOP.

Hey, I just noticed a 3rd Edition of Bloch's "Effective Java" is out! (That is a tough nut to crack. Save it for later.)

 53 
 on: 2015-02-27 19:24:49 
Started by trollwarrior1 - Last post by CopyableCougar4
I don't think the
final
modifier is required if the variable is a class-scope variable.

 54 
 on: 2015-02-27 19:11:16 
Started by trollwarrior1 - Last post by philfrei
Neat solution from ClaasJG!

What I've done in the past was this:

1  
2  
3  
4  
5  
6  
7  
8  
9  
10  
11  
12  
13  
14  
15  
16  
class MyClass implements MyInterface {

    private final MyClass thisInstance = this;

    private Runnable runnable = new Runnable() {
        @Override
        public void run() {
            SecondClass klass = new SecondClass(thisInstance);
        }
    };
}

class SecondClass {
    SecondClass(MyInterface i) {
    }
}


It seems to me that the possible benefit is that it's the specific instance that is now passed. But if there are problems with what I'm doing, I'd be happy to hear about them! Off the top of my head, I can't remember if the "final" modifier was requirered or not.

 55 
 on: 2015-02-27 19:10:08 
Started by lcass - Last post by KevinWorkman
Comparing DLC to terrorism?

Click to Play

 56 
 on: 2015-02-27 19:08:21 
Started by ratchet12340 - Last post by KevinWorkman
It seems like it wasn't thought out very well by the Sun swing engineers.

This is a pretty presumptuous statement. Can you name any other thread-safe gui libraries?

Recommended reading: https://weblogs.java.net/blog/kgh/archive/2004/10/multithreaded_t.html

 57 
 on: 2015-02-27 18:46:02 
Started by Neoptolemus - Last post by Roquen
No.  They are different.  Give a common (not strawman) example.  I'll freely admit that examples do exist, but they are uncommon needs in terms of a game runtime.

WRT: error -- ok, but you're just hiding the problem.

 58 
 on: 2015-02-27 18:45:21 
Started by lcass - Last post by Gibbo3771
Sharia isn't Islam.  It's tribal law.

Dangerous thread.

Will just leave this here, again.

 59 
 on: 2015-02-27 18:43:25 
Started by lcass - Last post by Roquen
Sharia isn't Islam.  It's tribal law.

 60 
 on: 2015-02-27 18:27:48 
Started by lcass - Last post by Gibbo3771
Dangerous thread.

However, I will partake.

This problem you describe, were things are taken too far and way off the original idea that they become a complete mess, is common throughout more things than I would like.

For instance, I am an avid cyclist, I love to bike off-road and on-road (bit less fun but still, I appreciate it). The cycling industry is an absolute disgrace. The whole "Bicycle" design is built on marketing and not R&D, sure there is R&D involved but they no longer build things to improve them, they now build them purely to sell them. Of course this has always been a factor involved when "invented" and "innovating" new ideas, now it is all they are concerned about.

Some examples would be the new fad that are "Fat Bikes", which were designed specifically to tackle deep snow and muddy conditions, these types of bikes were used throughout Russia for decades, they have recently came to light in the UK.

The original design consisted of 3-4.5 inch wide rims, with a rigid frame (no front or rear suspension), this was a design choice for pedal efficiency over soft terrain. Now, this is probably the "cheapest" fat bike I have seen, which in all honestly has barely £300 worth of actual components on it. Why is it so expensive? Because they feel like it, it's hyped up to the point people are willing to pay hands over for shit like this.

This is the design the industry is aiming for now, notice the $5000 price tag. Although the bike has around £1800-2000 worth of components, the rest itself is just the frame. But as soon as you start paying over £3000, it's impossible to get a garbage bike.

The entire industry is like this, it's got to the point now that the whole original design of whatever a bike used to be, is getting lost in what these people call "advancements in technology".

Aluminium replaced steel, high end bikes are using carbon. I have ridden a carbon mountain bike and I would never ride one again, it might be light but you can feel it flex and the bike gives you very little feedback.

Hell, you can buy a Di2 Groupset for £2000, full electric gears. Or, you could just not be an idiot and buy the XT set at a fraction of the price (which btw, is considered high end).

Gone too far.

Pages: 1 ... 4 5 [6] 7 8 ... 10
 
BurntPizza (21 views)
2015-02-27 06:09:35

BurntPizza (19 views)
2015-02-27 05:56:17

Riven (10 views)
2015-02-27 02:34:15

Riven (17 views)
2015-02-27 01:47:26

Riven (17 views)
2015-02-27 01:46:04

BurntPizza (12 views)
2015-02-27 00:52:04

BurntPizza (14 views)
2015-02-27 00:50:29

Riven (33 views)
2015-02-26 23:38:45

Riven (10 views)
2015-02-26 23:37:24

BurntPizza (29 views)
2015-02-26 21:13:04
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

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