This Java version of Chrome's Offline T-Rex Game replicates the popular side-scrolling dinosaur game available in Chrome when the internet connection is lost. The game boasts several features to ensure an enjoyable gaming experience. Currently, some non-gameplay affecting features are missing, but they will be implemented in the future. The game runs smoothly at 100 frames per second, offering a seamless and immersive gaming experience.
The game has a dynamic background that changes as the game progresses, adding variety and visual appeal to the gameplay.
The game provides an endless experience, allowing players to continue playing as long as possible, with increasing difficulty over time.
As the game advances, the difficulty level gradually increases, providing a challenging experience for players.
The game includes two types of obstacles, Cactuses, and Birds (Pterodactyls), which the player must avoid to keep the game going.
Players can make the dinosaur character jump or duck to avoid the obstacles in its path.
The game incorporates sound effects to enhance the gaming experience, adding audio cues for actions such as jumping and collision.
The game keeps track of the player's score and the highest score achieved. This data is saved to a file for persistence.
The height of the dinosaur's jump is determined by the duration the jump key is held, allowing for precise control over jump height.
Pressing the duck key while in midair will make the dinosaur drop faster, aiding in avoiding obstacles more effectively.
Players have the option to pause the game during gameplay for convenience or to take a break.
The game starts with an introduction to set the scene and prepare players for the upcoming gameplay.
The game features a debug mode that disables collisions and displays hitboxes for the Dino, Cactuses, and Birds. It also shows the current speed (difficulty level) of the game.
The game can be packaged into a ".jar" file for easy distribution and execution. Highest scores achieved by players are stored in a ".txt" file located next to the ".jar" file, allowing players to track their progress over time. This Java version of the Chrome Offline T-Rex Game provides an engaging and challenging gaming experience with smooth performance, making it a fun choice for players looking for an entertaining time-killer.