Japanese is output using a custom font.
Also, voiced consonants and semi-voiced consonants(濁点・半濁点) are adjusted to be placed at the top of the characters.
jprint('かわいい いちこ゛た゛いふく さん♥',14) -- Usage is the same as for print(). |
ぁぃぅぇぉ
,ァィゥェォ
does not exist as a character in standard Pico-8.
Therefore, we have rewritten the default emoji as shown in the table below.
'ぁ' > '…' ,'ぃ' > '➡️' ,'ぅ' > '★' ,'ぇ' > '⧗' ,'ぉ' > '⬆️', 'ァ' > 'ˇ' ,'ィ' > '∧' ,'ゥ' > '❎' ,'ェ' > '▤' ,'ォ' > '▥', |
You can view the Character set from the menu.
Text conversion scripts for SpreadSheet custom scripts
This script converts "かな/カナ" text to JPRINT()
specification in a spreadsheet.
Register it in a custom script and execute p8Katamukikana([Cell-ID])
on the cell you want to convert.
function p8Katamukikana(text) { const kanamap = { 'が': 'か゛', 'ぎ': 'き゛','ぐ': 'く゛','げ': 'け゛','ご': 'こ゛', 'ざ': 'さ゛', 'じ': 'し゛','ず': 'す゛','ぜ': 'せ゛','ぞ': 'そ゛', 'だ': 'た゛', 'ぢ': 'ち゛','づ': 'つ゛','で': 'て゛','ど': 'と゛', 'ば': 'は゛', 'び': 'ひ゛','ぶ': 'ふ゛','べ': 'へ゛','ぼ': 'ほ゛', 'ぱ': 'は゜', 'ぴ': 'ひ゜','ぷ': 'ふ゜','ぺ': 'へ゜','ぽ': 'ほ゜', 'ガ': 'カ゛', 'ギ': 'キ゛','グ': 'ク゛','ゲ': 'け゛','ゴ': 'コ゛', 'ザ': 'サ゛', 'ジ': 'シ゛','ズ': 'ス゛','ゼ': 'セ゛','ゾ': 'ソ゛', 'ダ': 'タ゛', 'ヂ': 'チ゛','ヅ': 'ツ゛','デ': 'テ゛','ド': 'ト゛', 'バ': 'ハ゛', 'ビ': 'ヒ゛','ブ': 'フ゛','ベ': 'ヘ゛','ボ': 'ホ゛', 'パ': 'ハ゜', 'ピ': 'ヒ゜','プ': 'フ゜','ペ': 'ヘ゜','ポ': 'ホ゜', 'ぁ': '…', 'ぃ': '➡️','ぅ': '★','ぇ': '⧗','ぉ': '⬆️', 'ァ': 'ˇ', 'ィ': '∧','ゥ': '❎','ェ': '▤','ォ': '▥', 'ゔ': 'う゛', 'ヴ': 'ウ゛','ぅ゙': 'ぅ゛','ゥ゙': 'ゥ゛', 'ー': '-', '-': '-', '~': '~', } var result = '' for (var i = 0; i < text.length; i++) { result += kanamap[text.charAt(i)] || text.charAt(i); } return result; } |
それで、あなたは日本語を話しますか?私はそうじゃないから。
Translation:
"So do you speak japanese? becuase I dont."
私は日本語を話します。
ここでは日本語を英語に翻訳して、話すことが多いです。
I speak Japanese.
Here I often translate Japanese into English and speak it.
[Please log in to post a comment]