Background images: Difference between revisions
Appearance
Guest-1052 (talk | contribs) use syntaxhighlight instead of the sloppy <code> thing |
|||
| (7 intermediate revisions by one other user not shown) | |||
| Line 33: | Line 33: | ||
* [https://ourworldoftext.com/257254524824425 /257254524824425](Single image) | * [https://ourworldoftext.com/257254524824425 /257254524824425](Single image) | ||
* [[/|The Mainpage]](For [[Holiday Events|select events]]) | * [[/|The Mainpage]](For [[Holiday Events|select events]]) | ||
=== Worlds created by [[InfraRaven]] === | |||
* [https://ourworldoftext.com/toast /toast](''also one of the only worlds with built in sound effects'') | |||
* [https://ourworldoftext.com/oi /oi] | |||
=== User worlds with custom backgrounds === | === User worlds with custom backgrounds === | ||
| Line 39: | Line 44: | ||
* [https://ourworldoftext.com/blugars_world /blugars_world](Requested by Colton on May 9th, 2019) | * [https://ourworldoftext.com/blugars_world /blugars_world](Requested by Colton on May 9th, 2019) | ||
* [https://ourworldoftext.com/pizzatower /pizzatower](Requested by Colton on April 3rd, 2020) | * [https://ourworldoftext.com/pizzatower /pizzatower](Requested by Colton on April 3rd, 2020) | ||
=== Test server === | |||
* [https://test.ourworldoftext.com/test2 test.ourworldoftext.com/test2] | |||
=== Instances of background images on [[/|The Mainpage]] === | === Instances of background images on [[/|The Mainpage]] === | ||
| Line 108: | Line 117: | ||
* [https://ourworldoftext.com/other/backgrounds/me_pointing.png/ /other/backgrounds/me_pointing.png/](Elon Musk image for April Fools 2024) | * [https://ourworldoftext.com/other/backgrounds/me_pointing.png/ /other/backgrounds/me_pointing.png/](Elon Musk image for April Fools 2024) | ||
* [https://ourworldoftext.com/other/backgrounds/eop.png/ /other/backgrounds/eop.png/](Background pattern for the Center Console during Earth Day 2025) | * [https://ourworldoftext.com/other/backgrounds/eop.png/ /other/backgrounds/eop.png/](Background pattern for the Center Console during Earth Day 2025) | ||
=== Test server === | |||
* [https://test.ourworldoftext.com/other/backgrounds/bubbles.png/ test.ourworldoftext.com/other/backgrounds/bubbles.png/](/test2) | |||
=== ??? === | === ??? === | ||
| Line 121: | Line 134: | ||
* [https://ourworldoftext.com/other/backgrounds/Bliss.png /other/backgrounds/Bliss.png](Windows XP background) | * [https://ourworldoftext.com/other/backgrounds/Bliss.png /other/backgrounds/Bliss.png](Windows XP background) | ||
== Background image script by FP == | == Background image script by FP == | ||
You can render images on any world by pasting the following script into the console:<blockquote>< | You can render images on any world by pasting the following script into the console:<blockquote> | ||
<syntaxhighlight lang="javascript">state.background = { | |||
path: "[image URL]" | |||
}; | |||
loadBackgroundData(function() { | |||
w.redraw() | |||
}, function() { | |||
w.redraw() | |||
}); | |||
</syntaxhighlight> | |||
</blockquote>The image will only show up on your end, of course.<gallery widths="200" heights="180"> | |||
File:Background image script eop.png|Using [https://ourworldoftext.com/other/backgrounds/eop.png/ /other/backgrounds/eop.png/]. | File:Background image script eop.png|Using [https://ourworldoftext.com/other/backgrounds/eop.png/ /other/backgrounds/eop.png/]. | ||
File:Background image script bliss.png|Using [https://ourworldoftext.com/other/backgrounds/Bliss.png /other/backgrounds/Bliss.png]. | File:Background image script bliss.png|Using [https://ourworldoftext.com/other/backgrounds/Bliss.png /other/backgrounds/Bliss.png]. | ||
| Line 151: | Line 165: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Features inaccessible to regular users]] | [[Category:Features inaccessible to regular users]] | ||
[[Category:Compilation pages]] | |||