/JTTW

Bodhi: 2D Platformer for COMP 460

Primary LanguageC++OtherNOASSERTION

Bodhi

A 2D platformer inspired by “Journey to the West”, by Wu Cheng’en.

Bodhi’s Main Menu

Made by Bryce Willey, Mei Tan, and Melinda Crane for the Rice undergraduate course, COMP 460.

Building and Running the Game

Mac

Open Terminal.app or the equivalent, change to the desired directory, and type the following.

git clone https://github.com/BryceStevenWilley/JTTW 
cd JTTW
git submodule init && git submodule update
cocos2d/download_deps.py -r yes
cd Resources/Music && ./download_music.bash && ../../

Then, open proj.ios_mac/JTTW.xcodeproj with Xcode. Once open, run the "JTTW-desktop target" on "My Mac".

After a long compile time, the game will run. Don't worry though, when you build again, the compile time will be much faster.

Linux

Open a terminal window, and run the following code:

git clone https://github.com/BryceStevenWilley/JTTW 
cd JTTW
git submodule init && git submodule update
cocos2d/download_deps.py -r yes
cd Resources/Music && ./download_music.bash && ../../
mkdir linux-build && cd linux-build
cmake .. && make -j4

Common Issues

“Can’t find cocos2d.h”

Any error similar to this probably means you didn’t run git submodule init && git submodule update, as the compiler can’t find anything in the cocos2d directory.

“error: no such file or directory: ‘/…/JTTW/cocos2d/external/…”

This one means the compiler’s not finding anything in the cocos2d/external folder, which is populated when you run cocos2d/download_deps.py. Make sure this script succeeds.

Credits:

Programming:

Art

Music

Sound