diff --git a/projects/CodeBlocks/README.md b/projects/CodeBlocks/README.md
index 0e4db919c..92abfded2 100644
--- a/projects/CodeBlocks/README.md
+++ b/projects/CodeBlocks/README.md
@@ -1,16 +1,17 @@
-# raylib for Code::Blocks
-**by D3nX**
-
-Hey! Here it is a project template to use with `Code::Blocks` =)
-
-First, you need to download the [raylib installer](https://www.raylib.com) and run it. It will install raylib with the compiler.
-
-Then, download the template, and open the project with `Code::Blocks`.
+# Raylib template for Code::Blocks
+
+1. Install Raylib. On Windows you must install the 'Windows Installer (with MinGW compiler)' package. On other
+platforms you can install however you like.
+
+2. Windows only: In Code::Blocks, select `Settings` `Compiler` `Toolchain executables`.
+Change `Compiler's instrallation directory` to `C:\raylib\MingGW`. Do *not* press auto-detect. There is a screenshot
+below showing how it should look. Press `OK`.
+
+3. Select `File` `Open` and open the `core_basic_windows.cbp` file.
+
+
-Before running the template, make sure following set the raylib compiler for the IDE as show below:
-

-
-Finally, you can run the program and enjoy raylib running on `Code::Blocks`!
-
-Hope it helped you =)
+**by D3nX**
+
+See also https://github.com/electronstudio/raylib-game-template-codeblocks
\ No newline at end of file
diff --git a/projects/CodeBlocks/core_basic_window.c b/projects/CodeBlocks/core_basic_window.c
index 588f80c23..da5b2e010 100644
--- a/projects/CodeBlocks/core_basic_window.c
+++ b/projects/CodeBlocks/core_basic_window.c
@@ -1,12 +1,8 @@
-/*******************************************************************************************-lraylib -lglfw3 -lopengl32 -lgdi32 -lopenal32 -lwinmm
-*
+/*******************************************************************************************
* raylib [core] example - Basic window
*
* Welcome to raylib!
*
-* To test examples, just press F6 and execute raylib_compile_execute script
-* Note that compiled executable is placed in the same folder as .c file
-*
* You can find all basic examples on C:\raylib\raylib\examples folder or
* raylib official webpage: www.raylib.com
*
diff --git a/projects/CodeBlocks/core_basic_window.cbp b/projects/CodeBlocks/core_basic_window.cbp
index c4b22a9e0..ce53c60d9 100644
--- a/projects/CodeBlocks/core_basic_window.cbp
+++ b/projects/CodeBlocks/core_basic_window.cbp
@@ -2,51 +2,97 @@
-
+
+
-
+
+
+
-
-
-
+
+
+
+
+
+
+
-
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
-