Java 2d Game Development Tutorial 8 - Finishing creating and loading level's!
Uploader Comments (CrazyandCoding)
Top Comments
-
Hi, when are you going to continue it?
thanks...
All Comments (21)
-
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!
Hey man, What are the odds that you could start a more 3d series?
EndohaGFX 8 months ago
@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.
CrazyandCoding 8 months ago