Browse Source

Added a font

main
Miteruzo 1 year ago
parent
commit
73724f7629
5 changed files with 55 additions and 1 deletions
  1. +2
    -1
      .gitignore
  2. BIN
      assets/font.png
  3. +33
    -0
      assistants/font-maker.hsp
  4. +5
    -0
      modules/char.mod.hsp
  5. +15
    -0
      modules/keyboard.mod.hsp

+ 2
- 1
.gitignore View File

@@ -8,4 +8,5 @@
/modules/hscl.ini
/hsp3dish.js
/config.hsp

/icon.png
/assistants/font.bmp

BIN
assets/font.png View File

Before After
Width: 160  |  Height: 630  |  Size: 31 KiB

+ 33
- 0
assistants/font-maker.hsp View File

@@ -0,0 +1,33 @@
#include "hsp3utf.as"


Font "07にくまるフォント", 32
Print "あ"
Screen 0, gInfo_mesX * 5, gInfo_mesY * 18

Color 0, 0, 0
BoxF

Font "07にくまるフォント", 32
Color 255, 255, 255
Print {"あいうえお
かきくけこ
さしすせそ
たちつてと
なにぬねの
はひふへほ
まみむめも
や(ゆ)よ
らりるれろ
わゐーゑを
ん!?・…
がぎぐげご
ざじずぜぞ
だぢづでど
ばびぶべぼ
ぱぴぷぺぽ
ぁぃぅぇぉ
ゃ,ゅ.ょ"}

BMPSave "font.bmp"


+ 5
- 0
modules/char.mod.hsp View File

@@ -0,0 +1,5 @@
#module \
Char

#global


+ 15
- 0
modules/keyboard.mod.hsp View File

@@ -0,0 +1,15 @@
#module \
Keyboard

#defcfunc local \
New
insNum++

Return insNum - 1

#deffunc local \
Set \


#global


Loading…
Cancel
Save