- Game Loop,
- Scenes,
- Diifferent Sprites,
- Smooth Camera,
- User Interface (UI),
- Dragging,
- Scaling,
- Easy-to-use AssetManager with images & sounds,
- Examples, and
- Action Listeners!
- Moving with WASD (movement),
- Basic use of UI elements (homeScreen), and
- Basic use of hovering and dragging (hoverDragging)
- tCreate.*
- tCreate.assetManager.*
- tCreate.scene.*
- tCreate.sprite.*
- tCreate.ui.*
- tCreate.examples.(example).*
To use an example such as movement, put this import at the top of your page: import tCreate.examples.movement.*;
In your main method put this line of code: MovementDemo.launch();
Displays current version and creator in the console Extends JPanel and holds all the code for the gameLoop and drawing and updating all elements in the scene. This is a class which you extend to have an x, y variable and a few function: update(), draw(Graphics2D graphics), getWorldX() and getWorldY(). By using the code, ScreenObject.setUp(), you can pass in a screenObject, x, y position into the brackets. There is also aDouble scale variable which you can update and then use with some functions which gives you the scaled variable. A BufferedImage image variable is also created with a function imageRender(Graphics2D g) to use images. Inside the brackets, put the title of the game and then add two whole numbers for the size. This will create a JFrame with the title and size you picked for it. Starts the game loop Changes the current scene to the one you have created yourself. To learn more about scenes, go to the section called Scenes. Returns with the game which extends JPanel. Learn more about this in the section called ScreenPanel in the Other section. Returns with the current scene. To learn more about scenes, go to the section called Scenes. True or False variable which decides if the camera should be smooth when moving. Whole number which decides how fast the camera smoothing should be. 1 - INSTANT. 2 Whole numbers which snaps the camera to a positon. 2 Whole numbers which uses smoothing to guide the camera to the position you entered in. Gets current x or y position of the camera. Returns a number which tells you where an element should be placed on the screen as the camera moves;