Browse Source

ゴートウの顔

main
Miteruzo 1 year ago
parent
commit
e06b289df6
6 changed files with 14 additions and 4 deletions
  1. BIN
      android/assets/goatoh-face-closed-closed.png
  2. BIN
      android/assets/goatoh-face-closed-open.png
  3. BIN
      android/assets/goatoh-face-open-closed.png
  4. BIN
      android/assets/goatoh-face-open-open.png
  5. +2
    -2
      android/main.hsp
  6. +12
    -2
      android/modules/goatoh.mod.hsp

BIN
android/assets/goatoh-face-closed-closed.png View File

Before After
Width: 192  |  Height: 192  |  Size: 27 KiB

BIN
android/assets/goatoh-face-closed-open.png View File

Before After
Width: 192  |  Height: 192  |  Size: 27 KiB

BIN
android/assets/goatoh-face-open-closed.png View File

Before After
Width: 192  |  Height: 192  |  Size: 27 KiB

BIN
android/assets/goatoh-face-open-open.png View File

Before After
Width: 192  |  Height: 192  |  Size: 27 KiB

+ 2
- 2
android/main.hsp View File

@@ -16,11 +16,11 @@

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



+ 12
- 2
android/modules/goatoh.mod.hsp View File

@@ -1,8 +1,18 @@
#module \
Goatoh posX, posY, walking, eating, openingEyes, frame
Goatoh bufferId, posX, posY, walking, eating, openingEyes, frame

#modinit \
int p_bufferId
int p_bufferId,\
double p_initPosX,\
double p_initPosY
bufferId = p_bufferId
posX = p_initPosX
posY = p_initPosY
walking = False
eating = False
openingEyes = False
frame = 0

Return

#global


Loading…
Cancel
Save