Java Tutorial

Functions in Java

Submitted by Yorkiebar on
Introduction: This tutorial is on how to create and use methods in Java. What's a Method: A method is similar to what you may call a function in other languages. Well, actually, it's exactly the same. A function, or a method, is a script which can be called from other scripts in order to run some code, and return a value. The only difference between a function and a method, is that methods are the name given to functions in an Object Oriented Programming (OOP) language, such as Java.

Razmazio : JAVA Side Scroller Game Programming part2

Submitted by moazkhan on

TUTORIAL NO 15

Razmazio : JAVA Side Scroller Game Programming part2

In this tutorial you will learn: 1. Playing sound in JAVA 2. Adding points in java 3. Adding custom Mario FONTS 4. Timer class 5. Animations using timer 6. Side Scroller game 7. Game Programming 8. Changing screens in the game 9. Swing Animations 10. Event handling 11. JAVA awt 12. JAVA swing 13. Adapters In this tutorial I will continue coding my previous tutorial. I will continue adding more functions in GamePanel class.