older thread about showing picture with RGSS : http://www.rmxp.org/forums/index.php?topic=37965.0
@globe.bitmap = RPG::Cache.load_picture(event_id)
this line defines what picture i want to show, right?
What should i do if i want to show my own picture? Should I import it first? Then what should I type there?
I don't understand this 'RPG::Cache.load_picture(event_id)'
care to explain?
Code:
event_id = 0
# Create a sprite object to draw our picture.
@globe = Sprite.new
# Initialize the bitmap.
@globe.bitmap = RPG::Cache.load_picture(event_id)
# Move it to the specified location.
@globe.x, globe.y = $game_variables[event_id], $game_variables[event_id + 50]
@globe.bitmap = RPG::Cache.load_picture(event_id)
this line defines what picture i want to show, right?
What should i do if i want to show my own picture? Should I import it first? Then what should I type there?
I don't understand this 'RPG::Cache.load_picture(event_id)'
care to explain?