added config file
This commit is contained in:
@@ -7,3 +7,5 @@
|
||||
/modules/obj
|
||||
/modules/hscl.ini
|
||||
/hsp3dish.js
|
||||
/config.hsp
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
#define global CONFIG_SERVER_URL ("http://localhost/goatoh_training_server")
|
||||
|
||||
@@ -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,7 +1,7 @@
|
||||
#module \
|
||||
Chat
|
||||
|
||||
#define URL ("https://miteruzo.ml/goatoh_training/chat.php")
|
||||
#define URL (CONFIG_SERVER_URL + "/chat.php")
|
||||
|
||||
#defcfunc local \
|
||||
New \
|
||||
|
||||
Reference in New Issue
Block a user