Page MenuHomePhabricator (Chris)

No OneTemporary

Authored By
Unknown
Size
3 KB
Referenced Files
None
Subscribers
None
diff --git a/.travis.yml b/.travis.yml
index 7079cc2..950038c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,19 +1,24 @@
language: cpp
-os: linux
-compiler: gcc
git:
depth: 10
-addons:
- apt:
- packages:
- - libsdl1.2-dev
- - libsdl-image1.2-dev
- - libsdl-ttf2.0-dev
- - libsdl-mixer1.2-dev
- - libsdl-gfx1.2-dev
- - libcurl4-openssl-dev
- - libarchive-dev
- - liblua5.2-dev
-
+matrix:
+ include:
+ - os: linux
+ compiler: gcc
+ addons:
+ apt:
+ packages:
+ - libsdl1.2-dev
+ - libsdl-image1.2-dev
+ - libsdl-ttf2.0-dev
+ - libsdl-mixer1.2-dev
+ - libsdl-gfx1.2-dev
+ - libcurl4-openssl-dev
+ - libarchive-dev
+ - liblua5.2-dev
+ - os: osx
+ compiler: clang
+ before_install:
+ - brew install sdl sdl_image sdl_ttf sdl_mixer sdl_gfx libarchive lua@5.2
script:
- mkdir build && cd build && cmake .. && make
diff --git a/README.md b/README.md
index 7088f5b..28289c6 100644
--- a/README.md
+++ b/README.md
@@ -1,80 +1,80 @@
(new README under construction)
-[![Build Status](https://travis-ci.org/acmepjz/meandmyshadow.svg?branch=master)](https://travis-ci.org/acmepjz/meandmyshadow)
+Linux and OSX: [![Build Status](https://travis-ci.org/acmepjz/meandmyshadow.svg?branch=master)](https://travis-ci.org/acmepjz/meandmyshadow)
Me and My Shadow
====================
Me and My Shadow is a free libre puzzle/platform game in which you try to reach
the exit by solving puzzles. Spikes, moving blocks, fragile blocks and much
more stand between you and the exit. Record your moves and let your shadow
mimic them to reach blocks you couldn't reach alone.
- Tutorial for beginners
- 2 level packs containing over 40 levels
- 18 different block types
- Built-in level editor
- Easily installable addons
- Original music by Juho-Petteri Yliuntinen
- Cross platform
Compiling on Linux
====================
You will need the following packages (and their -dev(el) files) to be installed:
* libSDL
* libSDL_image
* libSDL_ttf
* libSDL_mixer
* libSDL_gfx
* libcurl
* libarchive
* cmake
* C++ compiler (found in packages like g++, gcc-c++, gcc)
The process is simple. Enter a terminal and move to directory containing
MeAndMyShadow. Then just type
cmake .
to generate the Makefile. If everything configured properly you don't see any
errors and then you can start compiling by typing
make
Finally you can run MeAndMyShadow with
./meandmyshadow
To install MeAndMyShadow on your system, run following as root
make install
Compiling without GL
====================
In some cases you might want to compile Me and My Shadow without openGL
hardware accelaration. In order to do this follow the steps above but replace the
cmake call with:
cmake -DHARDWARE_ACCELERATION=OFF .
Note that you can always run Me and My Shadow in SDL mode by setting gl to 0 in
the config file or by running it as following:
meandmyshadow -set gl 0
Compiling on Mac
====================
You need to have Xcode 4+ and following frameworks:
* SDL.framework
* SDL_image.framework
* SDL_ttf.framewrok
* SDL_mixer.framework
* SDL_gfx.framework
Offical SDL binaries builded not builded for embeding with app. So you need to build them from sources or use unofficial binaries, please refer to this article: http://thirdcog.eu/apps/frameworks

File Metadata

Mime Type
text/x-diff
Expires
Wed, Jun 17, 9:10 PM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
71466
Default Alt Text
(3 KB)

Event Timeline