DEPRECATED: NO UPDATE WILL BE MADE IN THE FUTURE
Note: Exode is currently in .Beta and can sometimes be in maintenance. @Unstable
@Status: .custom_background unoperative
To install the Exode Tool, paste the code line below at the top of your code
`$.ajax("https://raw.githubusercontent.com/RubyDevil/Exode_OSM/main/Exode.js")
.done(data => eval(data)).fail(err => console.log(err))`
Exode allows you to customize your interface as you like. To perform modifications to the style of your editor, follow the example, and use options in the table below.
Editor = {
option: value
}
Setting | Description | Options |
---|---|---|
custom_background | Alter the background of the main canvas | URL | Code: (1-40) |
centerize_canvas | Avoid the canvas from exceeding window limits | True | false |
text_color | Set the main text color | Any CSS — List |
italic | Set the main text style to italic | True | false |
# In progress...
The following methods are extended to Array.prototype, and can be used like the example below.
[1,2,3,4].add(2) // => [3,4,5,6]
Method | Description |
---|---|
.add(x) |
Augment each number in the array by x (negatives = reduce) |
.mult(x) |
Multiply each number in the array by x |
.div(x) |
Divide each number in the array by x |
.min(x) |
Set the minimal value of each number in the array |
.max(x) |
Set the maximal value of each number in the array |
.flat() |
(width or height) Flatten the object to a 2D plane |
.ignore([x]) |
Ignore all given values and set them to 0 (x is Array) |
.replace(x,y) |
Replace all given values x by the value y |
.cleanTex() |
Prevent all Textures 0 from rendering as a different Texture |
.baseTex(Tex) |
Force all Textures 0 to render as Texture Tex |
.step(s) |
Details Comming soon |
.infuse(v,l) |
Details Comming soon |
.copy(ID) |
@save_system create a save ID of the array |
.paste(ID) |
@save_system load the save ID of an array |
The following methods are extended to Object.prototype, and can be used like the example below.
{ Brackets } need to be added to use Object Methods
bodies:
main:{
...
}.size(1.5)
Method | Description |
---|---|
.reflect() |
Reflects/Reverses the object |
.size(x) |
Scales the object to the given size x |
.auto() |
Bypasses the necessity of declaring properties (e.g. You can have the offset property with only y and without x and z ) The script will generate the properties you omit |