Robloxが公式に公開している Roblox Lua Style Guideの内容を分かりやすく解説するシリーズの11回目です。 レッスン11:Roblox固有のベストプラクティス ここまでのレッスンで、Luaの書き方のルールを一通り学んできました。最後のレッスンでは、Robloxエンジン特有 ...
GitHubの片隅に「眠れるコード」を見つけた。 **hengband-lua**。日本製ローグライクゲーム「変愚蛮怒(Hengband)」に、Lua 5.0 のスクリプティング機能を組み込んだフォークだ。C言語で書かれた約30万行のゲームエンジンに、tolua というバインディング ...
-- 07: Sample that outputs Game of Life evolution as a GIF. cnt = cnt + grid[(((ny) < 0) and (#(grid) + (ny) + 1) or ((ny) + 1))][(((nx) < 0) and (#(grid[(((ny) < 0 ...
-- WARNING: This script is applicable only to X-type quadrotors and quadplanes. -- How To Use -- 1. Place this script in the "scripts" directory. -- 2. Set FRAME_CLASS or Q_FRAME_CLASS to 17 to enable ...