Rpg Maker World

Development => Graphic Tutorials => Topic started by: GameDev on April 15, 2019, 11:25:43 pm


Title: [MV] Retro Text Font
Post by: GameDev on April 15, 2019, 11:25:43 pm
(https://rpgmaker.000webhostapp.com/resources/MV/fonts/PixelMplus12-Regular.png)

Imagens:
PixelMplus10-Regular.png (https://rpgmaker.000webhostapp.com/resources/MV/fonts/PixelMplus10-Regular.png)
PixelMplus12-Regular.png (https://rpgmaker.000webhostapp.com/resources/MV/fonts/PixelMplus12-Regular.png)

Credits:
itouhiroはてなブログ
(http://itouhiro.hatenablog.com/entry/20130602/font)

Fontes:

Download:
https://github.com/nanoeru/fondot/tree/master/PixelMplus-20130602

Após baixar, vá na pasta do seu projeto, acesse a pasta fonts, copie uma das duas fontes pra dentro dela.
Nessa mesma pasta abra o arquivo gamefont.css:
Code: [Select]
@font-face {
    font-family: GameFont;
    src: url("mplus-1m-regular.ttf");
}

.IIV::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button {
    opacity: 0;
    pointer-events: none;
    width: 5px;
}

Substitua a linha do src por está pelo nome da fonte copiada pra pasta, por exemplo:
Code: [Select]
src: url("PixelMplus12-Regular.ttf");
Ficará assim:
Code: [Select]
@font-face {
    font-family: GameFont;
    src: url("PixelMplus12-Regular.ttf");
}

.IIV::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button {
    opacity: 0;
    pointer-events: none;
    width: 5px;
}