<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.castle.xyz/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tzouls</id>
	<title>Castle Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.castle.xyz/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Tzouls"/>
	<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/Special:Contributions/Tzouls"/>
	<updated>2026-05-13T19:03:39Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://wiki.castle.xyz/wiki/index.php?title=A_random_number_with_a_Gaussian_distribution_expression&amp;diff=383</id>
		<title>A random number with a Gaussian distribution expression</title>
		<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/wiki/index.php?title=A_random_number_with_a_Gaussian_distribution_expression&amp;diff=383"/>
		<updated>2022-05-17T03:03:32Z</updated>

		<summary type="html">&lt;p&gt;Tzouls: /* Mean and Standard Deviation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;random number with a Gaussian distribution&amp;#039;&amp;#039;&amp;#039; is an [[Expression]] for adding randomness near a center value.[[File:Bell curve.png|alt=a normal distribution with mean: 0 and standard deviation: 1|thumb|normal distribution with mean: 0, standard deviation: 1values from 0 to -1 and 0 to 1, have a 34% chance,&lt;br /&gt;
&lt;br /&gt;
values from -1 to -2 and 1 to 2, have a 14% chance, etc.]]&lt;br /&gt;
This expression takes two values, a mean and a standard deviation, and returns a value close to the mean more often than values far away.&lt;br /&gt;
&lt;br /&gt;
You might also know [https://en.m.wikipedia.org/wiki/Normal_distribution gaussian distribution] by other names, such as &amp;#039;&amp;#039;&amp;#039;normal distribution&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;bell curve&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Why it&amp;#039;s useful in games ==&lt;br /&gt;
The gaussian distribution is useful when you want to represent randomness as a &amp;quot;center&amp;quot; value (the average) with some jitter on either side, but bias mostly toward the center. There are lots of cases where something is best expressed as &amp;quot;About N, plus or minus M&amp;quot;. Here are some examples:&lt;br /&gt;
&lt;br /&gt;
* You want to launch an arrow approximately upwards, but the archer is a little bit inaccurate. One way of thinking of this is that the arrow&amp;#039;s angle is about 90 degrees, but might be a few degrees crooked to the left or right. You could represent this as a gaussian expression with a mean of 90 and a standard deviation of 3. Usually the arrow will be accurate, but occasionally it won&amp;#039;t.&lt;br /&gt;
* You have a camp fire which creates smoke, and you want the smoke to mostly appear centered on the fire, but a little bit to either side. You might use gaussian distributions for the relative X and Y position of the smoke: &amp;#039;&amp;#039;&amp;#039;Repeat every 0.5 seconds: Create actor Smoke at relative position: (Gauss(0, 1), Gauss(0, 1))&amp;#039;&amp;#039;&amp;#039;. The &amp;quot;center&amp;quot; is (0, 0), but the smoke will, over time, appear in a range around the center. But it will most often appear close to the center.&lt;br /&gt;
&lt;br /&gt;
Unlike the &amp;#039;&amp;#039;&amp;#039;random number in a range&amp;#039;&amp;#039;&amp;#039; expression, which is always equally likely to choose any number in the entire range, Gaussian will be more likely to stay close to the center. Many naturally occurring physical processes and phenomena tend to follow a gaussian distribution, so some people prefer this expression just because it looks more realistic.&lt;br /&gt;
&lt;br /&gt;
==Mean and Standard Deviation==&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Mean&amp;#039;&amp;#039;&amp;#039; represents the central value of the normal distribution. A gaussian distribution with a mean of 1 will have 1 as the center of the curve.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Standard Deviation&amp;#039;&amp;#039;&amp;#039; represents the interval of values from the mean moving outwards. A gaussian distribution with a standard distribution of 2 will multiply the intervals to 2 (values 0 to -2 and 0 to 2 will have a 34% chance, values -2 to -4 and 2 to 4 will have a 14% chance, etc.). A higher standard deviation (greater than 1) will flatten the bell curve, and the probabilities of the values around the mean will became more similar. A lower standard deviation (lower than 1) will squeeze the bell curve, and the probabilities of the values close to the mean will increase, and the values far from the mean will decrease. A standard deviation of 0 will return only the value of the mean. Standard Deviations cannot be negative.&lt;/div&gt;</summary>
		<author><name>Tzouls</name></author>
	</entry>
	<entry>
		<id>https://wiki.castle.xyz/wiki/index.php?title=A_random_number_with_a_Gaussian_distribution_expression&amp;diff=374</id>
		<title>A random number with a Gaussian distribution expression</title>
		<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/wiki/index.php?title=A_random_number_with_a_Gaussian_distribution_expression&amp;diff=374"/>
		<updated>2022-05-16T09:24:43Z</updated>

		<summary type="html">&lt;p&gt;Tzouls: description&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Bell curve.png|alt=a normal distribution with mean: 0 and standard deviation: 1|thumb|normal distribution with mean: 0, standard deviation: 1values from 0 to -1 and 0 to 1, have a 34% chance,&lt;br /&gt;
&lt;br /&gt;
values from -1 to -2 and 1 to 2, have a 14% chance, etc.]]&lt;br /&gt;
A random number with a gaussian distribution is a weighted random expression similar to the [[Weighted Choose]]. It takes two values, a mean and a standard deviation, and returns a value close to the mean more often than values far away.&lt;br /&gt;
&lt;br /&gt;
A [https://en.m.wikipedia.org/wiki/Normal_distribution gaussian distribution] (also known as &amp;#039;&amp;#039;&amp;#039;normal distribution&amp;#039;&amp;#039;&amp;#039;) is a type of distribution that represents a &amp;#039;&amp;#039;&amp;#039;bell curve&amp;#039;&amp;#039;&amp;#039;. The area below the bell curve defines the probability of its values.&lt;br /&gt;
&lt;br /&gt;
===Mean and Standard Deviation===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Mean&amp;#039;&amp;#039;&amp;#039; represents the central value of the normal distribution. A gaussian distribution with a mean of 1 will have 1 as the center of the curve.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Standard Deviation&amp;#039;&amp;#039;&amp;#039; represents the interval of values from the mean moving outwards. A gaussian distribution with a standard distribution of 2 will multiply the intervals to 2 (values 0 to -2 and 0 to 2 will have a 34% chance, values -2 to -4 and 2 to 4 will have a 14% chance, etc.). A higher standard deviation (greater than 1) will flatten the bell curve, and the probabilities of the values around e mean will became more similar. A lower standard deviation (lower than 1) will squeeze the bell curve, and the probabilities of the values close to the mean will increase, and the values far from the mean will decrease. A standard deviation of 0 will return only the value of the mean. Standard Deviations cannot be negative.&lt;/div&gt;</summary>
		<author><name>Tzouls</name></author>
	</entry>
	<entry>
		<id>https://wiki.castle.xyz/wiki/index.php?title=File:Bell_curve.png&amp;diff=373</id>
		<title>File:Bell curve.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/wiki/index.php?title=File:Bell_curve.png&amp;diff=373"/>
		<updated>2022-05-16T08:52:22Z</updated>

		<summary type="html">&lt;p&gt;Tzouls: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;normal distribution (mean: 0, standard deviation: 1) with percentages&lt;/div&gt;</summary>
		<author><name>Tzouls</name></author>
	</entry>
	<entry>
		<id>https://wiki.castle.xyz/wiki/index.php?title=File:Make_deck_animation.gif&amp;diff=367</id>
		<title>File:Make deck animation.gif</title>
		<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/wiki/index.php?title=File:Make_deck_animation.gif&amp;diff=367"/>
		<updated>2022-05-15T03:15:36Z</updated>

		<summary type="html">&lt;p&gt;Tzouls: Undo revision 366 by 172.31.47.5 (talk)&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;navigating the Castle UI to make a deck&lt;/div&gt;</summary>
		<author><name>Tzouls</name></author>
	</entry>
	<entry>
		<id>https://wiki.castle.xyz/wiki/index.php?title=Bounce&amp;diff=348</id>
		<title>Bounce</title>
		<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/wiki/index.php?title=Bounce&amp;diff=348"/>
		<updated>2022-05-14T11:20:53Z</updated>

		<summary type="html">&lt;p&gt;Tzouls: description&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Bounce&amp;#039;&amp;#039;&amp;#039; is a [[behavior]] that allows dynamic actors to bounce off when colliding with solid actors.&lt;br /&gt;
&lt;br /&gt;
[[Solid]] needs to be enabled for &amp;#039;&amp;#039;&amp;#039;Bounce&amp;#039;&amp;#039;&amp;#039; to work.&lt;br /&gt;
&lt;br /&gt;
=== Properties ===&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Strength&amp;#039;&amp;#039;&amp;#039;: Rate of actor&amp;#039;s bounce (where 1 is 100%).&lt;/div&gt;</summary>
		<author><name>Tzouls</name></author>
	</entry>
	<entry>
		<id>https://wiki.castle.xyz/wiki/index.php?title=Response&amp;diff=344</id>
		<title>Response</title>
		<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/wiki/index.php?title=Response&amp;diff=344"/>
		<updated>2022-05-14T06:12:28Z</updated>

		<summary type="html">&lt;p&gt;Tzouls: /* General */ changed the link for Text box since its not a Text actor&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;Response&amp;#039;&amp;#039;&amp;#039; is the part of a [[Rule]] that describes what to do when the rule is [[Trigger|triggered]]. One rule typically has many responses, which are run in order from top to bottom.&lt;br /&gt;
