Toggle search
Search
Toggle menu
notifications
Toggle personal menu
Editing
Custom level creation/ui.txt
(section)
From Turing Complete
Views
Read
Edit
Edit source
View history
associated-pages
Page
Discussion
More actions
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Image metadata == {{note|type=warn|Images currently need to be compiled into the game files. Simply including them in your level directory is not sufficient and attempting to reference such a file will result in the game crashing on startup.}} {{note|type=info|You can reuse images from existing levels using normal path navigation (eg: <code>../sort/0.png</code> for a slice of pie on a plate). This should not be considered a viable long-term solution as your level becomes dependent both on the other level(s) not changing their images, and also on the game not enforcing directory locality in the future. It can be a good placeholder during development however, and if your level is accepted into the base game you can replace the temporary image references with valid ones at that time.}} <pre> [image id="image_id" file="filename.png" x=78 y=90 hidden=true] </pre> * <code>id</code> An identifier that can be used by the test code to reference the image object. * <code>filename</code> The name of the file to load. * <code>x</code> The horizontal offset of the image from the center of the panel (negative values are left). * <code>y</code> The vertical offset of the image from the top of the panel (negative values are up - above the panel itself). * <code>hidden</code> If true, the image will not be displayed until the test code changes this property to false.
Summary:
Please note that all contributions to Turing Complete are considered to be released under the Creative Commons Attribution-ShareAlike (see
TuringComplete:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)