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 -
Kotlin 2022-03-27 07:40:17
var and val in kotlin
val and var both are used to declare a variable. var is like general variable and it's known as a mutable variable in kotlin and can be assigned multiple times. val is like Final variable and it's known as immutable in kotlin and can be initialized only s... Add solution -
SQL 2022-02-03 09:03:35
create a quick temp table with stored procedure sql
/* First you need to create a table type. */ CREATE TYPE Names AS TABLE (Name VARCHAR(10)) ; GO /* Next, Create a procedure to receive data for the table-valued parameter, the table of names and select one item from the table*/ CREATE PROCEDURE Ch... Add solution -
Kotlin 2021-10-06 16:51:02
kotlin var val
// Kotlin difference between val and var // val stands for read-only variable, and cannot be changed. (immutable variable) fun main() { val number = 1 number = 2 // Not possible. } // var stands for variable, and can be changed. (mutable vari... Add solution -
Java 2021-09-07 12:41:03
kotlin difference between val and var
// Kotlin difference between val and var // val stands for read-only variable, and cannot be changed. (immutable variable) fun main() { val number = 1 number = 2 // Not possible. } // var stands for variable, and can be changed. (mutable vari... Add solution