Browse Source

アセット追加

main
Miteruzo 1 year ago
parent
commit
fa96d03ac9
4 changed files with 27 additions and 2 deletions
  1. BIN
      android/assets/MusMus-BGM-097.mp3
  2. BIN
      android/assets/eating-kusa.wav
  3. BIN
      android/assets/mumumumu.wav
  4. +27
    -2
      android/main.hsp

BIN
android/assets/MusMus-BGM-097.mp3 View File


BIN
android/assets/eating-kusa.wav View File


BIN
android/assets/mumumumu.wav View File


+ 27
- 2
android/main.hsp View File

@@ -1,17 +1,42 @@
#include "hsp3dish.as" #include "hsp3dish.as"


; バッファ
#enum BUFFER_GOATOH = 1
#enum BUFFER_NIZIKA
#enum BUFFER_KUSA


SetClS CLSMODE_SOLID, $000000
; サウンド
#enum SOUND_MUMUMUMU = 0 ; ムムムム
#enum SOUND_BGM ; 夕餉の街並み(Copyright: Musmus)
#enum SOUND_EATING_KUSA ; クサタベテル!!!

#const FPS 30
#const LOOP_INTERVAL 1000 / FPS


#ifdef _DEBUG
MmLoad "assets/mumumumu.wav", SOUND_MUMUMUMU
MmLoad "assets/MusMus-BGM-097.mp3", SOUND_BGM
MmLoad "assets/eating-kusa.wav", SOUND_EATING_KUSA
#else ; not _DEBUG
MmLoad "mumumumu.wav", SOUND_MUMUMUMU
MmLoad "MusMus-BGM-097.mp3", SOUND_BGM
MmLoad "eating-kusa.wav", SOUND_EATING_KUSA
#endif ; not _DEBUG

; BGM 再生
MmPlay SOUND_BGM


Repeat Repeat
ReDraw False ReDraw False
Color 255, 255, 255 Color 255, 255, 255
BoxF BoxF


Pos 0, 0
Color 0, 0, 0 Color 0, 0, 0
Print "Hello, world!!" Print "Hello, world!!"
ReDraw True ReDraw True


Await 33
Await LOOP_INTERVAL
Loop Loop



Loading…
Cancel
Save