&lt;br /&gt;
Typically, responses describe actions that change the state of the [[Deck]]. Some common uses for responses include changing the motion of the player, creating or destroying actors, adding to the player&amp;#039;s score, or sending the player to another [[Card]] in the deck.&lt;br /&gt;
&lt;br /&gt;
== List of responses ==&lt;br /&gt;
Castle will only show responses that are available for the [[Behavior|Behaviors]] being used on the given [[Blueprint]]. For example, if the blueprint does not have [[Music]], then the &amp;quot;Play this actor&amp;#039;s song&amp;quot; response will not appear.&lt;br /&gt;
&lt;br /&gt;
Some responses are contextual to the rule. For example, the &amp;quot;Stop repeating&amp;quot; response is only available if already inside a [[Repeat]] response.&lt;br /&gt;
&lt;br /&gt;
=== General ===&lt;br /&gt;
&lt;br /&gt;
* Create a new [[Actor]] from [[Blueprint]]&lt;br /&gt;
* Create a [[Text Box|Text box]]&lt;br /&gt;
* Destroy this actor&lt;br /&gt;
* Hide all text boxes&lt;br /&gt;
* Send player to a different [[Card]]&lt;br /&gt;
* Restart this card&lt;br /&gt;
* Add [[Tag|Tags]] to this actor&lt;br /&gt;
* Remove tags from this actor&lt;br /&gt;
&lt;br /&gt;
=== Order ===&lt;br /&gt;
&lt;br /&gt;
* Move this actor to the front&lt;br /&gt;
* Move this actor to the back&lt;br /&gt;
&lt;br /&gt;
=== [[Behavior]] ===&lt;br /&gt;
&lt;br /&gt;
* Enable a behavior&lt;br /&gt;
* Disable a behavior&lt;br /&gt;
* Modify a property&lt;br /&gt;
&lt;br /&gt;
=== Tell other actors ===&lt;br /&gt;
&lt;br /&gt;
* Tell actors with a [[Tag]] to perform a response&lt;br /&gt;
* Tell closest actor with a tag to perform a response&lt;br /&gt;
*Tell the [[Collision|Colliding]] actor to perform a response&lt;br /&gt;
&lt;br /&gt;
=== Logic ===&lt;br /&gt;
&lt;br /&gt;
* If a [[Condition]] is met, run a response&lt;br /&gt;
* [[Repeat]] N times&lt;br /&gt;
* Repeat every N seconds&lt;br /&gt;
*Stop repeating&lt;br /&gt;
* Wait before a response&lt;br /&gt;
&lt;br /&gt;
=== State ===&lt;br /&gt;
&lt;br /&gt;
* Modify the value of a [[Variable]]&lt;br /&gt;
* Reset a variable to its initial value&lt;br /&gt;
* Reset all variables to their initial values&lt;br /&gt;
* Save a variable to the [[Leaderboard]]&lt;br /&gt;
* Show the leaderboard for a variable&lt;br /&gt;
&lt;br /&gt;
=== [[Motion]] ===&lt;br /&gt;
&lt;br /&gt;
* Face direction of motion&lt;br /&gt;
* Move toward my own angle&lt;br /&gt;
* Move toward another actor&lt;br /&gt;
&lt;br /&gt;
=== Sound ===&lt;br /&gt;
&lt;br /&gt;
* Play a sound&lt;br /&gt;
* Stop all sound&lt;br /&gt;
* Play this actor&amp;#039;s [[Music|song]]&lt;br /&gt;
* Stop this actor&amp;#039;s song&lt;br /&gt;
* Stop a track from this actor&amp;#039;s song&lt;br /&gt;
* Play a pattern from this actor&amp;#039;s song&lt;br /&gt;
* Play one step from a pattern in this actor&amp;#039;s song&lt;br /&gt;
* Mute a track from this actor&amp;#039;s song&lt;br /&gt;
* Unmute a track from this actor&amp;#039;s song&lt;br /&gt;
&lt;br /&gt;
=== [[Clock]] ===&lt;br /&gt;
&lt;br /&gt;
* Set the clock tempo&lt;br /&gt;
&lt;br /&gt;
=== [[Camera]] ===&lt;br /&gt;
&lt;br /&gt;
* Follow this with the camera&lt;br /&gt;
&lt;br /&gt;
=== Meta ===&lt;br /&gt;
&lt;br /&gt;
* Add a note to this rule&lt;/div&gt;</summary>
		<author><name>Tzouls</name></author>
	</entry>
	<entry>
		<id>https://wiki.castle.xyz/wiki/index.php?title=Solid&amp;diff=296</id>
		<title>Solid</title>
		<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/wiki/index.php?title=Solid&amp;diff=296"/>
		<updated>2022-05-13T02:12:57Z</updated>

		<summary type="html">&lt;p&gt;Tzouls: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Solid is one of the available [[Behavior|behaviors]] that can be added on the movement tab. It defines if the actor&amp;#039;s collision can be passed through or not. It will not work if the actor does not have collision since it cannot solidify something that does not exist.&lt;br /&gt;
