added config file

This commit is contained in:
2023-07-02 19:37:29 +09:00
parent df59d5e548
commit 4f712330f5
4 changed files with 7 additions and 5 deletions
+3 -1
View File
@@ -6,4 +6,6 @@
/obj
/modules/obj
/modules/hscl.ini
/hsp3dish.js
/hsp3dish.js
/config.hsp
+2
View File
@@ -0,0 +1,2 @@
#define global CONFIG_SERVER_URL ("http://localhost/goatoh_training_server")
+1 -3
View File
@@ -1,4 +1,5 @@
#include "hsp3dish.as"
#include "config.hsp"
; 画面サイズ
#const global DISPLAY_WIDTH 1080
@@ -67,9 +68,6 @@
; ゴートうインスタンス生成
Goatoh = New@Goatoh (960, 800, DIRECTION_LEFT)
Chat = New@Chat (1)
Send@Chat Chat, "test"
; サウンド読込み
MMLoad "mumumumu.wav", SOUND_MUMUMUMU
MMLoad "MusMus-BGM-097.mp3", SOUND_BGM, MM_REPEAT
+1 -1
View File
@@ -1,7 +1,7 @@
#module \
Chat
#define URL ("https://miteruzo.ml/goatoh_training/chat.php")
#define URL (CONFIG_SERVER_URL + "/chat.php")
#defcfunc local \
New \