Tag Archives: OOP design principles

Java Video Tutorial 59

Java Asteroids Video GameIn the last part of this tutorial, I showed you how to make the PhotonTorpedo class using a UML class diagram.

In this tutorial, I show you how to make your space ship shoot the torpedos on the screen. As you’ll see, because I used good OOP design principles in the last video, adding the shooting feature will require very few changes.

All of the code follows the video. It is heavily commented to help you learn.

Continue reading Java Video Tutorial 59

Java Video Tutorial 50

Make a Video Game JavaI wanted to make the 50th part of my Java Video Tutorial special! In this tutorial, I answer numerous questions.

I begin showing you how to design a game like Asteroids. I start teaching OOP design principles using UML. You learn how to draw polygons on the screen and how to animate them. And, to top it all off I show you how collision detection works.

Yes, there is a lot in this 14 minute video 🙂

Continue reading Java Video Tutorial 50