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
+2
View File
@@ -7,3 +7,5 @@
/modules/obj /modules/obj
/modules/hscl.ini /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 "hsp3dish.as"
#include "config.hsp"
; 画面サイズ ; 画面サイズ
#const global DISPLAY_WIDTH 1080 #const global DISPLAY_WIDTH 1080
@@ -67,9 +68,6 @@
; ゴートうインスタンス生成 ; ゴートうインスタンス生成
Goatoh = New@Goatoh (960, 800, DIRECTION_LEFT) Goatoh = New@Goatoh (960, 800, DIRECTION_LEFT)
Chat = New@Chat (1)
Send@Chat Chat, "test"
; サウンド読込み ; サウンド読込み
MMLoad "mumumumu.wav", SOUND_MUMUMUMU MMLoad "mumumumu.wav", SOUND_MUMUMUMU
MMLoad "MusMus-BGM-097.mp3", SOUND_BGM, MM_REPEAT MMLoad "MusMus-BGM-097.mp3", SOUND_BGM, MM_REPEAT
+1 -1
View File
@@ -1,7 +1,7 @@
#module \ #module \
Chat Chat
#define URL ("https://miteruzo.ml/goatoh_training/chat.php") #define URL (CONFIG_SERVER_URL + "/chat.php")
#defcfunc local \ #defcfunc local \
New \ New \