Reply to topic  [ 57 posts ]  Go to page 1, 2, 3, 4  Next
AAAAH Java!!! 
Author Message
Occasionally has a life
User avatar

Joined: Mon May 04, 2009 10:16 am
Posts: 130
Location: In between a rock and a hard place
Reply with quote
Hi all, I am studying Games Dev at Uni and I am having problems with Java, does anyone have any advice for me? I have books and all that but I was really looking for advice from someone who knows java and could perhaps share some insider info.

Many thanks

Kal

_________________
[color=#BF0000][b]Arctic Cooling Freezer 7 Pro
620W Corsair HX Series Modular SLi PSU
Intel Core 2 Quad-Core Q6600 G0 SLACR, 95W, S775, 2.40 GHz
asus maximus formula, iX38, S 775
ASUS GEFORCE EN8800 GT 512MB GDDR3


Mon Nov 09, 2009 1:46 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 5288
Location: ln -s /London ~
Reply with quote
What do you have issues with? Is it a Java thing, or is it an OOP thing?

_________________
timark_uk wrote:
Gay sex is better than no sex

timark_uk wrote:
Edward Armitage is Awesome. Yes, that's right. Awesome with a A.


Mon Nov 09, 2009 1:47 pm
Profile
Spends far too much time on here
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 4876
Location: Newcastle
Reply with quote
kalisclark wrote:
Hi all, I am studying Games Dev at Uni and I am having problems with Java, does anyone have any advice for me? I have books and all that but I was really looking for advice from someone who knows java and could perhaps share some insider info.

Many thanks

Kal


Learn C++ :lol:

I hope you are just starting with Java, it's an uncommon language to use compared to C++/C#/Objective C and some scripting languages

_________________
Twitter
Charlie Brooker:
Macs are glorified Fisher-Price activity centres for adults; computers for scaredy cats too nervous to learn how proper computers work; computers for people who earnestly believe in feng shui.


Mon Nov 09, 2009 2:20 pm
Profile
Occasionally has a life
User avatar

Joined: Mon May 04, 2009 10:16 am
Posts: 130
Location: In between a rock and a hard place
Reply with quote
its not an oop thing its just all the little things like what each thing is called and what it does, for example the Math class is a pain in the ass lol plus the whole variable thing and the ++x and ==x I just cant seem to wrap my head around it.

I dont think I am just starting with Java but is it an easy transition to C++ I mean could I do it myself just by reading a few books at home after I finish uni?

Thanks guys

Kal

_________________
[color=#BF0000][b]Arctic Cooling Freezer 7 Pro
620W Corsair HX Series Modular SLi PSU
Intel Core 2 Quad-Core Q6600 G0 SLACR, 95W, S775, 2.40 GHz
asus maximus formula, iX38, S 775
ASUS GEFORCE EN8800 GT 512MB GDDR3


Mon Nov 09, 2009 3:49 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 5288
Location: ln -s /London ~
Reply with quote
kalisclark wrote:
its not an oop thing its just all the little things like what each thing is called and what it does, for example the Math class is a pain in the ass lol plus the whole variable thing and the ++x and ==x I just cant seem to wrap my head around it.

Don't quite understand this bit. Just use the docs as a reference for working out what's available. Or is it that you don't understand how specific things work?

kalisclark wrote:
I dont think I am just starting with Java but is it an easy transition to C++ I mean could I do it myself just by reading a few books at home after I finish uni?

Any good uni course will teach you how to program, not how to program in a given language, so yes. You'd have to know some C, though, really, as Java has automatic allocation/initialisation by constructors, and garbage collection, and doesn't have a concept of pointers or referencing.

_________________
timark_uk wrote:
Gay sex is better than no sex

timark_uk wrote:
Edward Armitage is Awesome. Yes, that's right. Awesome with a A.


Mon Nov 09, 2009 3:57 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 7:35 pm
Posts: 6580
Location: Getting there
Reply with quote
The best book I found for learning Java is HeadFirst Java (search amazon).

Very firendly way in to Java and programming principles in general.

If you want any specific help then PM me and I'll do my best to help you answer any specific questions you are having trouble with.

_________________
Oliver Foggin - iPhone Dev

JJW009 wrote:
The count will go up until they stop counting. That's the way counting works.


Doodle Sub!
Game Of Life

Image Image


Mon Nov 09, 2009 4:07 pm
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 5288
Location: ln -s /London ~
Reply with quote
Fogmeister wrote:
If you want any specific help then PM me and I'll do my best to help you answer any specific questions you are having trouble with.

Or post here so many of us can help, and then we have an archive of the answer for future Googlers. Or there's always StackOverflow

_________________
timark_uk wrote:
Gay sex is better than no sex

timark_uk wrote:
Edward Armitage is Awesome. Yes, that's right. Awesome with a A.


Mon Nov 09, 2009 4:12 pm
Profile
Spends far too much time on here
User avatar

Joined: Thu Apr 23, 2009 6:20 pm
Posts: 3838
Location: Here Abouts
Reply with quote
EddArmitage wrote:
Fogmeister wrote:
If you want any specific help then PM me and I'll do my best to help you answer any specific questions you are having trouble with.

Or post here so many of us can help, and then we have an archive of the answer for future Googlers. Or there's always StackOverflow

Or in one of the techy software forums so that people will be able to find it in the future..... :?:

_________________
The Official "Saucy Minx" ;)

This above all: To Thine Own Self Be True

"Red sky at night, Shepherds Delight"..Which is a bit like Shepherds Pie, but with whipped topping instead of mashed potato.


Mon Nov 09, 2009 4:15 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 7:35 pm
Posts: 6580
Location: Getting there
Reply with quote
EddArmitage wrote:
Fogmeister wrote:
If you want any specific help then PM me and I'll do my best to help you answer any specific questions you are having trouble with.

Or post here so many of us can help, and then we have an archive of the answer for future Googlers. Or there's always StackOverflow

True. :D

I just thought that whenever there is a question about Java the most popular answer is ... "Use C++" :lol:

_________________
Oliver Foggin - iPhone Dev

JJW009 wrote:
The count will go up until they stop counting. That's the way counting works.


Doodle Sub!
Game Of Life

Image Image


Mon Nov 09, 2009 4:15 pm
Profile WWW
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 5288
Location: ln -s /London ~
Reply with quote
Fogmeister wrote:
EddArmitage wrote:
Fogmeister wrote:
If you want any specific help then PM me and I'll do my best to help you answer any specific questions you are having trouble with.

Or post here so many of us can help, and then we have an archive of the answer for future Googlers. Or there's always StackOverflow

True. :D

I just thought that whenever there is a question about Java the most popular answer is ... "Use C++" :lol:

Nope. Objective C FTW :p Or real C! (8-p)

_________________
timark_uk wrote:
Gay sex is better than no sex

timark_uk wrote:
Edward Armitage is Awesome. Yes, that's right. Awesome with a A.


Mon Nov 09, 2009 4:20 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 7:35 pm
Posts: 6580
Location: Getting there
Reply with quote
EddArmitage wrote:
Nope. Objective C FTW :p

Agreed :D

_________________
Oliver Foggin - iPhone Dev

JJW009 wrote:
The count will go up until they stop counting. That's the way counting works.


Doodle Sub!
Game Of Life

Image Image


Mon Nov 09, 2009 4:42 pm
Profile WWW
Spends far too much time on here
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 4876
Location: Newcastle
Reply with quote
EddArmitage wrote:
Nope. Objective C FTW :p Or real C! (8-p)


Only Mac programmers really use Objective C (iPhone/iPod touch)

Nothing wrong with real C or C#, C# seems to be coming into it's own now with XNA and Mono allowing support for it across mulitple platforms

Java isn't a games programming language, it does too much for the user and isn't efficient for games.

C# is similar to Java, however you can use pointers, write your own garbage collection etc. Same with C++ but C++ allows you to do a lot of things you shouldn't until you are a competent programmer.

_________________
Twitter
Charlie Brooker:
Macs are glorified Fisher-Price activity centres for adults; computers for scaredy cats too nervous to learn how proper computers work; computers for people who earnestly believe in feng shui.


Mon Nov 09, 2009 4:45 pm
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 5288
Location: ln -s /London ~
Reply with quote
finlay666 wrote:
EddArmitage wrote:
Nope. Objective C FTW :p Or real C! (8-p)


Only Mac programmers really use Objective C (iPhone/iPod touch)

Nothing wrong with real C or C#, C# seems to be coming into it's own now with XNA and Mono allowing support for it across mulitple platforms

Java isn't a games programming language, it does too much for the user and isn't efficient for games.

C# is similar to Java, however you can use pointers, write your own garbage collection etc. Same with C++ but C++ allows you to do a lot of things you shouldn't until you are a competent programmer.

Oh I'd absolutely take C# over Java any day of the week. Especially with .Net behind it. I just prefer Objective C to C++.

_________________
timark_uk wrote:
Gay sex is better than no sex

timark_uk wrote:
Edward Armitage is Awesome. Yes, that's right. Awesome with a A.


Mon Nov 09, 2009 4:51 pm
Profile
Occasionally has a life
User avatar

Joined: Mon May 04, 2009 10:16 am
Posts: 130
Location: In between a rock and a hard place
Reply with quote
Thanks Guys, I will post any queries on this thread and hopefully someone can help me. As for choosing c++ or c# I cant unless the uni decide to throw it at me, something tells me I am going to have to study that one by myself lol.

Cheers

Kal

_________________
[color=#BF0000][b]Arctic Cooling Freezer 7 Pro
620W Corsair HX Series Modular SLi PSU
Intel Core 2 Quad-Core Q6600 G0 SLACR, 95W, S775, 2.40 GHz
asus maximus formula, iX38, S 775
ASUS GEFORCE EN8800 GT 512MB GDDR3


Tue Nov 10, 2009 8:36 pm
Profile
Spends far too much time on here
User avatar

Joined: Thu Apr 23, 2009 9:40 pm
Posts: 4876
Location: Newcastle
Reply with quote
kalisclark wrote:
As for choosing c++ or c# I cant unless the uni decide to throw it at me, something tells me I am going to have to study that one by myself lol.


Well you really should ask why they won't teach you

Java is fine as an introduction to OO programming but for a games course you really should be looking at a more games oriented language.

It's easy to learn C# for XNA, the transition from any OO language is fairly simple, just look at the XNA stuff, and you can actually get compiling games to test on a 360. You can also learn dealing with controller inputs, as I'm guessing you haven't really done any proper game programming you can also learn about the game loop and things like that

_________________
Twitter
Charlie Brooker:
Macs are glorified Fisher-Price activity centres for adults; computers for scaredy cats too nervous to learn how proper computers work; computers for people who earnestly believe in feng shui.


Tue Nov 10, 2009 8:46 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 57 posts ]  Go to page 1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.