Browse Source

いろいろ

main
Miteruzo 1 year ago
parent
commit
deb8a21769
27 changed files with 31 additions and 10 deletions
  1. BIN
      assets/nizika.png
  2. BIN
      assets/nizika/001.png
  3. BIN
      assets/nizika/002.png
  4. BIN
      assets/nizika/003.png
  5. BIN
      assets/nizika/004.png
  6. BIN
      assets/nizika/005.png
  7. BIN
      assets/nizika/006.png
  8. BIN
      assets/nizika/007.png
  9. BIN
      assets/nizika/008.png
  10. BIN
      assets/nizika/009.png
  11. BIN
      assets/nizika/010.png
  12. BIN
      assets/nizika/011.png
  13. BIN
      assets/nizika/012.png
  14. BIN
      assets/nizika/013.png
  15. BIN
      assets/nizika/014.png
  16. BIN
      assets/nizika/015.png
  17. BIN
      assets/nizika/016.png
  18. BIN
      assets/nizika/017.png
  19. BIN
      assets/nizika/018.png
  20. BIN
      assets/nizika/019.png
  21. BIN
      assets/nizika/020.png
  22. BIN
      assets/nizika/021.png
  23. BIN
      assets/nizika/022.png
  24. BIN
      assets/nizika/023.png
  25. BIN
      assets/nizika/024.png
  26. +31
    -10
      main.hsp
  27. BIN
      obj

BIN
assets/nizika.png View File

Before After
Width: 600  |  Height: 7200  |  Size: 1.5 MiB

BIN
assets/nizika/001.png View File

Before After
Width: 300  |  Height: 300  |  Size: 55 KiB

BIN
assets/nizika/002.png View File

Before After
Width: 300  |  Height: 300  |  Size: 56 KiB

BIN
assets/nizika/003.png View File

Before After
Width: 300  |  Height: 300  |  Size: 56 KiB

BIN
assets/nizika/004.png View File

Before After
Width: 300  |  Height: 300  |  Size: 56 KiB

BIN
assets/nizika/005.png View File

Before After
Width: 300  |  Height: 300  |  Size: 56 KiB

BIN
assets/nizika/006.png View File

Before After
Width: 300  |  Height: 300  |  Size: 56 KiB

BIN
assets/nizika/007.png View File

Before After
Width: 300  |  Height: 300  |  Size: 57 KiB

BIN
assets/nizika/008.png View File

Before After
Width: 300  |  Height: 300  |  Size: 57 KiB

BIN
assets/nizika/009.png View File

Before After
Width: 300  |  Height: 300  |  Size: 56 KiB

BIN
assets/nizika/010.png View File

Before After
Width: 300  |  Height: 300  |  Size: 56 KiB

BIN
assets/nizika/011.png View File

Before After
Width: 300  |  Height: 300  |  Size: 57 KiB

BIN
assets/nizika/012.png View File

Before After
Width: 300  |  Height: 300  |  Size: 57 KiB

BIN
assets/nizika/013.png View File

Before After
Width: 300  |  Height: 300  |  Size: 57 KiB

BIN
assets/nizika/014.png View File

Before After
Width: 300  |  Height: 300  |  Size: 57 KiB

BIN
assets/nizika/015.png View File

Before After
Width: 300  |  Height: 300  |  Size: 57 KiB

BIN
assets/nizika/016.png View File

Before After
Width: 300  |  Height: 300  |  Size: 57 KiB

BIN
assets/nizika/017.png View File

Before After
Width: 300  |  Height: 300  |  Size: 57 KiB

BIN
assets/nizika/018.png View File

Before After
Width: 300  |  Height: 300  |  Size: 58 KiB

BIN
assets/nizika/019.png View File

Before After
Width: 300  |  Height: 300  |  Size: 57 KiB

BIN
assets/nizika/020.png View File

Before After
Width: 300  |  Height: 300  |  Size: 58 KiB

BIN
assets/nizika/021.png View File

Before After
Width: 300  |  Height: 300  |  Size: 58 KiB

BIN
assets/nizika/022.png View File

Before After
Width: 300  |  Height: 300  |  Size: 57 KiB

BIN
assets/nizika/023.png View File

Before After
Width: 300  |  Height: 300  |  Size: 58 KiB

BIN
assets/nizika/024.png View File

Before After
Width: 300  |  Height: 300  |  Size: 57 KiB

+ 31
- 10
main.hsp View File

@@ -3,24 +3,45 @@
#packopt hide 1
#packopt name "nizika-desktop"

#const NIZIKA_WIDTH 300
#const NIZIKA_HEIGHT 300
#const NIZIKA_BASE 240
#const NIZIKA_LEFT 60
#const NIZIKA_RIGHT 250


; 半透明スクリーン作成
SCREEN_MAIN = BgScr2 (gInfo_dispX, gInfo_dispY, SCREEN_MAIN, 0, 0)
SCREEN_MAIN = BgScr2 (gInfo_dispX, gInfo_dispY, SCREEN_HIDE, 0, 0)
SetWindowLong hWnd, GWL_EXSTYLE, GetWindowLong (hWnd, GWL_EXSTYLE) Or WS_EX_LAYERED
SetLayeredWindowAttributes hWnd, RGBCOLOUR_LIME, False, True

Color COLOUR_LIME
BoxF

Repeat 24
SCREEN_NIZIKA.cnt = Buffer2 ()
PicLoad StrF ("assets/nizika/%03d.png", cnt + 1)
Loop
SCREEN_NIZIKA = Buffer2 ()
PicLoad "assets/nizika.png"

GSel SCREEN_MAIN, 2

frame = 0

nizikaX = Double (-NIZIKA_LEFT)
nizikaY = Double (gInfo_dispY - NIZIKA_BASE)

NIZIKA_WIDTH = gInfo_winX
NIZIKA_HEIGHT = gInfo_winY
direction = 1

GSel SCREEN_MAIN
Pos 0, 0
GCopy SCREEN_NIZIKA, 0, 0, NIZIKA_WIDTH, NIZIKA_HEIGHT
Repeat
Pos nizikaX, nizikaY
GCopy SCREEN_NIZIKA, 0, NIZIKA_HEIGHT * (frame \ 24), NIZIKA_WIDTH, NIZIKA_HEIGHT

nizikaX += direction * 4

If nizikaX >= NIZIKA_WIDTH {
direction = -direction
}

Await 33

frame++
Loop


BIN
obj View File


Loading…
Cancel
Save