summaryrefslogtreecommitdiffhomepage
path: root/projects/CodeBlocks/README.md
diff options
context:
space:
mode:
authorRichard Smith <[email protected]>2021-10-19 18:50:21 +0100
committerGitHub <[email protected]>2021-10-19 19:50:21 +0200
commit8e599908d9cca8f2f96f53790837f49abcea2745 (patch)
tree9addabc417d165264f0cd72bb35d1ccac5a26ca4 /projects/CodeBlocks/README.md
parentae7127232d720e1d8584ea0266eae98d5a543133 (diff)
downloadraylib-8e599908d9cca8f2f96f53790837f49abcea2745.tar.gz
raylib-8e599908d9cca8f2f96f53790837f49abcea2745.zip
Re-write Code::Blocks template to work on Linux and Macos (#2073)
* update code::blocks example to support linux * add macos support * update screenshot * update templates readme
Diffstat (limited to 'projects/CodeBlocks/README.md')
-rw-r--r--projects/CodeBlocks/README.md35
1 files changed, 19 insertions, 16 deletions
diff --git a/projects/CodeBlocks/README.md b/projects/CodeBlocks/README.md
index 0e4db919..fb072ba8 100644
--- a/projects/CodeBlocks/README.md
+++ b/projects/CodeBlocks/README.md
@@ -1,16 +1,19 @@
-# raylib for Code::Blocks
-**by D3nX**
-<br/>
-Hey! Here it is a project template to use with `Code::Blocks` =)
-<br/><br/>
-First, you need to download the [raylib installer](https://www.raylib.com) and run it. It will install raylib with the compiler.
-<br/><br/>
-Then, download the template, and open the project with `Code::Blocks`.
-
-Before running the template, make sure following set the raylib compiler for the IDE as show below:
-<br>
-![Compiler Settings](compiler_settings.png)
-<br/>
-Finally, you can run the program and enjoy raylib running on `Code::Blocks`!
-<br /><br />
-Hope it helped you =)
+# 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 following the instructions in the wiki.
+ * https://github.com/raysan5/raylib/releases/download/3.7.0/raylib_installer_v370.mingw.exe
+ * https://github.com/raysan5/raylib/wiki/Working-on-GNU-Linux
+ * https://github.com/raysan5/raylib/wiki/Working-on-macOS
+
+2. Install and run Code::Blocks.
+
+3. **Windows only**: 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`.
+
+4. Select `File` `Open` and open the `core_basic_windows.cbp` file.
+
+![Compiler Settings](compiler_settings.png)
+
+For an example with resources, see https://github.com/electronstudio/raylib-game-template-codeblocks \ No newline at end of file