What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-27 10:45:04
godot platformer movement
extends KinematicBody2D # The player is a kinematic body, hence extends Kine.. # Adjustable variables of the player # export is used to allow to edit the values outside the script export var speed = 500 # The speed of the character export var gravity = 3... Add solution -
Other 2021-10-04 09:31:04
godot export
# If the exported value assigns a constant or constant expression, # the type will be inferred and used in the editor. export var number = 5 # Export can take a basic data type as an argument, which will be # used in the editor. export(int) var number ... Add solution -
Shell/Bash 2021-08-31 18:14:02
linux bash export vars between shell instances
export_global_var () { filename=/tmp/env test -f $filename || touch $filename { flock 0 #prevents isssues with multi thread process #set -x #enables verbose/debug . /tmp/env [ $# -eq 0 ] || export "$@" echo "$@&q... Add solution