Jump to content

Background images: Difference between revisions

Tags: Reverted Visual edit
Guest-1052 (talk | contribs)
use syntaxhighlight instead of the sloppy <code> thing
 
(2 intermediate revisions by one other user not shown)
Line 30: Line 30:
* [https://ourworldoftext.com/fp/fpthinkaaa /fp/fpthinkaaa](Single image)
* [https://ourworldoftext.com/fp/fpthinkaaa /fp/fpthinkaaa](Single image)
* [[/fp|/fp/]](Single image)
* [[/fp|/fp/]](Single image)
** Same as [https://ourworldoftext.com/ywot /ywot]
* [https://ourworldoftext.com/emotes /emotes](List of all [[OWOT Discord|Discord]]/[[Chat]] emotes)
* [https://ourworldoftext.com/emotes /emotes](List of all [[OWOT Discord|Discord]]/[[Chat]] emotes)
* [https://ourworldoftext.com/257254524824425 /257254524824425](Single image)
* [https://ourworldoftext.com/257254524824425 /257254524824425](Single image)
Line 45: 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 92: Line 95:
* [https://ourworldoftext.com/other/backgrounds/purple_grid_1_50.png /other/backgrounds/purple_grid_1_50.png](blugars_world)
* [https://ourworldoftext.com/other/backgrounds/purple_grid_1_50.png /other/backgrounds/purple_grid_1_50.png](blugars_world)
* [https://ourworldoftext.com/other/backgrounds/emote_ladder.png /other/backgrounds/emote_ladder.png](/emotes)
* [https://ourworldoftext.com/other/backgrounds/emote_ladder.png /other/backgrounds/emote_ladder.png](/emotes)
* [https://ourworldoftext.com/other/backgrounds/cloudflare.png/ /other/backgrounds/cloudflare.png](/fp and /ywot)
* [https://ourworldoftext.com/other/backgrounds/cloudflare.png/ /other/backgrounds/cloudflare.png](/fp)
* [https://ourworldoftext.com/other/backgrounds/fpthinkaaa.png/ /other/backgrounds/fpthinkaaa.png](/fp/fpthinkaaa)
* [https://ourworldoftext.com/other/backgrounds/fpthinkaaa.png/ /other/backgrounds/fpthinkaaa.png](/fp/fpthinkaaa)
* [https://ourworldoftext.com/other/backgrounds/orangeween.png/ /other/backgrounds/orangeween.png](/fp/hallotest)
* [https://ourworldoftext.com/other/backgrounds/orangeween.png/ /other/backgrounds/orangeween.png](/fp/hallotest)
Line 114: 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 127: 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><code>state.background = {</code>
You can render images on any world by pasting the following script into the console:<blockquote>
 
<syntaxhighlight lang="javascript">state.background = {
<code>    path: "[image URL]"</code>
 
<code>};</code>


<code>loadBackgroundData(function() {</code>
path: "[image URL]"
};


<code>    w.redraw()</code>
loadBackgroundData(function() {


<code>}, function() {</code>
    w.redraw()
}, function() {


<code>    w.redraw()</code>
    w.redraw()


<code>});</code></blockquote>The image will only show up on your end, of course.<gallery widths="200" heights="180">
});
</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].