In this tutorial we covered: Making a textbox disappear after an amount of time Instance variables; Making an object move around with bullet behaviour; Making an object move in a random direction; Making an object bounce off another object; Destroy an object on collision with another object.
In this tutorial we covered: Inserting new layers; Inserting a background; Changing layer names; Locking layers; Referring to layer names in event sheet; Inserting a textbox.
In this tutorial we covered: Resizing layout Resizing window Shooting bullets
In this tutorial we show you how to make a HTML5 game you can play in your browser using Construct 2, which is a game making program you can use to export what you have made into HTML5. Make sure you check out all the legal stuff to do with using the software (licences) before …
In this tutorial we start off with explaining a few more methods in the JFrame class. Then we created our own JButton object and added it to the content panel of our JFrame.
In this tutorial we’re going to learn how to write programs in Java using Eclipse and the GUI (Graphical User Interface) classes that are part of the Java Cass Library. The first class which we’re using to create a window is called JFrame.
In this lesson you are shown how to create an array to refer to objects of the same class. We then use this array in our greedy pig game.
In this tutorial we show you how to implement a for loop. We also explain to you why sometimes the numbers are automatically rounded in java and how to prevent it.
Currently we have a lot of code in the main method. The only thing you should have in main is to create an object and to run a method with that object. Remember Java is an object oriented programming language.
In this lesson we use a while loop to repeat calling a method until a condition is met. We also show you how to increment the value in a variable as well as how to output to the screen a string and an integer variable.