In response to Garthor
Garthor wrote:
Way to ignore the entire thread where we did, in fact, make it work.

From what I read of the thread -- which is unintelligible for me for some reason -- you were messing around with fcopy_rsc() which isn't a very good alternative.

But I see your point. However, my post still has a purpose -- why not just set the images directly in the .dmf file?

-- Data
In response to Android Data
Because he wants to change them at runtime based on an algorithm.
In response to Android Data
You don't need to use fcopy_rsc really. You can just force BYOND to push all the files into the cache by referencing them at the start of the world.
In response to Obs
fcopy_rsc() is the truly dynamic way of doing it, but I doubt anybody's going to need to use it like this, ever. You'd have to have some way of externally generating new images that you would then want to use, while the game is still running.
I just use image('filename.png') for all my files before I try to use any of them that aren't used by default. Works well for me.
In response to Garthor
Garthor wrote:
fcopy_rsc() is the truly dynamic way of doing it, but I doubt anybody's going to need to use it like this, ever. You'd have to have some way of externally generating new images that you would then want to use, while the game is still running.


Could be quite common actually. If you ever decide to create an external map making image generator program that can create graphical map images of randomly generated maps in png form, you would find a good use for this. It's something I've wanted anyway.
Page: 1 2