Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (799)
Games in Android Showcase (237)
games submitted by our members
Games in WIP (865)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  How long were you programming with Java before you made your first game?  (Read 9611 times)
0 Members and 1 Guest are viewing this topic.
Offline ferret

Junior Newbie

« Posted 2013-09-04 16:41:50 »

I started learning Java two weeks ago and I feel like the learning curve is very slow. Granted, two weeks is not very long. I've finished thenewboston's beginner course, as well as multiple other video tutorials and I've even read Beginner Java for Dummies. I'd like to be able to program a simple game, without just copying code and following along with a Game Programming video tutorial (Which I tried, and ended up not knowing how to implement my own ideas). My only other programming knowledge is HTML and some GML from 5 or 6 years ago, when I was into Game Maker.

My question is, how long were you programming with Java before you made a game? I'm not talking about making a full fledged, 3D game-- But a simple side scroller or dungeon crawler or whatever. What's a good next step to bridge what I've learned in these beginner courses with actual game programming?
Offline jonjava
« Reply #1 - Posted 2013-09-04 17:00:07 »

Java isn't a game programming language - it's a programming language.

There are libraries, collections of code, that give you tools to implement game mechanics without re-inventing the wheel. For example, LWJGL and LibGDX. They have tools that make things like playing music, sound, and drawing graphics more powerful/efficient, and tools for getting input from the user (touch screens, tilting, keyboard, mouse) all with game development in mind - something that the standard java libraries doesn't have.

So to make a "game" you need to figure out how to draw something on the screen, probably how to play sound/music and how to grab input from the user. And lastly, how to get all of those working together to make a consistent experience.

Start with these:

Offline alesky

Junior Devvie

Medals: 3
Exp: 15 years


« Reply #2 - Posted 2013-09-04 17:01:58 »

mainly this depend from you and not from the programming language

i mean is more easy learn a new language for people that already know at good level a language
more complex if you are learning for the first time a programming language

