Java 2d Game Development Tutorial 8 - Finishing creating and loading level's!

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,814
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 12, 2011

In this Java 2d game development tutorial we finish creating a class that read's from a text file and fill's the screen with monster's according to that text file.

For more Tutorial's check out
http://www.crazyandcoding.com/

Bored and want to play some games? Check out:
http://www.crazyandgaming.com/

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (CrazyandCoding)

  • Hey man, What are the odds that you could start a more 3d series?

  • @EndohaGFX I haven't really gotten into any 3D game programming. I have poked around with JMonkeyEngine and I really like it. If I ever do try a 3D tutorial series it would be with that engine. But I haven't even finished this series yet and but I will soon.

Top Comments

  • Hi, when are you going to continue it?

    thanks...

see all

All Comments (21)

Sign In or Sign Up now to post a comment!
  • When you create an object of a class, non-static variables are created for that object. Static variables exist only for the class. When you change a static variable's value, either through an object reference or through the class itself, you change it for all instances/objects of that class. A static final variable is a constant that is loaded into memory only once static and is accessible from any instance of that class or from the class itself.

  • @CrazyandCoding, I'm sure you've realized this since making these videos, but you are confusing "static" and "final" in these videos. Your appear to be creating a lot of constants, since convention is to make them in all caps, but you aren't actually making them constants with the final keyword. That's the reason you had the error in this video. I'm sure you've realized this error already, but it may be helpful to others. There are a lot of variables throughout the code that you wanted final.

  • the sound at 07:28 should be implemented into the game!

  • hello ,,

    i want to talk with you in private , please if you can ? send me a message

    Regards

  • Too bad that this is the last part... maybe there's still hope that someday you will continue :)

  • @AnguruGaming Size: 27 means that the last element is 26 and you tried to get element 27 witch isn't there

  • @AnguruGaming Indexout of bounds usally means that your array is out of it's limits

  • Guess he never figured out why it was loading 2 levels at once haha

  • Exception in thread "main" java.lang.IndexOutOfBoundsExce­ption: Index: 27, Size: 27 at java.util.ArrayList.RangeCheck­(ArrayList.java:547) at java.util.ArrayList.get(ArrayL­ist.java:322)

    getting that error and i did exactly the same u did

  • Please finish! This is the third great java video tut I've followed along with that ends without a conclusion. I was really getting into the project!

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more