Raises a runtime error if condition is false
No description provided
Stateful function, returns whether the given input has changed since the last call.
Concatenate each input (converting to a string if necessary).
If 'condition' is true, returns 'pos'. Otherwise returns 'neg'.
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
Prints a line of text output to the console
Prints a line of text output to the console
No description provided
No description provided
Contains the following overloads:
rand_f() -> number
No description provided
rand_range(number min, number max) -> number
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
Stateful function, returns a boolean status. Every frame the function is called with (true), the result flips. Starts out false.
Stateful function, returns a result which approaches 'target'. Each frame, this result will change at most by 'maximum_change'
Stateful function, returns true the first time it's called, and false thereafter.
Stateful function, cycles though the integers starting at 0 and ending before 'max'
Stateful function, returns each item of 'list' one at a time
Return a random element from the given list, with equal probability per element
Stateful function, returns a random number 0..1 which doesn't change after initialization
No description provided
No description provided
Return a random normalized vector
Return a rectangle with the given center, width, and height.
No description provided
Return whether the two rectangles intersect.
Return the difference that 'val' has changed since the previous frame
No description provided
No description provided
No description provided
No description provided
Contains the following overloads:
less_than_i(int, int) -> bool
No description provided
less_than_f(number, number) -> bool
No description provided
No description provided
Contains the following overloads:
less_than_eq_i(int, int) -> bool
No description provided
less_than_eq_f(number, number) -> bool
No description provided
No description provided
Contains the following overloads:
greater_than_i(int, int) -> bool
No description provided
greater_than_f(number, number) -> bool
No description provided
No description provided
Contains the following overloads:
greater_than_eq_i(int, int) -> bool
No description provided
greater_than_eq_f(number, number) -> bool
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
Write contents to the given filename, overwriting any existing file
For internal debugging. The parser will dump information about all input termsimmediately after this function is parsed
For internal testing. This function will output values that are manually inserted with the c++ function oracle_send
For internal testing. This function will save every inputs to a static list, and the contents of this list can be checked from C++ code.
No description provided
Return whether any of the items in l are true
Return whether a and b are both true
Return whether a or b are both true
No description provided
Absolute value
No description provided
Contains the following overloads:
add_i(int...) -> int
No description provided
add_f(number...) -> number
No description provided
add_v(List, List) -> List
No description provided
add_s(List, any) -> List
No description provided
No description provided
No description provided
Contains the following overloads:
div_f(number, number) -> number
No description provided
div_s(List, any) -> List
No description provided
No description provided
No description provided
Return the number of items in the given list
Return the integer that is closest to n
Return the closest integer that is less than n
Return the closest integer that is greater than n
Returns the average of all inputs.
Returns i to the power of x
Square function
Square root
Natural log function
No description provided
Contains the following overloads:
max_i(int, int) -> int
Maximum of two integers
max_f(number, number) -> number
Maximum of two numbers
No description provided
Contains the following overloads:
min_i(int, int) -> int
Minimum of two integers
min_f(number, number) -> number
Minimum of two numbers
No description provided
Contains the following overloads:
remainder_i(int, int) -> int
No description provided
remainder_f(number, number) -> number
No description provided
No description provided
Contains the following overloads:
mod_i(int, int) -> int
No description provided
mod_f(number, number) -> number
No description provided
No description provided
Contains the following overloads:
mult_i(int, int) -> int
No description provided
mult_f(number, number) -> number
No description provided
mult_v(List, List) -> List
No description provided
mult_s(List, any) -> List
No description provided
No description provided
Contains the following overloads:
neg_i(int) -> int
No description provided
neg_f(number) -> number
No description provided
Return a list of integers from start to max-1
No description provided
Contains the following overloads:
sub_i(int, int) -> int
No description provided
sub_f(number, number) -> number
No description provided
sub_v(List, List) -> List
No description provided
sub_s(List, any) -> List
No description provided
Trigonometric sin() function. Note that angles are specified in a range of 0..1 (instead of 0..2pi)
Trigonometric cos() function. Note that angles are specified in a range of 0..1 (instead of 0..2pi)
Trigonometric tan() function. Note that angles are specified in a range of 0..1 (instead of 0..2pi)
Trigonometric arcsin() function. Note that angles are specified in a range of 0..1 (instead of 0..2pi)
Trigonometric arccos() function. Note that angles are specified in a range of 0..1 (instead of 0..2pi)
Trigonometric arctan() function. Note that angles are specified in a range of 0..1 (instead of 0..2pi)
No description provided
Returns the magnitude, or the distance from [0,0] to this point.
Returns the distance between a and b.
Rotate p around [0,0] by the given angle. Angles are specified in the range 0..1.
Returns v normalized to be along the unit circle.
Returns a vector that is perpendicular to v, rotated clockwise.
No description provided
No description provided
No description provided
No description provided
Return a random point that is inside the boundaries of the window.
No description provided
No description provided
Contains the following overloads:
key_pressed_code(int key) -> bool
No description provided
key_pressed_char(string key) -> bool
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
Contains the following overloads:
mouse_clicked_anywhere () -> bool
No description provided
mouse_clicked_region (Rect region) -> bool
No description provided
No description provided
Contains the following overloads:
mouse_wheel_up_anywhere () -> bool
No description provided
mouse_wheel_up_region (Rect region) -> bool
No description provided
No description provided
Contains the following overloads:
mouse_wheel_down_anywhere () -> bool
No description provided
mouse_wheel_down_region (Rect region) -> bool
No description provided
Return whether the mouse is currently inside the given rect.
Render and draw a string.
No description provided
Fill the screen with the given color.
No description provided
No description provided
No description provided
No description provided
Draw an image.
(experimental) Load a 3d mesh from an .obj file.
(experimental) Draw a 3d mesh to the screen.
Stateful function, alternates between true and false according to the given period.
Stateful function, starts out at 0 and increases linearly. After 'total_time' has passed, it will return 1.0 and stay there.
Stateful function, returns the number of seconds that has passed since this function was first called
Stateful function, returns true once every 'seconds'
No description provided
No description provided
No description provided
No description provided
No description provided
No description provided
Render a list of points as triangles.
Render a list of points as a line strip.
Render a list of points as a line loop.
Render a list of points as a line list.
Render a list of points.
Render a circle.
Render a pie slice.
No description provided
No description provided
Load and enable a GLSL shader.
No description provided
No description provided
No description provided
Tell the IDE to shutdown
Reset state for the current script
Reload the builtin runtime
Returns whether the current script is paused
No description provided
No description provided
No description provided
No description provided
No description provided
Contains the following overloads:
draw_clip_p(Image image, Rect clip, Point destination)
No description provided
draw_clip_resized(Image image, Rect clip, Rect destination)
No description provided
No description provided
Load the given font
No description provided
Render text and return a sprite that can be drawn with draw_rendered_text. This is useful if you want to know the width or height of the rendered text before drawing it.
Draw a sprite created with render_text.
No description provided
Draw a button which displays the value of 'r', allowing the user to tweak that value using mouse input.