Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.

Sign up now

Where to learn Video Game Programming?

4: Adsense

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
3 replies to this topic

#1 Halowood   Members   


Posted 25 January 2012 - 01:59 AM

I'm an Australian High School student doing my last year of my HSC this year.
I've always wanted to get into Video Game Programming so for my Software Design and Development Major Project I decided upon doing a basic 2D classic RPG in Java.

I chose 2D RPG because I figured it would be the easiest genre to design and program and run on the low end machines the project would be marked on. I chose Java because I heard it was simpler than C++ (My next goal after I finish school) and close enough to it that learning C++ will be easier.

I have previous programming knowledge of Python 2.X I have about 6 months I think to get the whole project completed and ready for submission I only intend to get the first quest hub with maybe 3-5 quests.

Could anyone point me to some online resources/tutorials in Java that could help out?

#2 Greg_B   Members   


Posted 25 January 2012 - 08:13 AM

I've found that the O'Reilly book "Killer Java Game Programming" was very useful for me. It starts our quite basic but it does explain some of the basic issues with game programming such as how to build a well timed game loop where you separate the game update and game render from the game painting. One of the first chapters discusses the issues with simply figuring out how much time has passed since your last update/render/paint. It also shows how different timers run on different operating systems. I was amazed at how much of a difference there was and how coding techniques can solve those problems.

The book uses the Java2d graphic classes which are fine for learning. To take on Java game programming and OpenGL at the same time would be a huge learning curve.

The book goes on to talk about isometric tiled games and then into some basic 3D game concepts. Although you'd probably not want to write a 3D game using just the basic Java libraries (you'd probably want to use the Light Weight Java Game Library LWJGL as an interface to OpenGL) every concept in the book is still useful.

The author has a good web page with earlier versions of many of the chapters in his book here

All the source code is available there as well.

I hope that helps.

Also, an RPG is still a huge project. It's really easy to bury yourself with complexity because you have so many good ideas and you just want to write all of them.

One of my first games was a game called Planet Ball where two players control the movement of two planets (red and green). The planets accelerate and decelerate in the direction of the keyboard controls. The goal is to capture an asteroid of the same color as your planet. You get 10 points for a capture of your own asteroid and -5 if you capture the opposite color. Once I got that working I start adding billiard ball collisions/bouncing if the two planets touched each other. Then I looked into adding a shield so one planet could shock the other and freeze it to keep it from moving for a few seconds. I added a 60 second timer for the game and then started adding sounds. In the end it was a pretty big project for a simple concept.

Now imagine how big an RPG would be. I'd suggest coming up with a small idea and prototype it first. Believe me, you'll still learn a lot.

Good luck.

#3 Halowood   Members   


Posted 01 February 2012 - 12:40 AM

I use the term RPG in it's barest form.
One small region, an animated player sprite, a single fight etc. a really really bare form of RPG.
But thank you for the help!

#4 Max Khivintsev   Members   


Posted 01 February 2012 - 01:47 AM

OMG! Rpg is the hardest genre for programming without constructors. Try to do casual game to start.

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.