I am using Harlowe, and I'm wondering if you can import (or something) an image into your story and make it a background image. I know you can change the background to different colours, but I recently played 'The Uncle From Nintendo', where the background is an image instead of just a colour. I don't know which format they're using, but I would quite like to do this in the game that I'm working on. I have an image address, by the way:
https://pixabay.com/en/palmetto-bay-beach-roatan-1505474/
Thanks
Comments
In your particular case the CSS would look something like: note: Everything between the { and the } is on one line, the forum software is causing it to be split over multiple lines.
Thanks.!
Simply remove the extra line-breaks so that what you pasted shows the background-image property and it's URL on one line.
But is this not what you mean? Do you mean to get the image address all onto one line, because I don't think I can - it's too big.
note: I don't know how to stop this smiley face from coming up. It's actually just a close bracket.
That is basically what I meant, you could put the body { part and the final } on different lines but the rest needs to be on the same line.
In what way did you change the URL?
I am trying to use this as my background image, but instead of it being one image, it's loads of small ones of them. Can I change their size, or is it just the image, or what?
https://lh3.googleusercontent.com/JB76vc5LLEKWEF1Lt6GMgx3zbcHE5isBRXYdUHsQE6bzq1ZAfoy703A5R_iEVS8IQG5h7w=s147
You can control the way the repeating/tiling is done using a CSS background-repeat property, so to stop the repeating totally you could change the CSS in my original example to something like the following: I am guessing that your next question will be "How do I scale the image so that it covers the whole of the background" and my answer will be "You don't, the image is too small and it will become extremely grainy/pixelated if you try. Get a bigger image."
This doesn't work. I've copied exactly what you've written, and pasted my URL in between the double quotes, but it doesn't do anything to the background.
Oh, actually, it works. Sorry and thanks! That helps so much!!!