basically in java in the beginning (and only in the beginning) is more easy that C for example for the memory management (in java memory is managed automatically)
but basically in C in the beginning  (and only in the beginning) is more easy that java write the code interaction (in C there aren't object but only procedure)
both this language have their complexity in different areas

This are just 2 stupid examples, it is not a comparation between the java and C
and they are true until you write application like, calculator or hello word or something like this

but when you start to use really a language doesn't exist easy programming language

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Several Kilo-Bytes

Senior Devvie

Medals: 11

« Reply #3 - Posted 2013-09-04 17:20:31 »

How long were you programming with Java before you made your first game?

Negative three years. I wasn't interested in game programming during the time I learned Java.

The language could take a month to learn if you are extremely ambitious and intentionally seek out the answers to questions like "Why does this feature exist and why is it useful?" Otherwise it could take 3 to 24 months. At some point you need to learn what works well and what doesn't and that only comes from experience.

Side scrolling and top down games from a beginner will always be terrible because you trick yourself into thinking that when you make the character go up when the up key is pressed you are making progress. You sink time into art and visual feedback and think this is a first game but you've made neither a game nor a toy nor a prototype of either. Make Pong or Snake or Breakout or stripped down rogue level. Then you can say you made a game. If you recombine art and tiles and code made by someone else and think it is a game because you wrote your own "story" then at best you are a writer.

And HTML is in no sense a programming language. If it were C, VB, C#, or C++ then you would have something to build on. HTML is to programming as knitting is to gardening. (Gardening and knitting both involve making things using pointy metal things. It may seem like a bad analogy with random subjects, but they are that different.)
Offline Slyth2727
« Reply #4 - Posted 2013-09-04 22:46:55 »

About 6-7 months if I call correctly. As jon said java isn't a game programming language like GML, it's a full fledged programming language. Now I can assure you, game programming is very fun however you need to know the language extremely well to produce a good game as well as learn the library you will use. After I mastered the basic console stuff I went on to learn how to make and use GUI's in Swing. And then I learned networking. And then I learned about the compiler and byte code. And then I learned a bit of C++ Tongue. I'm not saying you need to learn about the compiler and C++, but you do need to know the language. I suggest you learn how to open a window and use Swing. Then learn networking, I believe that thenewboston's chat tutorial is great for this as long as you look up the methods and classes he is using because he doesn't explain them too great. Good luck to you, and hopefully we'll see you on this forum as a java master!

Offline kpars
« Reply #5 - Posted 2013-09-04 22:49:44 »

I learned Java in.... Never. I learned the basics of programming when I was little, around 9 or so, so Java wasn't that hard to catch on to. Though I did keep learning things as time went on. That's how every language works. I would make games with whatever knowledge I had, rather than to make myself learn the language completely first.
Offline jmguillemette
« Reply #6 - Posted 2013-09-05 02:19:44 »

Ive been a professional java programmer for 15+ years.. .. but i only decided to try make a game using it in the last year.. Smiley

If your just learning I would give you the following tips:

- Dont be afraid to try and see what happends
- Dont be afraid to ask questions.. but make sure you try to solve problems your self first.
- Google is very handy
- Start off with very basic goals.. Too many developers thing their first game will be the next MMO block buster.. thats just not reasonable.

-=Like a post.. give the author a medal!=-
Offline pploco1996

Junior Devvie

Medals: 2
Exp: 1 year

« Reply #7 - Posted 2013-09-05 02:21:56 »

Well, if you know the basics, a little bit of swing and a bit of java2d, then you can do some simple games.

I made some kind of ping pong game when I had like 2 or 3 week of study, it was a simple ball bouncing off a moving platform and colliding with the frame bounds.

In that time I had a few beginner problems but now I can do that in like 10 minutes  Grin. All you have to do is practice a lot over and over again untill gain enough experience to make a decent game.

Good luck  Smiley
Offline delta

Junior Devvie

Medals: 1
Projects: 2

« Reply #8 - Posted 2013-09-05 02:25:06 »

I started with HTML  and CSS when i was 11 then C++ and Python when i was 12 and java When i was 13 i finished my first game a few months later.
Offline ReBirth
« Reply #9 - Posted 2013-09-05 04:18:57 »

Forget. But it's not long because there is no way that I would be sitting in sunny day and thought "let's build an enterprise desktop application!". Actually it's game that introduce me to programming deeper.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline SHC
« Reply #10 - Posted 2013-09-05 04:24:03 »

I started learning Java about 3 years back. Until then, I was used to C taught in school. I learnt Java with one book - Learn Java in 24 hours by Rogers Cadenhead. And for practice, I completed all the exercises present in CodingBat.Com which helped me more to understand code. Then I made some small apps to learn swing like picture viewer and a simple bouncing ball app which can run as an Applet as well.

Then thinking of making games, I searched google "How to create computer games". Since most of the links showed 'Game Maker' and 'Construct 2', I learnt both of them but I got annoyed with the logo of them on my games. So I bought a copy of 'Developing Games In Java' by David Brackeen. Instead of writing code that looked alike, I read the theory and made my own GameEngine called Game Engine For Java (GEJ) which resembles the game maker's event system.

Next I translated the same game into C# to learn the language. And then made a Game Maker like 'Room Editor' for my games.

Now, my goals are to write a compiler for my own GameMaker like tool GameForge and to learn 3D graphics with LWJGL.

Offline HeroesGraveDev

JGO Kernel

Medals: 383
Projects: 11
Exp: 4 years

┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻

« Reply #11 - Posted 2013-09-05 05:29:09 »

3 months modding Minecraft before I gave up and started trying to make my own games. (that counts as learning Java without making my own game right?)

Then another 6 months before I learned OpenGL and actually made something playable.

Offline matheus23

JGO Kernel

Medals: 138
Projects: 3

You think about my Avatar right now!

« Reply #12 - Posted 2013-09-05 08:19:00 »

I learned java just to get into gaming. I was into GML as well and switched to java, because it allowed me better optimizations when writing my own Minecraft 2D / Terraria clone (these games need to display lots of blocks and that's not easily possible with GML).

So actually I didn't learn java at all when I began to write a game in java. I wrote games in java the first second I was able to program in java...

What me helped a lot was reading code from Notch's Ludum dare games. Reading other's code in general helps understanding how to structure your classes. It's where I learned about how I could put all my different 'Screen's into different classes. The MainScreen, the GameScreen, the GameOverScreen, etc.

Also, when you finally got the hang of it, try to participate at Ludum dare at least once. It's really cool and helps you finishing at least ONE project.

I've now been programming java for 3 years. Always writing games or similar. And only in the 48 hours that Ludum dare gave me, I wrote the ONLY project that I actually finished.

See my:
    My development Blog:     | Or look at my RPG | Or simply my coding
http://matheusdev.tumblr.comRuins of Revenge  |      On Github
Offline Rayexar
« Reply #13 - Posted 2013-09-05 09:11:45 »

I first learnt programming several years ago, forgot how long but I think around 11-12. I only learnt some of the basics, before giving up programming until a year ago. I picked up Java in a while, and spent a day or so making a space invaders clone using Swing and AWT. I wouldn't really consider that a game because it was meant as an exercise to get back into programming. Now i'm working on my first proper game.

So depending on how you look at the situation, my answer to your question would be either 1 year or 6 years.
Offline RobinB

JGO Ninja

Medals: 45
Projects: 1
Exp: 3 years

Spacegame in progress

« Reply #14 - Posted 2013-09-05 13:38:57 »

I started with c#.
When i found out about java, the first thing i made was pacman Smiley
Offline Vynko

Junior Newbie

« Reply #15 - Posted 2013-09-05 15:59:06 »

I didn't make my first game yet.

I started learning java at the start of this year, and I found Java interestanting and cooler than BYOND's programming language.

I study java ebooks just 1 hour per day(I'm sorry, they are not-paid ebooks, I know there's no excuse for this, but, there're no ways to buy java books here in Brazil, and my parents wouldn't help me pay them, in the future I will someway contribute with who helped me) and I'm afraid of moving to game programming without learning almost all basic things.

I also find the learning curve is a little slow.
Offline Herjan
« Reply #16 - Posted 2013-09-05 17:56:26 »

After 2 Months reading a book I did some tutorials on YouTube, I made a tower defence with help of ulixava, and after that my very first game, (after 3 months in total?)

It was a game where you was an airplane and had to shoot tanks on the ground, tanks shot targeted bullets back if they saw you (your airplane). It is the project I learned the most from, like NOT using ints for rotations/positions..

Learned OpenGL after a year when I played around with C++... First had no need to use it as Java is very good/far developed itself.
Offline Cero
« Reply #17 - Posted 2013-09-05 18:48:14 »

I made my first games before I could even program... board games and stuff out of lego

Offline Davitsu

Junior Devvie

Medals: 4
Projects: 2

« Reply #18 - Posted 2013-09-06 21:45:37 »

Four months (but I was not all day studying). Then I read "Beginning Android Games" by Mario Zechner and tried to modify a Snake Game example in the book. Finally, there was a Jam on my city and seriously, altough I was a completely beginner, I could finish a whole game. It was awesome. On that kind of event are where the most I learn.
Pages: [1]
  ignore  |  Print  

Riven (203 views)
2019-09-04 15:33:17

hadezbladez (4939 views)
2018-11-16 13:46:03

hadezbladez (1818 views)
2018-11-16 13:41:33

hadezbladez (5216 views)
2018-11-16 13:35:35

hadezbladez (1027 views)
2018-11-16 13:32:03

EgonOlsen (4400 views)
2018-06-10 19:43:48

EgonOlsen (5232 views)
2018-06-10 19:43:44

EgonOlsen (2975 views)
2018-06-10 19:43:20

DesertCoockie (3878 views)
2018-05-13 18:23:11

nelsongames (4310 views)
2018-04-24 18:15:36
Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45 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‑
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!