Jump to content

Background images: Difference between revisions

Line 63: Line 63:
[[AndreiXYZ]] claimed /other in June of 2021 and is now technically the owner of all files stored under the namespace. Andrei placed the following list of background image files in [https://ourworldoftext.com/other /other], which has received minimal updates since 2021.  
[[AndreiXYZ]] claimed /other in June of 2021 and is now technically the owner of all files stored under the namespace. Andrei placed the following list of background image files in [https://ourworldoftext.com/other /other], which has received minimal updates since 2021.  


You can render a pre-existing background image on any world using the following script:  
You can render a pre-existing background image on any world using the following script: <blockquote><code>state.background = {</code>  
 
<code>state.background = {</code>  


<code>    path: "<nowiki>https://ourworldoftext.com/other/backgrounds/</nowiki>[image name].png/"</code>
<code>    path: "<nowiki>https://ourworldoftext.com/other/backgrounds/</nowiki>[image name].png/"</code>
Line 79: Line 77:
<code>    w.redraw()</code>
<code>    w.redraw()</code>


<code>});</code>
<code>});</code></blockquote>


=== Worlds ===
=== Worlds ===