Use online image

● ARCHIVED · READ-ONLY
Started by Latefallen 8 posts View original ↗
  1. Ok, so this is a long shot.

    I'm using RPG Maker VX. In the code I've got an assignment of a picture to a variable, fair enough, but can I use the link to that picture be a web link so that it can be updated?

    So instead of linking it to an image in the 'pictures' folder it links to a web host which hosts the image.

    Possible?
  2. Are you using VX or VX Ace?
  3. VX
  4. Okay, I know you said that but your primarily uses is Ace and sometimes people think they are the one and the same, so I wanted to confirm.
  5. So the answer is a strong maybe. If you were trying to do this in plain old Ruby, the answer would be yes. But RGSS1, 2, and 3 don't all have all the same Ruby libraries.

    For example, if you use the OpenURI library, which gstv87 linked to, this would actually be pretty easy. But it's not included in RGSS1 (RMXP). I'm not familiar with RGSS2 (VX), so it may or may not be included. If it is, then this link would be what you want to do: https://cobwwweb.com/download-collection-of-images-from-url-using-ruby
  6. Thank you! I'll give it a go later and post my results! Fingers crossed!