Game programming for beginners
In these series of tutorials I will explain new java concepts of an intermediate level (threads, AWT, Swing, etc.) and basic concepts for game programming (game loop, FPS, sprite, etc). My idea is that these tutorials are useful both for those who want to program games, as for those who, with a basic or intermediate level in java, want to learn and improve java programming concepts in an entertaining way.
Games in Java
Until very recently, professional games have been developed in C or C++. This has changed and now there are great games developed completely in java. The game industry for mobiles is growing and java is the language to program in Android. Android must be by now the most used operative system for smart phones. In the other hand, games like Minecraft, have millions of users and are developed by only one developer, without the support of a big company.
I hope, with this series of tutorials, I can motivate you to step into the world of java programming and in particular into game programming.
The game: Mini Tennis
In this series of tutorials we will developed from scratch a version of one of the most famous games.
This game is not meant to be the next most sold game but just a platform from which to teach and maybe inspire someone to be the next most succesful developer in the world ;)
- Our first graphic: JFrame, JPanel, paint method
- Animation of a moving object
- Events. Keyboard input
- Adding the sprite "racquet"
- Collision detection
- Adding sound to our game
- Creating a Sound class for our game
- Adding punctuation and speed increase
- Creating executable jar archive. Virtual java machine.
- Download the source code for minicraft and its configuration for eclipse
- Adding a view map to Minicraft