Repository files navigation
Initialize window using JFrame
Create a new canvas
Set up many parameters
Deal with movement of GameObject
Horizontal and vertical distance calculation with a given timeLength(currentX += traveledDistance)
Initialize canvas with given height and width
This canvas can be used elsewhere
Check collision on two squares
There will be more
The implementation of core game loop
Set or hold FPS, Width, Height, Title, Graphics pen, Canvas, Bufferstrategy, List of objects
Set and hold many properties related to GameObject (Currently, basic positions on screen)
Additional properties that will be stored in GameObject
Horizontal and vertical velocity and acceleration
Independent thread for calculating the precise positions of all of currently existing GameObjects
Independent thread for rendering all of currently existing GameObjects with specified FPS
Made by Qiming Guan & Tianshu Wang
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.