[quote]so how would you guys go about doing this?
[/quote]
Through painful trial and error, desperate google search, endless daydreaming, etc
I would try to understand the code. You can’t expect to cobble together some code snippets and have them work without understanding what is going on.
Also you will have no idea about the status of the copied code. LibGDX is still on heavy dev (right Nate?) and the API or underneath behaviors maybe changed, resulting explosion of error.
For example, I find out most of tutorial code needs to be updated after Drawable introduction (Image class has setDrawable() instead setRegion()).
what’s the best way to keep tabs on official changes/updates to everything related to libgdx?
Also you will have no idea about the status of the copied code. LibGDX is still on heavy dev (right Nate?) and the API or underneath behaviors maybe changed, resulting explosion of error.
For example, I find out most of tutorial code needs to be updated after Drawable introduction (Image class has setDrawable() instead setRegion()).
what’s the best way to keep tabs on official changes/updates to everything related to libgdx?
You need to understand how to program. Start by writing some Java programs that aren’t related to graphics/games. Learn what Object Oriented programming is. Read some books about programming paradigms and design patterns. Take some courses, either at school or online.
Copy-pasting random code is like copy-pasting random English language sentences and hoping it forms a coherent essay.
You need to understand how to program. Start by writing some Java programs that aren’t related to graphics/games. Learn what Object Oriented programming is. Read some books about programming paradigms and design patterns. Take some courses, either at school or online.
Copy-pasting random code is like copy-pasting random English language sentences and hoping it forms a coherent essay.
Try this fast paced online book:
http://math.hws.edu/javanotes/
Other books are much longer and have lots of words.
@heisenbergman, read the CHANGES file in git for API breaking changes. You can also read the blog or even the git commit messages, though this is not necessary.
Try this fast paced online book:
http://math.hws.edu/javanotes/
Other books are much longer and have lots of words.
@heisenbergman, read the CHANGES file in git for API breaking changes. You can also read the blog or even the git commit messages, though this is not necessary.
For nightly build you may want to see CHANGES file on the repository. I use stable build and wait for blog post for clearer explanation.
For nightly build you may want to see CHANGES file on the repository. I use stable build and wait for blog post for clearer explanation.
^ Okay, thanks Nate & RB!
its not that i dont know how to program (and im not say im an expert) but some of this stuff isn’t in an intro to java book resize and setscreen is libgdx stuff
if someone can help me out with this project i’d be more then happy to share the profits
^ Okay, thanks Nate & RB!
You don’t really need to know that create() and render() are libgdx-related to debug it. Always follow the stack trace.
I’ll help, although I’m not interested in the profits. I’m just coming at this because I like a good bit of problem/puzzle-solving.
How many classes do you have already? Are the three classes from the previous page all you have so far? Meaning hellrazer -> Splash -> MainMenu?
Because I’ll try running it when I get home and figure out for myself what’s going on.
its not that i dont know how to program (and im not say im an expert) but some of this stuff isn’t in an intro to java book resize and setscreen is libgdx stuff
if someone can help me out with this project i’d be more then happy to share the profits
You don’t really need to know that create() and render() are libgdx-related to debug it. Always follow the stack trace.
I’ll help, although I’m not interested in the profits. I’m just coming at this because I like a good bit of problem/puzzle-solving.
How many classes do you have already? Are the three classes from the previous page all you have so far? Meaning hellrazer -> Splash -> MainMenu?
Because I’ll try running it when I get home and figure out for myself what’s going on.