看板 GameDesign 關於我們 聯絡資訊
我昨天 google: golang RPG 時找到的。 979 頁, 最後更新於 2017 年。 書中程式碼使用 Sublime Text 在 Mac 的截圖。 作者在 medium 的文章值得一讀。 他首先分析自己的優點: 有一本 C# 的 game book, 有 game blog, 想做 JRPG 專題, 收集了 1000 份 mailing list 訂閱這本書的主題。 ... 缺點: 移動時感覺很卡、不支援中文。 https://howtomakeanrpg.com/ How to Make an RPG USD $46 https://medium.com/@DanSchuller My First Side Project - Part 1 : What Went Right http://howtomakeanrpg.com/a/pages/the-book.html http://howtomakeanrpg.com/a/index.html http://howtomakeanrpg.com/a/archives.html blog http://www.godpatterns.com/ engine http://dinodeck.com/ http://dinodeck.com/docs/1.0/ http://dinodeck.com/source/1.0/ 我猜中文是下面沒用 utf-8, 因為 FTGL 支援 TTF https://github.com/dinodeck/dinodeck/blob/master/src/FormatText.cpp void FormatText::RenderLine(FTTextureFont* font, float x, float y, const char* text, int start, int finish) int c = text[i]; unsigned int charCode = (unsigned int) c; unsigned int index = charMap->GlyphListIndex(charCode); //FTTextureGlyphImpl::ResetActiveTexture(); (*glyphVector)[index]->Render(FTPoint(x, y), FTGL::RENDER_ALL); 目前是它用到的函式庫做不出來。 dinodeck-master/src $ sh make_windows.sh g++ -o dinodeck ../lib/glee/glee.c ../lib/mongoose/mongoose.c ... Texture.o System.o Sprite.o DDAudio_Windows.o Sound.o SoundStream.o g++: error: ../lib/soil/lib/libSOIL.a: No such file or directory g++: error: ../lib/ftgl/src/libftgl_static.a: No such file or directory g++: error: ../lib/freetype/src/libfreetype.a: No such file or directory g++: error: ../lib/LuaJIT/src/libluajit.a: No such file or directory g++: error: ../lib/physfs/libphysfs.a: No such file or directory g++: error: ../lib/openal-soft/build/libOpenAL32.dll.a: No such file or directory cd lib/soil/src wget https://raw.githubusercontent.com/childhood/libSOIL/master/Makefile vim Makefile # Add -DWIN32 in CFLAGS # Remove shared library for MacOS lib/LuaJIT/src/lj_vm.s 是 i386 我用的是 mingw64 pacman -S mingw-w64-x86_64-luajit-git $ find /mingw64 | grep -i jit /mingw64/lib/libluajit-5.1.a pacman -Ss openal pacman -S mingw-w64-x86_64-openal /mingw64/lib/libopenal.a pacman -S mingw-w64-x86_64-physfs ... /mingw64/lib/libphysfs.a(physfs_archiver_iso9660.c.obj):(.text+0x1b): undefined reference to `__ms_vsnprintf' /mingw64/lib/libphysfs.a(physfs_archiver_iso9660.c.obj):(.text+0x626): undefined reference to `__imp__mktime64' /mingw64/lib/libphysfs.a(physfs_archiver_iso9660.c.obj):(.text+0xb1a): undefined reference to `_assert' /mingw64/lib/libphysfs.a(physfs_archiver_vdf.c.obj):(.text+0x235): undefined reference to `__imp__mktime64' /mingw64/lib/libphysfs.a(physfs_archiver_vdf.c.obj):(.text+0x379): undefined reference to `_assert' -- https://youtu.be/MMWBPklrRB4 小雞逼逼(崩潰版)
https://youtu.be/KlZL1hqGxDg 《江南夜色》
https://youtu.be/WIW16vMdrZU 《告白氣球》
-- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.129.19.6 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/GameDesign/M.1559620340.A.621.html
dreamnook: 06/04 12:53
wangm4a1: 好奇過有沒用GO寫遊戲的 但好像不適合 06/05 01:10