User:Cabra/Sandbox: Difference between revisions

From TestWiki
Content added Content deleted
mNo edit summary
(Less, because I prefer it in other place.)
Line 45: Line 45:
position += speed * _delta
position += speed * _delta
</syntaxhighlight>
</syntaxhighlight>

== Random text ==
:''This is borrowed from an article I wrote myself at Fandom, specifically Manual de estilo from Wiki Binding of Isaac, a Spanish wiki.<ref name="fandom">[https://bindingofisaac.fandom.com/es/wiki/Wiki_Binding_of_Isaac:Manual_de_estilo Wiki Binding of Isaac:Manual de estilo] ̣― Wiki Binding of Isaac (spanish)</ref> Since I couldn't edit it anymore, and it's rather outdated and with a questionable structure, I decided to rework it later. Yes, it was written in Spanish originally, so it wouldn't follow the same structure since English works differently, but anyway. It will '''not''' be the full page, just the lead section. Source text is released under CC-BY-SA, as per Fandom themselves said.<ref name="fandom />''

This is Wiki Binding of Isaac's [[w:Style guide|Manual of Style]]. While it is not required, this manual should be read for a better understanding of how Wiki Binding of Isaac organizes and how to edit the pages properly. This page could go under changes over the time, so be sure to keep watching for the current tendings, as well as the rules.

This page is mainly for resolving doubts to the simple question "how to make a page?", defining the rules made for titles, images and links, and for writing articles and the format it is needed. All of current and future rules may be discussed in this page's own talk page.

Everything wrote here should be used as it is written,[sic] but it is not needed to do so in some cases, opening for other possibilities and subjective changes. It also make easier to "support with no worries", since here we give priority to the information to be correct or at least useful, over creating a more formal page, which still needed but it is not preferred that the information itself.
:''A wacky approach for a wiki community, at least.''
=== First lesser header ===
Fourth one.
<!-- Do you see? -->

== Fourth header ==
Fifth one.


== References ==
== References ==

Revision as of 15:12, 16 May 2022

This 1 2 3 4 6 7.
EEEEEh

This is my sandbox.[1] And it will be actively updated.[1]

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.

extends Area2D

const MAX_SPEED = 250

func _process(_delta):
	var speed = Vector2.ZERO
	if Input.is_action_pressed("move_right"):
		speed.x += 1
	else:
		speed.x -= 1
	## I don't know, test
	if speed.length() > 0:
		speed = speed.normalized() * MAX_SPEED
	position += speed * _delta

References

  1. 1.0 1.1 Me