Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Commit

Permalink
README updates
Browse files Browse the repository at this point in the history
* New screenshot
* Bumped version
* Deleted Windows build instructions
  • Loading branch information
rustushki committed Jul 9, 2017
1 parent bd9c8d8 commit 5547055
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 33 deletions.
35 changes: 4 additions & 31 deletions README.md
@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/rustushki/keyrunner.svg?branch=master)](https://travis-ci.org/rustushki/keyrunner)

# Summary

Help Moschata escape certain doom. The clock is ticking and she must reach the door with the key before it's too late.
Expand All @@ -14,11 +16,11 @@ KeyRunner is a free game, available in source code with the GPLv2 License. I wro
* Wrap around edges
* Conveyor Belts
* Push-Hold and Rapid-Fire movement
* Easy to edit and add levels
* Level Editor

# Downloads

Unfortunately, downloads are not available. I hope to have this setup soon.
Unfortunately, downloads are not available. I hope to have this setup soon.

# Build Instructions

Expand All @@ -30,32 +32,3 @@ Unfortunately, downloads are not available. I hope to have this setup soon.
$ cmake .
$ make
$ sudo make install

## Windows

These are some build instructions which allow for the compilation of KeyRunner in Microsoft Windows XP.

1. Download and Install CodeBlocks (http://codeblocks.org; get 'codeblocks-10.05-setup.exe'). Note that there is also a CodeBlocks package which contains MinGW; I've not tried it yet, but I'll do so soon and update
these instructions.
1. Download and Install MinGW. I used the mingw-get-inst-20120426.exe package.
1. Download the SDL-devel / MinGW package from libsdl.org. I used SDL-devel-1.2.15-mingw32.tar.gz.
1. Unpackage SDL-devel.
1. Copy SDL-devel\lib\* to C:\Program Files\CodeBlocks\lib\ (create a directory if
you need to).
1. Copy SDL-devel\include\SDL to C:\Program Files\CodeBlocks\include\SDL.
1. Copy SDL-devel\bin\SDL.dll to C:\Windows\.
1. Download SDL_ttf-2.0.11-win32.zip from http://www.libsdl.org/projects/SDL_ttf/.
1. Extract all DLLs from the SDL_ttf package to C:\Windows\.
1. Download SDL_ttf-2.0.11.tar.gz from http://www.libsdl.org/projects/SDL_ttf/.
1. Extract SDL_ttf.h to C:\Program Files\CodeBlocks\include\SDL.
1. Download SDL_image-1.2.12-win32.zip from http://www.libsdl.org/projects/SDL_image/.
1. Extract all DLLs to C:\Windows\.
1. Download SDL_image-1.2.12.tar.gz from http://www.libsdl.org/projects/SDL_image/.
1. Extract SDL_image.h to C:\Program Files\CodeBlocks\include\SDL. You've now unpacked DLLs and header files for SDL, SDL_ttf, SDL_image, and libpng (via SDL_image). You've added the MinGW compiler to your system. The CodeBlocks IDE is also installed and will automatically detect that MinGW is compiled.
1. Extract the KeyRunner Package somewhere.
1. Run CodeBlocks create a new Console Project. Name it KeyRunner.
1. Add all of KeyRunner's *.h and *.cpp files.
1. Add the img\ and level\ folders. You will also need to add these to the
Release\ and Debug\ folders.
1. CodeBlocks can now successfully compile the project using the Build
functionality.
Binary file modified screenshots/keyrunner.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/controller/KeyRunner.hpp
Expand Up @@ -20,6 +20,6 @@
#define LEVEL_PATH _ROOT_ PATHSEP "level" PATHSEP
#define IMAGE_PATH _ROOT_ PATHSEP "img" PATHSEP

#define VERSION 3
#define VERSION 1.4

#endif
2 changes: 1 addition & 1 deletion src/controller/main.cpp
Expand Up @@ -36,7 +36,7 @@ void initializeSdl() {
*/
SDL_Window* createWindow() {
std::stringstream title;
title << "Key Runner r" << VERSION;
title << "Key Runner v" << VERSION;
SDL_Window* window = SDL_CreateWindow(title.str().c_str(), SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED, 0, 0,
SDL_WINDOW_HIDDEN);

Expand Down

0 comments on commit 5547055

Please sign in to comment.