Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Piece of advice when choosing a right book?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
8 replies to this topic

#1 xxSavagexx   Members   -  Reputation: 118

Like
0Likes
Like

Posted 04 August 2014 - 08:13 PM

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!



Sponsor:

#2 TheChubu   Crossbones+   -  Reputation: 4755

Like
2Likes
Like

Posted 04 August 2014 - 08:33 PM


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


#3 xxSavagexx   Members   -  Reputation: 118

Like
0Likes
Like

Posted 04 August 2014 - 09:34 PM

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!



#4 xxSavagexx   Members   -  Reputation: 118

Like
0Likes
Like

Posted 04 August 2014 - 09:51 PM

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 :)



#5 TheChubu   Crossbones+   -  Reputation: 4755

Like
1Likes
Like

Posted 04 August 2014 - 10:29 PM


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


#6 xxSavagexx   Members   -  Reputation: 118

Like
0Likes
Like

Posted 04 August 2014 - 10:46 PM

Thanks very much, you have been extremely helpful :)



#7 Avalander   Members   -  Reputation: 1070

Like
2Likes
Like

Posted 05 August 2014 - 04:34 AM

 


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.



#8 realh   Members   -  Reputation: 202

Like
0Likes
Like

Posted 05 August 2014 - 07:26 AM

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.



#9 Writers Block   Members   -  Reputation: 135

Like
0Likes
Like

Posted 07 August 2014 - 12:12 PM

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS