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 2022-03-27 10:35:11
cred generic field view select
add_filter( 'wpv_filter_wpv_view_shortcode_output', 'prefix_clean_view_output', 5, 2 ); function prefix_clean_view_output( $out, $id ) { $view_ids = array(6979,'add-your-view-id-here'); if ( in... Add solution -
Javascript 2022-03-27 08:50:21
3. What are private member variables. in js
function ConstructorCar(initValue) { this.publicMember = initValue; let _privateMember = initValue; //private member this.getPrivateMember = function() { return _privateMember; } this.setPrivateMember = function(v) { _privateMember = v; }}Construc... Add solution -
Other 2022-03-27 07:55:12
code for led blink in arduino
void setup() { LED_BUILTIN = 3; //or 13 // initialize digital pin LED_BUILTIN as an output. pinMode(LED_BUILTIN, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(LED_BUILTIN, HIGH); // turn the LED o... Add solution -
Other 2022-03-27 07:35:09
looping to create table and rows
<script> (function() { var rows = ''; for( var i = 0; i <= 10; i++ ) { rows += '<tr id = "row' + i + '"><td>...</td></tr>'; } document.getElementById( 'table' ).innerHTML = rows; }());... Add solution