Skip to content
Bodhi: 2D Platformer for COMP 460
C++ Objective-C++ CMake Java Makefile Objective-C Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
Classes
JTTWLevelEditor @ 4f03da7
Resources
cocos2d @ 87dbdf8
proj.android-studio
proj.android
proj.ios_mac
proj.linux
proj.tizen
proj.win10
proj.win32
proj.win8.1-universal
.cocos-project.json
.gitignore
.gitmodules
Bodhi_Menu.png
CMakeLists.txt
LICENSE.txt
README.md

README.md

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

You can’t perform that action at this time.