Defold 【Defold】画面サイズの取得 local screen_width = tonumber(sys.get_config("display.width"))local screen_height = tonumber(sys.get_config("display.hei... 2019.09.26 DefoldDEVELOP
Defold 【Defold】セピア調シェーダー 少しレトロな見た目になるセピア調シェーダーコードです。Material プロパティVertex ConstantsNameTypeValue view_proj viewproj0, 0, 0, 0Fragment Constants Na... 2019.09.25 DefoldDEVELOP
DEVELOP 【Defold】背景色を変更する clear_color メッセージを投げれば良い。 msg.post("@render:", "clear_color", { color = vmath.vector4(1, 0, 0, 0) } ) 結果赤で clear_color さ... 2019.09.24 DEVELOP
Defold 【Defold】GameObject を表示・非表示にする enable,and disable メッセージを投げることでGameObjectを表示・非表示にすることが出来ます。表示msg.post(url, "disable")非表示msg.post(url, "enable")お知らせ 2019.09.23 DefoldDEVELOP
Defold 【Defold】文字列をZlib圧縮/展開する Defold にはZlibの圧縮展開機能が標準で組み込まれています。Zlib reference確認バージョン 1.2.162 サンプルコードlocal data = "my first zlib test."local compresse... 2019.09.22 DefoldDEVELOP