I am very JS-illiterate so bear with me.
I'm reading documentation right now and trying to figure out how to call a 'picture' with a script, as opposed to just a bitmap. I have found the ImageManager method that calls something from the pictures folder as a bitmap, but I want to be able to move that picture around using the methods pertaining to specifically pictures, and I'm not sure that I'll be able to do that to the bitmap that ImageManager outputs. (My eventual end goal is to create a title screen where multiple elements move in relation to the position of the mouse; a parallax. I don't want to do an evented title screen map if I don't have to, it seems like a sloppy way to do it.) How exactly do I call a picture through a script and then move the picture around? I'll probably just figure out the math for the parallax effect myself, and how to draw it when the title screen loads and whatnot.
Bonus points if you can tell me how to make the elements animate through a couple frames while still having the pictures move in relation to the mouse without snapping around or otherwise being choppy, but I understand if that's a pipe dream. (Maybe I'll install a gif support plugin.)
I'm reading documentation right now and trying to figure out how to call a 'picture' with a script, as opposed to just a bitmap. I have found the ImageManager method that calls something from the pictures folder as a bitmap, but I want to be able to move that picture around using the methods pertaining to specifically pictures, and I'm not sure that I'll be able to do that to the bitmap that ImageManager outputs. (My eventual end goal is to create a title screen where multiple elements move in relation to the position of the mouse; a parallax. I don't want to do an evented title screen map if I don't have to, it seems like a sloppy way to do it.) How exactly do I call a picture through a script and then move the picture around? I'll probably just figure out the math for the parallax effect myself, and how to draw it when the title screen loads and whatnot.
Bonus points if you can tell me how to make the elements animate through a couple frames while still having the pictures move in relation to the mouse without snapping around or otherwise being choppy, but I understand if that's a pipe dream. (Maybe I'll install a gif support plugin.)