&lt;br /&gt;
Solid is typically used for the collisions of Dynamic actors. If actors with Fixed Movement and/or No Movement collides with each other, it will not work and they will only move through each other. Only Dynamic actors cannot move through Solid actors. (unless it gets squeezed, then it might flew off)&lt;br /&gt;
&lt;br /&gt;
The solidity of an actor is disabled by default. Adding Solid to disable it to remove the actor&amp;#039;s solidity is unnecessary.&lt;br /&gt;
&lt;br /&gt;
Solid is a [[Behavior]] and can be indirectly modified using the Enable Behavior and Disable Behavior functions from the [[Logic]] tab.&lt;/div&gt;</summary>
		<author><name>Tzouls</name></author>
	</entry>
	<entry>
		<id>https://wiki.castle.xyz/wiki/index.php?title=Solid&amp;diff=295</id>
		<title>Solid</title>
		<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/wiki/index.php?title=Solid&amp;diff=295"/>
		<updated>2022-05-13T02:05:02Z</updated>

		<summary type="html">&lt;p&gt;Tzouls: description&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Solid is one of the available behaviors that can be added on the movement tab. It defines if the actor&amp;#039;s collision can be passed through or not. It will not work if the actor does not have collision since it cannot solidify something that does not exist.&lt;br /&gt;
