A tech demo world for TsunagariC.
git clone --recursive https://github.com/pmer/TsunagariC-Testing.git
cd TsunagariC-TestingFrom the root directory:
# macOS
brew install youtube-dl
brew install --with-libvorbis ffmpegcd data/music
youtube-dl -x -f 22 -o Autumn_Forest.mp4 'https://www.youtube.com/watch?v=v2qOllkxwiw'
ffmpeg -i Autumn_Forest.m4a -c:a libvorbis Autumn_Forest.oga
cd ../..# macOS
cd data/music
curl -O https://pdm.me/Autumn_Forest.oga
cd ../..# Ubuntu
cd data/music
wget https://pdm.me/Autumn_Forest.oga
cd ../..# macOS
brew install libgosuFrom the root directory:
Compile:
# macOS
mkdir build-debug
cd build-debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j $(sysctl -n hw.ncpu)
cd ..# Ubuntu
mkdir build-debug
cd build-debug
cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j $(nproc)
cd ..Build the resources:
TsunagariC/scripts/build-config.sh
TsunagariC/scripts/build-world.shBuild the application bundle/install to bin:
# macOS
TsunagariC/scripts/build-bundle-debug.sh# Ubuntu
cp build-debug/tsunagari bin/On macOS, open Tsunagari.app in Finder.
On Ubuntu, open bin/tsunagari in Files.
# macOS
Tsunagari.app/Contents/MacOS/Tsunagari# Ubuntu
cd bin
./tsunagariFrom the root directory:
# macOS
lldb Tsunagari.app/Contents/MacOS/Tsunagari# Ubuntu
cd bin
gdb ./tsunagari- Windows instructions