Visual scripting
You can create entirely new behaviors and game mechanics using Fancade's visual scripting blocks!
To get started, check out the Basic scripting page. You'll find some actual examples in the in-app Tutorial game. Then there's documentation of every script block.
Here are some frequently asked questions on scripting:
Script
- Script/Angle between two vectors
- Script/Basic scripting
- Script/Blocks
- Script/Can I avoid using IF for X = Y statements?
- Script/Can I avoid using IF for X greater than Y
- Script/Can we change pos smoothly like LERP?
- Script/Collider
- Script/Constraints
- Script/Control flow
- Script/Execution Order
- Script/Getting the geometric position of an object
- Script/How can I add a Virtual Gamepad or UI Buttons to my game?
- Script/How can I attach several script block wires to one input?
- Script/How can I force a screen to be locked either horizontal or vertical?
- Script/How can I put a script into the script block?
- Script/How do I determine the position of a script block?
- Script/How do I get the block that the script is in?
- Script/How do I get the camera's position, rotation, and distance?
- Script/How do I know which object is being tapped?
- Script/How do I make a Wait block?
- Script/How do I make a timer count down from 60 seconds?
- Script/How do I make a variable global?
- Script/How do I make an object go in the direction its facing?
- Script/How do I rotate an object towards another object at a constant speed?
- Script/How do you make the Collision work only for specific objects?
- Script/How many frames per second?
- Script/How to attach a wire to a block?
- Script/How to attach several wires to the same input of a script?
- Script/How to change the background color on play?
- Script/How to check if something is on the floor?
- Script/How to check whether I'm pressing on the left or right side of the screen?
- Script/How to determine if a number is valid, NaN or Inf?
- Script/How to get the speed (scalar) of an object?
- Script/How to loop over a small set of known variables easily?
- Script/How to make a PD Controller?
- Script/How to make a list of list or a 2D list?
- Script/How to make a new collision script
- Script/How to make a timer event?
- Script/How to make music?
- Script/How to make the player win when it reaches a certain height?
- Script/How to properly attach ports on custom script blocks?
- Script/How to provide a default value as input for my scripts?
- Script/How to remove the shadows
- Script/How to rename custom script block plug labels?
- Script/How to round number to the nearest multiple of X?
- Script/How to show the script blocks and wires in play mode, box art?
- Script/How to turn several truth values into one number?
- Script/How to use the shop system?
- Script/I connected my script to the Play Sensor, so why does it still run every frame?
- Script/Introduction to Editor Scripting
- Script/Limitations in Fancade scripting
- Script/Raycast in same direction as object?
- Script/Saved Variables
- Script/Script Limit
- Script/Tap to pick closest object
- Script/What zoom will fit a given number of blocks on screen?
- Script/Why are the wires and plugs in my script invisible?
- Script/Why does my physics object not fall?
- Script/Why does my score always contain .0?
- Script/Why doesn't loop work in my hexagon script?
- Script/Why is created obj not detected by raycast?
- Script/Why my script block is only able to see Index 0 of a list?
- Script/Why won't my sound play?
- Script/Wire Splits