All public logs
Combined display of all available logs of Fancade Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Set Position (Created page with "Sets the position and rotation of a given object. /uploads/Set Position.png Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Set Mass (Created page with "Change the weight of a physics object. /uploads/Set Mass.png If not set using Set Mass, the object's mass defaults to the object's volume, specifically the volume of it's collider. Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Set Locked (Created page with "Restricts a physical object's movement. 0 means completely locked and 1 means free-to-move. E.g. passing `1,0,1` to the Position input will lock an object in the X/Z plane, and passing `0,0,1` to the Rotation input will only allow it to rotate around the Z axis. /uploads/Set Locked.png It is a force multiplier, so any values can be used. Using numbers such as `0.5,0.5,0.5` will make the object react to physics 50% less than normal. Negati...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Set Light (Created page with "Changes the direction that light falls onto your blocks. (Ignore the Position input, it's not currently used for anything.) /uploads/Set Light.png == Tip of the day, by Potato Chan == If your game is in a top-down view that doesn't need shadows, there are 2 ways to remove them: 1. Set the light angle to the same as the camera angle. (There is some weird shadow bleed.) 2. Set Camera with a very high Y if your game is top-down; otherwise, move it opposite...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Set Gravity (Created page with "Sets the direction in which any physics objects falls. (Gravity defaults to 0,-9.8,0 if not set.) /uploads/Set Gravity.png Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Set Friction (Created page with "Changes the friction of a physics object. /uploads/Set Friction.png The default friction of an object is 0.5 Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Set Camera (Created page with "Sets the position, rotation (angle) and range of the camera. Works in two modes: orthographic (isometric) and perspective. /uploads/Set Camera.png === Inputs === * Position: The coordinate of the camera's *focus* (defaults to the center of the world) * Rotation: The camera angle (defaults to a [true isometric](https://en.wikipedia.org/wiki/Isometric_video_game_graphics) view of 35.264,45,0) * Range: This value depends on the mode of the...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Set Bounciness (Created page with "Changes how much momentum a physics object looses when bouncing. Use 0 for a complete stop and 1 for a perfect bounce. * Note that a bounciness higher than 1 will increase the velocity of the physics object each bounce. You must also set bounciness to the object you want it to bounce from. /uploads/Set Bounciness.png Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Script Block (Created page with "A block that is only visible on editor (unless only scripting blocks are in the level), it cannot be set as an object and doesn't have a Collider. File:script_block.jpg Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Screen To World (Created page with "Given a screen coordinate, outputs the start and end points of a line going through that point (2 and 400 units away from the camera, respectively). That might sound weird, but usually you'll just wire those points into a Raycast to find the object the user tapped! /uploads/Screen To World.png = Notes = Due to a technical issue, still to be fixed, the output lags by one frame. I.e. if you Set Camera on frame N, then this block's...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Screen Size (Created page with "Outputs the width(x) and height(y) of the screen in pixels. /uploads/Screen Size.png Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Scale (Created page with "File:Scale1.png Multiplies each vector component by the input number. File:Screenshot_2022-02-16-17-08-27-04_6c69499164362a0dbe2f1dfe7c62199a.jpg Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Round (Created page with "File:Round1.png Rounds a number to the closest integer. File:Screenshot_2022-02-16-16-56-54-96_6c69499164362a0dbe2f1dfe7c62199a.jpg Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Rotation (Created page with "Similar to Vector, but for rotations instead of a position. The values represent an angle from 0 to 360, though you can use any value and it will loop around, so 361 will be the same as just using a 1. File:Rotation1.png It can be used to set the rotation of a block, angle of the camera, to rotate a vector, among other things. Rotations are applied in Y,X,Z order, this means that a block with a rotation of (45, 10, 25), will first be rotated on Y by 10°, then...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Rotate (Created page with "Rotates vector by a rotation. File:Rotate.png == Example == You can move a block to the direction that it's facing. Since the arrow is facing up by default, the velocity of the arrow should be upwards (0, 0, 0.1). To get the velocity of the block if it's not facing up, we can rotate the velocity (0, 0, 0.1) by the block's rotation. To move the block, we just add the block's position and the velocity and set that to the block's new position. File:Screenshot_202...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Raycast (Created page with "File:Raycast1.png Traces a line between two points and outputs True if the line hits anything, the position of intersection, and the object it hit. (Think of it as a laser, you stand in the starting position and shoot a laser to the end position.) Inputs: * From: the start of the line. * To: the end of the line. Outputs: * Hit?: Returns whether the line hits an object. * Hit Pos: The point where the object is detected, or [0, 0, 0] if it...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Random (Created page with "A number randomizer. File:Random1.png Inputs: * Min: The minimum amount the block chooses from. * Max: The maximum amount the block chooses from. Outputs: * Random: The randomly selected number. == Notes == * The Min input is included while the Max input is *excluded*, meaning: if the min and max inputs are 0 and 5 respectively, it may generate a number within 0 to 5, possibly 0, but never 5. * The random block will generate a new value every time it is exe...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Random Seed (Created page with "Sets the seed used by the Random script. /uploads/Random Seed.png Normally, values that the Random script ouputs will be diffrent each time. By changing the Random Seed, each following executed Random script will output the same values every time. File:Random-Seed-seed-no-seed.jpg Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Power (Created page with "File:Power1.png Raises a number to the power of an exponent. File:Screenshot_2022-02-15-09-58-25-13_6c69499164362a0dbe2f1dfe7c62199a.jpg == Note == If you want to find the root of a number, you must invert the exponent. File:Screenshot_2022-02-15-10-11-42-24_6c69499164362a0dbe2f1dfe7c62199a.jpg Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Play Sound (Created page with "File:Play_Sound.png Plays a sound effect with optional volume and pitch inputs and outputs the channel the sound is played on. Use the settings to change which sound effect is played. Inputs: * Volume: ranges from 0 to 1 (inclusive). * Pitch: ranges from 0 to 4 (inclusive). Output: * Channel: When all channels are occupied or sounds are turned off in fancade settings, it outputs -1. Otherwise, it outputs a non-negative integer where the sound is occupied from 0...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Play Sensor (Created page with "Executes the scripts connected to it only on the first tick. Useful for initialization. Output: * On Play: Triggers if the current tick is the first tick. /uploads/Play Sensor.png == Notes == * The Play Sensor is often described as "only executing once", but it actually can execute multiple times, if its "before" wire is connected to another block and it is triggered multiple times during the first tick. * Likewise, if its "before" wire is connected t...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Pass Through (Created page with "A block that doesn't have a Collider. File:PassThrough.jpg Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page OR (Created page with "File:OR1.png If at least one of the inputs is `True`, then it outputs `True`. Otherwise, it outputs `False`. File:Screenshot_2022-02-14-07-25-33-16_6c69499164362a0dbe2f1dfe7c62199a.jpg Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Number (Created page with "File:Number1.png Outputs a given value. To change the value to output, select the block, then tap the button right below the open inventory (+) button, in the bottom right corner. File:changenumvalue.png This will open up the keypad, which you can use to change the value that the number script block will output. == Notes == The number is the most common data type. Numbers are represented by blue wires. Numbers are stored as 32-bit floats. To be precise, th...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Normalize (Created page with "File:Normalize1.png Outputs a vector with the same direction as the input vector, but a length of 1. (Also known as a *unit vector*.) Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Negate (Created page with "File:Negate1.png Negates the input number. A positive number turns negative and vice versa. File:Screenshot_2022-02-16-18-23-43-80_6c69499164362a0dbe2f1dfe7c62199a.jpg Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page NOT (Created page with "File:NOT1.png Outputs the opposite of its input. File:Screenshot_2022-02-14-07-39-48-31_6c69499164362a0dbe2f1dfe7c62199a.jpg Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Multiply (Created page with "File:Multiply1.png Outputs the product of the two input numbers. File:Screenshot_2022-02-16-17-03-44-85_6c69499164362a0dbe2f1dfe7c62199a.jpg Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Modulo (Created page with "Outputs the remainder of a division calculation. File:Modulo1.png Inputs: * A: The value to be divided. * B: Value to divide A by. Output: * Mod: The remainder of the division calculation A/B. == Notes == * If the calculation doesn't have a remainder, the Modulo will be **0**. == Examples == Division: 5 / 2 = 2.5 10 / 5 = 2 Modulo: 5 % 2 = 1 10 % 5 = 0 Uses: * Do every X frames: * With the accompany of the Current...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Min (Created page with "File:Min1.png Outputs the smaller input. File:Screenshot_2022-02-14-07-52-01-65_6c69499164362a0dbe2f1dfe7c62199a.jpg Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Menu Item (Created page with "The Menu Item block is a script block which was added on Fancade 1.6. When it is executed at least once it activates the shop system adding a shop to the game which is *only accessible when you win or lose the game.* The main use of this script is to add items to a shop which should only be done **once** per item. To learn how to use it, see here. File:Menu_Item.png == Notes == Though this new script made a great new mechanic for Fa...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Max (Created page with "File:Max1.png Outputs the bigger number. File:Screenshot_2022-02-14-07-52-38-47_6c69499164362a0dbe2f1dfe7c62199a.jpg/ Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Make Vector (Created page with "/uploads/Make Vector.png Converts three numbers into a vector. File:Screenshot_2022-02-16-17-45-34-84_6c69499164362a0dbe2f1dfe7c62199a.jpg Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Make Rotation (Created page with "/uploads/Make Rotation.png Converts three numbers into a rotation. File:Screenshot_2022-02-16-17-44-41-81_6c69499164362a0dbe2f1dfe7c62199a.jpg Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Lose (Created page with "Causes the player to lose (or die in-game). File:Lose1.png == Settings == File:loseinstan.png When pressed a new menu will open up: File:instantbutton.png This will add a delay to the lose animation, if you press the arrows you can increase the delay by 1 frame up to a maximum of 120 frames or 2 seconds. == Related == Win Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Loop (Created page with "File:Loop1.png The Loop block is used to run a script multiple times in the same frame. Often used for processing every element in a list. Inputs * Start: The Loop block starts looping from the Start input. * Stop: Then it stops looping once it reaches the Stop input. Outputs * Do: Plug this to the script that you want to run for every loop. * Counter: Outputs the current loop number counting from the Start value. If the Start value is greater tha...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Look Rotation (Created page with "/uploads/Look Rotation.png Create a rotation pointing in a given direction, e.g. rotating a character to look that way. Inputs: * Direction: The direction you want to look in * Up: Which way is up for the looking character (defaults to [0, 1, 0] if unwired) Outputs: * Rotation: A rotation "looking" in the direction. == Notes == * When converting one direction (vector) into a rotation, there is actually an infinite number of solution...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Logarithm (Created page with "Outputs the logarithm of a number by a given base. File:Logarithm1.png Inputs * Number: The target number * Base: The base to raise (defaults to [*e*](https://en.wikipedia.org/wiki/E_(mathematical_constant)) if unwired) Outputs * Logarithm: The Exponent in the (Base ^ Exponent = Number) == Notes == Logarithm is used as an inverse function for the function Power. This function is most commonly used for board game AIs. If you manage to learn how to make an AI,...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page List Element (Created page with "Gets a value stored in a list, with index starting from 0 (max 1,048,575). The output can also wired to Set Reference to store a value in a list. It's what you call an "Array" in other programming language. /uploads/List Element.png Input: * Variable: The variable for the list. It only accepts the output of a Get Variable or another List Element, any output from a different block and the script won't plug. * Index: Every value in a list is assigned...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Linear Spring (Created page with "Makes the constraint springy, like a car's suspension. /uploads/Linear Spring.png Inputs: * Constraint: This script must use the output of an add constraint script. This can be done directly (connect the two by a wire), or the linear spring script can be connected to a constraint variable or list. * Stiffness: A vector value. Determines the amount of force that that will be used to "spring" the objects towards their original posit...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Linear Motor (Created page with "Makes the constraint move. Use Force `0,0,0` to disable the motor again. /uploads/Linear Motor.png Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Linear Limits (Created page with "Changes a constraint's linear limits. Set the lower limit higher than the upper limit for completely un-limited movement. /uploads/Linear Limits.png Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Line vs Plane (Created page with "Finds the point at which a line intersects a plane. /uploads/Line vs Plane.png Inputs: * Line From: Line's starting position * Line To: Line's end position * Plane Point: A position in the plane (defaults to 0,0,0 if unwired) * Plane Normal: A vector perpendicular to the plane (i.e. the direction the plane is pointing at, or the angle of the plane) Outputs: * Intersection: The point where the line intersects the plane (or nan if there...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Less Than (Created page with "/uploads/Less Than.png Outputs `True` if the first input number is smaller than the second input number File:Screenshot_2022-02-18-18-19-23-55_6c69499164362a0dbe2f1dfe7c62199a.jpg Category:Blocks ")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Late Update (Created page with "Late Update executes scripts _after_ the physics simulation. /uploads/Late Update1.png Outputs: * After Physics: The scripts you want to run after physics. == Notes == * Each frame Fancade does the following: 1. Run scripts 2. Simulate physics 3. Run Late Update scripts == Examples == A. Position an object exactly "glued to" a physics object File:Screenshot_20210127-091113_6c69499164362a0dbe2f1dfe7c62199a.jpg B. Init...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page LERP (Created page with "Linear Interpolation (LERP) returns a value between two others at a point of linear scale. Rotation = From + (To - From) × Amount File:LERP1.png Input: * From: The value to transition from. * To: The value to transition to. * Amount: How far to transition. Output: * Rotation: The value between the From and To input, at a linear scale (defined by Amount input). == Example == The most common use case is to smoothly transition from one rotation to another. Fil...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Joystick and Button (Created page with "with these you can use a joystick and buttons to controls things in your games. File:Joystick_And_Button.jpg You can use several combinations, as shown in the image bellow. File:JOYBUTONEX.png But there's a limit to keep in mind, imagine a joystick is worth 2 points, and buttons are 1 point, then the limit is that you can only use up to 4 points. So you can only have: * 2 joysticks * 1 joystick and 2 buttons * 1 to 4 buttons = Joystick = Adds joystick(s) in...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Inverse (Created page with "Outputs the inverse of the input rotation. File:Inverse1.png Input: * Rot: rotation value Output: * Rot Inverse: the inverse of the rotation == Details == The inverse of a rotation is the rotation that, when combined with the original rotation, equals the identity rotation (0, 0, 0). In math, the inverse of a value with respect to some operation is the value that "undoes" the operation. For example, the additive inverse of `5` is `-5`, since `5...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Inspect (Created page with "Displays the value given to the input, allowing you to see the value in a variable. [[File:]] == Importance == This block is essential for debugging your games, as it allows you to know what value your variables have at all times. So you can see if a position is correct, or if a loop it's reaching the desired number. If you connect its only input to a variable or value block, the data will be printed on its top. [[File:]] == Types of inspect == There are 5 differen...")
- 19:08, 16 May 2024 Nikitaivanov talk contribs created page Increase Number (Created page with "/uploads/Increase Number1.png Increases the input variable by 1. File:Screenshot_2022-02-17-07-59-55-95_6c69499164362a0dbe2f1dfe7c62199a.jpg Category:Blocks ")