Monogatari Documentation
Homepage
GitHub
Discord
Twitter
Search…
v2.0.0
Welcome
Getting Started
Upgrading from v1.4.1
F.A.Q.
Diagnosing Errors
Building Blocks
Script & Labels
Characters
Variables & Data Storage
Actions
Components
Script Actions
Choices
Clear
Conditionals
Dialogs
End
Gallery
Hide Canvas
Hide Character
Hide Image
Hide Particles
Hide Video
Input
Functions
Jump
Next
Placeholder
Play Music
Play Sound
Play Voice
Show Canvas
Show Background
Show Character
Show Image
Show Message
Show Notification
Show Particles
Show Scene
Show Video
Stop Music
Stop Sound
Stop Voice
Vibrate
Wait
Components
Credits Screen
Quick Menu
Loading Screen
Main Screen
Choice Container
Save Slot
Text-Box
Configuration Options
Game Configuration
Player Preferences
Split Files
Style & Design
Responsiveness
CSS Classes
HTML Data Attributes
Icons
Image Menus
Releasing Your Game
Chrome App
Desktop App
Mobile
Web
Advanced: Monogatari Development
Core Libraries
Actions
Components
Translations
Events
Releases
v2.0.0.alpha.8
v2.0.0.alpha.7
v2.0.0.alpha.6
v2.0.0.alpha.5
v2.0.0.alpha.4
v2.0.0.alpha.3
Powered By
GitBook
Show Image
Show an image
Description
1
'show image <resource> [with [animations] [classes]]'
Copied!
The
image
allows you to display an image. For character sprites, take a look at the
show character action
.
Action ID
:
Image
Reversible
: Yes
Requires User Interaction
: No
Examples
In case of images, they can be declared to use an identifier or you can also use the file's name. The root directory for images will always be img.
1
'show image flower center with fadeIn'
,
// If flower is declared
2
'show image flower.png center with fadeIn'
// If flower isn't declared
Copied!
Script Actions - Previous
Show Character
Next - Script Actions
Show Message
Last modified
3yr ago
Copy link
Contents
Description
Examples