Piece of advice when choosing a right book?

Started by
7 comments, last by Writers Block 9 years, 8 months ago

Hello, a friend recently lend me his book for libgdx programming by Andreas Oelkhe.
Everything cool, but to be honest, I dislike his "teaching style". I am looking for a tutorial that explains everything in detail, in this book it's all about "add this huge method here, add this huge method there". I want to learn everything in details so I can do everything on my own, be creative and not be limited by rechecking his code every time I fail!
Can anyone recommend any eBook or tutorial for libgdx programming that is up to date (one more problem was, I had latest version of libgdx and had a lot of work to do before I even started learning.

I mean, I'm relatively experienced in java, I've done few gaming tutorials, but none of them was nearly related to libgdx, I know there is a libgdx tutorial on kilobolt, but it's about flappy bird and to be honest, I don't want to make such games.

Well, that's it...I'm looking forward to your advices! Thank you!

Advertisement


I am looking for a tutorial that explains everything in detail, in this book it's all about "add this huge method here, add this huge method there". I want to learn everything in details so I can do everything on my own,
Grab the sources (libGDX's and JDK's), right click on the method, see definition. There, all the detail you could ask for.

Seriously, do that. I'm not even joking.

One of the main aspects of Java that I like is this little thing here. You have all the standard Java library sources by default on the JDK, most of the important libraries for Java out there are open source so you can poke through their innards, and if you even need more details, you can always just download OpenJDK sources and look at all those obscure "sun.misc" classes and HotSpot implementation.

Whats even better, most of it is documented! Even those obscure classes have comments in them. So read that too.

After all of that is done, then you can acknowledge that you can't possibly do everything on your own. That's an important realization for every programmer.

"I AM ZE EMPRAH OPENGL 3.3 THE CORE, I DEMAND FROM THEE ZE SHADERZ AND MATRIXEZ"

My journals: dustArtemis ECS framework and Making a Terrain Generator

OK, I'll try doing that. Thanks very much.
The problem is, I've never really wanted to be so dependable on everyone, just trying to do everything on my own haha :)

Thanks again!

Oh, one more thing!

I noticed, when I put more projects in the same workspace, especially while using Gradle/libgdx, everything is very messy, is it possible to separate these workspaces somehow?

And I know it's funny, but I hate this when eclipse automatically generates a method:

[method parameters][method name]{

}

is it possible to make it do this?

[method parameters][method name]
{
}

I usually write everything on my own, but for example when implementing an interface or something, if I forget, I usually use it's auto generate feature and if there are many methods it really makes my head hurt :)


I noticed, when I put more projects in the same workspace, especially while using Gradle/libgdx, everything is very messy, is it possible to separate these workspaces somehow?
Assuming Eclipse, you can switch workspaces if you want to, File -> Switch Workspaces. Note that all the IDE settings work per workspace, so it isn't a good workflow, just get used to close the projects you're not working on at the moment.


is it possible to make it do this?
[method parameters][method name]
{
}
Yup, go to Preferences, in Java, Code Style, Formatter, new or edit. You can use the search bar above Preferences window too.

Ctrl+A to select all, Ctrl+Shift+F to autoformat all selected things with your configured formatter.

"I AM ZE EMPRAH OPENGL 3.3 THE CORE, I DEMAND FROM THEE ZE SHADERZ AND MATRIXEZ"

My journals: dustArtemis ECS framework and Making a Terrain Generator

Thanks very much, you have been extremely helpful :)


I noticed, when I put more projects in the same workspace, especially while using Gradle/libgdx, everything is very messy, is it possible to separate these workspaces somehow?
Assuming Eclipse, you can switch workspaces if you want to, File -> Switch Workspaces. Note that all the IDE settings work per workspace, so it isn't a good workflow, just get used to close the projects you're not working on at the moment

Also you can use working sets when you need multiple projects on the same workspace but you don't want to work on/see all of them at the same time.

Did you choose libgdx because you want to write Android games? If so you should read Beginning Android Games by Mario Zechner, who is also the main person behind libgdx. I've just started looking at libgdx and immediately felt at home with it because I had read this book and wrote my first Android game (and first real world Java program) based on what I learnt there. I don't know whether later editions mention libgdx explicitly, but libgdx is clearly based on the concepts and techniques he exlained in the book.

OK, I'll try doing that. Thanks very much.
The problem is, I've never really wanted to be so dependable on everyone, just trying to do everything on my own haha :)

Thanks again!

Writer's Block

This topic is closed to new replies.

Advertisement