&lt;br /&gt;
Solid is typically used for the collisions of Dynamic actors. If actors with Fixed Movement and/or No Movement collides with each other, it will not work and they will only move through each other. Only Dynamic actors cannot move through Solid actors. (unless it gets squeezed, then it might flew off)&lt;br /&gt;
&lt;br /&gt;
The solidity of an actor is disabled by default. Adding Solid to disable it to remove the actor&amp;#039;s solidity is unnecessary.&lt;br /&gt;
&lt;br /&gt;
Solid is a behavior and can be indirectly modified using the Enable Behavior and Disable Behavior functions from the Logic tab.&lt;/div&gt;</summary>
		<author><name>Tzouls</name></author>
	</entry>
	<entry>
		<id>https://wiki.castle.xyz/wiki/index.php?title=Repeat&amp;diff=252</id>
		<title>Repeat</title>
		<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/wiki/index.php?title=Repeat&amp;diff=252"/>
		<updated>2022-05-12T15:37:12Z</updated>

		<summary type="html">&lt;p&gt;Tzouls: description&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Repeat function repeats a group of responses in a cyclical manner. Repeat functions can be forced to stop by using the Stop Repeating function. &lt;br /&gt;
&lt;br /&gt;
===Types of Repeat functions:===&lt;br /&gt;
&lt;br /&gt;
* Repeat n times&lt;br /&gt;
* Repeat every n seconds&lt;br /&gt;
&lt;br /&gt;
=== Repeat n times ===&lt;br /&gt;
Repeat n times repeats a group of responses n amount of time/s before stopping. It requires a whole number input. If by any chance a fractional number(a number that has decimals, e.g. 4.2, 6.9) is inputted, it will round it down automatically. Repeat n times does not have a time interval between repeats and will repeat the group of responces n times instantaneously.&lt;br /&gt;
&lt;br /&gt;
Repeat n times is commonly used when a particular group of responses is needed to be repeated in an exact amount of times. &lt;br /&gt;
&lt;br /&gt;
=== Repeat every n seconds ===&lt;br /&gt;
Repeat every n seconds repeats a group of responses forever with n second/s time intervals. It requires any real number as an input. The inputs of this function is clamped from the minimum number 0.0167, to the maximum number 30. This repeat function will only stop with the use of the Stop Repeating function or when the Actor that holds this function is destroyed.&lt;br /&gt;
&lt;br /&gt;
Repeat every n seconds is commonly used if a particular group of responses needs to be repeated forever.&lt;br /&gt;
#&lt;/div&gt;</summary>
		<author><name>Tzouls</name></author>
	</entry>
	<entry>
		<id>https://wiki.castle.xyz/wiki/index.php?title=Camera&amp;diff=251</id>
		<title>Camera</title>
		<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/wiki/index.php?title=Camera&amp;diff=251"/>
		<updated>2022-05-12T14:47:32Z</updated>

		<summary type="html">&lt;p&gt;Tzouls: /* Camera */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Camera, or most generally known as the Camera Viewport, is the part of a card&amp;#039;s workspace that will be displayed on gameplay. It is located at the coordinates (0,0) by default and is represented by the black rounded rectangle. A camera viewport has a size of 10x14 units, which is the same for all devices.&lt;/div&gt;</summary>
		<author><name>Tzouls</name></author>
	</entry>
	<entry>
		<id>https://wiki.castle.xyz/wiki/index.php?title=Camera&amp;diff=250</id>
		<title>Camera</title>
		<link rel="alternate" type="text/html" href="https://wiki.castle.xyz/wiki/index.php?title=Camera&amp;diff=250"/>
		<updated>2022-05-12T14:46:48Z</updated>

		<summary type="html">&lt;p&gt;Tzouls: Created page with &amp;quot;= Camera = The Camera, or most generally known as the Camera Viewport, is the part of a card&amp;#039;s workspace that will be displayed on gameplay. It is located at the coordinates (...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Camera =&lt;br /&gt;
The Camera, or most generally known as the Camera Viewport, is the part of a card&amp;#039;s workspace that will be displayed on gameplay. It is located at the coordinates (0,0) by default and is represented by the black rounded rectangle. A camera viewport has a size of 10x14 units, which is the same for all devices.&lt;/div&gt;</summary>
		<author><name>Tzouls</name></author>
	</entry>
</feed>