基于游泳的鱼的金庸群侠传lua复刻版,修改gbk编码为utf8编码,移植到 macOS 上。
在 Lua 5.4.4 下编译成功
- 用 Homebrew 安装 lua, sdl, sdl_image, sdl_mixer, sdl_ttf, smpeg
brew install lua sdl sdl_image sdl_mixer sdl_ttf smpeg
- 编译
cd src
make
cd bin
./jy
sudo apt-get install libsdl1.2-dev libsdl-image1.2 libsdl-image1.2-dev libsdl-mixer1.2 libsdl-mixer1.2-dev libsdl-ttf2.0-0 libsdl-ttf2.0-dev libsmpeg-dev libsmpeg0 lua5.2 liblua5.2-dev liblua5.2-0 build-essential pkg-config gcc
cd src
make
cd ../bin
./jy # run game
- macOS Catalina 下动画播放卡顿