• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Forum moderator applications are now open! Click here for details.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Drawing an Image

Status
Not open for further replies.
2
Posts
12
Years
  • Seen Feb 11, 2016
I'm trying to draw an image on the screen when the player uses an item in Poccil's Starter Kit. I created an ItemHandler for the item, but that's pretty much all what I've got so far. I've tried some snippets and tutorial found on the internet and looked trough the RGSS Reference manual but couldn't really figure it out.
 
2
Posts
12
Years
  • Seen Feb 11, 2016
Wow, this is just a little embarrassing. The first hit on google contained a similar snippet:
PHP:
@image = Sprite.new
@imate.bitmap = RPG::Cache.picture("name of picture")
And explicitly told me there should be a @ in front of the variable. But that resulted in an error , so I didn't bother to look any further. But it was so close! I really should look into the syntax :)

Thanks for the help dragonnite!
 
Status
Not open for further replies.
Back
Top