Omori embed battle box generator
Here you can generate a character box from Omori to directly embed on your website/page.
It comes with lots of functionalities that you can interface with using Javascript.
DANDELION
SPARKLER
PRESENT
POETRY BOOK
API
setEmotion(emotion)
Let's you change the emotion to one of the existing ones. (any other won't change the background or emotion text)getEmotion()
Get the current emotion.setBackground(url)
Let's you change the background of the box manually.setFace(url)
Let's you change the face sprite manually.setEmotionImage(url)
Let's you change the emotion text image at the top manually.makeSad()
Inflict sadness. (either become sad or go up one stage)makeAngry()
Inflict angriness. (either become angry or go up one stage)makeHappy()
Inflict happiness. (either become happy or go up one stage)inflict(type)
Inflict the specified type of emotion.hurt(time)
Plays the hurt animation for the specified time in ms. (${emotion} is replaced with hurt)setHealth(value)
Changes the character's health.getHealth()
Get the character's health.setMaxHealth(value)
Change the character's max health.getMaxHealth()
Get the character's max health.setJuice(value)
Changes the character's juice.getJuice()
Get the character's juice.setMaxJuice(value)
Change the character's max juice.getMaxJuice()
Get the character's max juice.setHealthText(text)
Change the text of the healthbar manually. (set to null to bring back the default number behavior)setJuiceText(text)
Change the text of the healthbar manually. (set to null to bring back the default number behavior)setEmotionText(text)
Change the text of the emotion box. (set to null to bring back the default image behavior)