My First Game Development Project “Flappy Bird” by Java

Last Semester, I took Java(CSE215) as My CS course and at end of this course I was assigned to create Flappy Bird Game as Final Project. So finally here’s the result at GitHub.
Any modification or suggestions is appreciated. 🙂

You’ll need a Java compiler to compile and run the game. I recommend eclipse IDE, it has built-in Java Compiler.

Sublime Text 3 For Java

Sublime Text is amazing software. To start, it is a clean, efficient, functional, and fast code editor. Not only does it have incredible built-in features, but it has support for plugins, snippets, and many other things.

Recently I’ve taken a Java course in my University, Most of us use Eclipse (Eclipse IDE is awesome for Java), In case, All of my Classmates were using Eclipse, Unfortunately, I did not like its performance and UI. So I did look forward to Writing, Compile and Run Java on my Favorite Code editor Sublime Text 3. Finally Found a way out. I know there have already been many articles like this, but Thought it would be good to have all the information online. In this article, We’ll be diving into How to Build and Run Java Codes on Sublime Text 3. There are Two steps to be followed.

Step 01:
By default, The location of JDK isn’t always updated or correct. So Firstly, We’ll have to update the location of JDK in Windows Environment Variables. To do that  follow the instructions below:

  • Go to “My Computer” then “System Properties” and click on “Advanced System Settings” from Sidebar
  • Click On “Environment Variables”
  • A window titled “Environment Variables” Should Come up
    • Click TEMP on the top area.
    • Scroll a little down and find Path.
    • Select Path and click Edit.
    • Paste this location at the end of the text area.
    • If You are using a different version of JDK You should replace this by the location of bin folder of Your JDK. Don’t forget to add a semicolon before Location.
    • ;C:\Program Files\Java\jdk1.8.0_45\bin
    • Make sure to OK out of both windows
    • Okay, Great. Now Proceed to 2nd  Step

Step 02:

  • Now create a file named JavaC.sublime-build Remember it’s extension name is .sublime-build.
  • Copy this code snippet below and paste into the file You’ve just created and move it to C:\Users\"Your Username"\AppData\Roaming\Sublime Text 3\Packages\User
         "shell_cmd": "javac -Xlint \"${file}\"",
         "file_regex": "^(...*?):([0-9]*):?([0-9]*)",
         "working_dir": "${file_path}",
         "selector": "",
                   "name": "Run",
                   "shell_cmd": "java \"${file_base_name}\""
  • Now, write java codes on Sublime text and press Ctrl-B to Compile and Ctrl-Shift-B to Run.

There is an another way that you can Follow. I didn’t try this though.

Unable to load or find PHP extension php_intl.dll

PHP Startup: Unable to load dynamic library ‘C:/wamp/path/to/php/ext/php_intl.dll’ – The specified module could not be found.

This is a very common issue, especially under PHP 5.5, and can easily be fixed.

To find out why PHP cannot load extension php_intl.dll, open the command prompt , change to WAMP’s PHP directory, and test the php_intl.dll dependencies (i.e., the other DLL files it needs):

cd \WampDeveloper\Components\Php
deplister.exe ext\php_intl.dll

This is a list of all the DLL files php_intl.dll must load itself, before PHP can load it:



International Components for Unicode (ICU) libraries – Unicode and Globalisation support


Microsoft VC++ 2012 Runtime libraries – common functions required by C and C++ programs


Core Windows DLL


On a system with this issue, either the “ICU” or the “VC++ Runtime” DLL files will not be found (i.e., shown as “NOTFOUND” instead of “OK” in the above output).

And when php_intl.dll is not able to find and load these dependencies, PHP outputs:

[syntax]”The specified module could not be found.”[/syntax]
Here is how to fix the issue and load php_intl.dll:

  1. Make sure the PHP directory path is included in the system’s PATH environmental variable so this set of provided/included ICU DLLs, that php_intl.dll depends on, are found:

[syntax]icuuc51.dll, icuin51.dll, icuio51.dll[/syntax]
* WampDeveloper Pro already includes PHP’s directory in PATH, but some other WAMP distributions do not.

  1. Install the Microsoft VC++ 2012 Runtime Redistributable that will provide these VC11 runtime DLLs that php_intl.dll depends on (PHP 5.5 is built with VS.NET 2012):

[syntax]MSVCR110.dll, MSVCP110.dll[/syntax]
Visual C++ Redistributable for Visual Studio 2012 Update 4

Make sure to install the 32 bit (x86) version if you are using a 32 bit PHP build: vcredist_x86.exe

  • Unlike PHP 5.5, PHP 5.3 is built with VS.NET 2008 (VC9), and depends on “Visual C++ Redistributable for Visual Studio 2008″ which provides runtime DLLs: MSVCR90.dll, MSVCP90.dll

Also check if your system contains the PHP extension file (e.g., php_intl.dll, php_curl.dll, etc) outside the WAMP folder.Sometimes PHP extensions wind up in the C:\Windows or C:\Windows\System32 folder from previous installations of PHP. And this becomes a problem – as the PHP process will usually loading them first – and abort on a build mismatch. If  everything else fails, uninstalling WAMP, deleting the remaining folder/files, and re-installing often fixes the issue. But before you do that, try deleting the PHP extension file, and replacing it with the original file from the provided PHP version’s zip. It might just have gotten corrupted.