User:Cabra/Sandbox: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
int main() |
int main() |
||
{ |
{ |
||
int x{0}; |
|||
while (x != 8) |
|||
{ |
|||
std::cout << "Ehh\n"; |
|||
x += 1; |
|||
std::cout << "x = " << x << '\n'; |
|||
} |
|||
return 0; |
|||
} |
} |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
Why is this thing even here? lol<br> |
Why is this thing even here? lol<br> |
||
Not likely to use it outside this sandbox, though. Don't see how. |
Not likely to use it outside this sandbox, though. Don't see how. |
||
<syntaxhighlight lang="gdscript" line="3"> |
|||
const MAX_SPEED = 250 |
|||
func _progress(_delta): |
|||
if Input.in_pressed_input(move_right): |
|||
pass |
|||
else: |
|||
pass |
|||
## I don't know, test |
|||
var speed = MAX_SPEED |
|||
</syntaxhighlight> |
|||
== Trird header == |
== Trird header == |
Revision as of 05:27, 4 October 2021
This 1 2 3 4 6 7.
EEEEEh
This is my sandbox.[1] And it will be actively updated.[1][verification needed]
First header
First one.
Code example
#include <iostream>
int main()
{
int x{0};
while (x != 8)
{
std::cout << "Ehh\n";
x += 1;
std::cout << "x = " << x << '\n';
}
return 0;
}
Why is this thing even here? lol
Not likely to use it outside this sandbox, though. Don't see how.
const MAX_SPEED = 250
func _progress(_delta):
if Input.in_pressed_input(move_right):
pass
else:
pass
## I don't know, test
var speed = MAX_SPEED
Trird header
Third one.
First lesser header
Fourth one.
Fourth header
Fifth one.