Skip to content
This repository was archived by the owner on Jun 30, 2019. It is now read-only.

outinspace/JavaBird

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaBird

A FlappyBird port in Java, made to run on anything! The goal of this project is to bring a very fun mobile game to PCs. Besides that, I want this game to be 100% dynmically scalable and eventualy feature alternate gamemodes/levels.

capture3

Getting Started

Once you have cloned this project on your pc, open eclipse and set the repository folder as your workspace folder. It should look something like this: yourDocuments/Github/JavaBird Once it is imported, compile/run the Game.java file to start the game.

Where are we so far?

capture

The entire game is powered by a tick Thread that is located in Game.java. The tick thread runs the game at a constant tick while upscaling and downscaling the fps to prevent the game from slowing. Currently the fps cap is set at 60 fps.

Each time the window is resized, all imported sprites are also resized to be proportional to the height of the window. Almost all movement variables are scaled by a static ratio Game.heightRatio(). So when the window is resized, the physics are scaled.

capture2

In the imported workspace, you'll find a todo.txt. If you are looking for inspiration, perhaps you may want to tackle one of those challenges. Just make sure you commit the changes to an appropiately named branch. Example: collision_detection_fix

#Copyright Notice Take note that I am not affiliated with .GEARS Studios. I have only created the code for this project. I have used the assets without explicit permission from their creator. I am using this tweet: https://twitter.com/dongatory/status/431060041009856512 / http://i.imgur.com/AcyWyqf.png as an open invitation to use the games assets in making this port. If the original copyright owner wishes to have them removed from this project, please contact me. The final version of this project will include links to www.dotgears.com and will never be sold.

About

The popular game, FlappyBird, recreated in Java using the Swing libraries. My first attempt at a graphically scalable game.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors