<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://digida.mgpu.ru/index.php?action=history&amp;feed=atom&amp;title=How_to_Go_Off_the_Screen_Edge</id>
	<title>How to Go Off the Screen Edge - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://digida.mgpu.ru/index.php?action=history&amp;feed=atom&amp;title=How_to_Go_Off_the_Screen_Edge"/>
	<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=How_to_Go_Off_the_Screen_Edge&amp;action=history"/>
	<updated>2026-06-17T04:52:24Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://digida.mgpu.ru/index.php?title=How_to_Go_Off_the_Screen_Edge&amp;diff=1744&amp;oldid=prev</id>
		<title>Patarakin: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=How_to_Go_Off_the_Screen_Edge&amp;diff=1744&amp;oldid=prev"/>
		<updated>2022-07-21T08:33:15Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 11:33, 21 июля 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key digida:diff:1.41:old-1743:rev-1744 --&gt;
&lt;/table&gt;</summary>
		<author><name>Patarakin</name></author>
	</entry>
	<entry>
		<id>http://digida.mgpu.ru/index.php?title=How_to_Go_Off_the_Screen_Edge&amp;diff=1743&amp;oldid=prev</id>
		<title>scratch&gt;CrazyBoy826: CrazyBoy826 moved page How to go off the Screen Edge to How to Go Off the Screen Edge without leaving a redirect: check capitalization online!!!!</title>
		<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=How_to_Go_Off_the_Screen_Edge&amp;diff=1743&amp;oldid=prev"/>
		<updated>2022-03-30T22:57:42Z</updated>

		<summary type="html">&lt;p&gt;CrazyBoy826 moved page &lt;a href=&quot;/index.php?title=How_to_go_off_the_Screen_Edge&amp;amp;action=formedit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;How to go off the Screen Edge (страница не существует)&quot;&gt;How to go off the Screen Edge&lt;/a&gt; to &lt;a href=&quot;/index.php/How_to_Go_Off_the_Screen_Edge&quot; title=&quot;How to Go Off the Screen Edge&quot;&gt;How to Go Off the Screen Edge&lt;/a&gt; without leaving a redirect: check capitalization online!!!!&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In the Scratch Player, [[sprite]]s are prevented from &amp;#039;&amp;#039;&amp;#039;moving off the edge of the screen&amp;#039;&amp;#039;&amp;#039;; if one tries to make a sprite do so by setting its x or y position to a very large positive or negative number, the sprite will be unable to move completely off of the [[Stage]].&lt;br /&gt;
&lt;br /&gt;
However, it &amp;#039;&amp;#039;is&amp;#039;&amp;#039; possible to move a sprite completely off the screen by using a trick involving different costumes. There are multiple ways to pull off this trick, one of which is detailed below.&lt;br /&gt;
&lt;br /&gt;
==Steps==&lt;br /&gt;
First of all, make two new costumes. Leave one of them blank, and fill the other one entirely using the [[Paint Editor#Paint Bucket 2|fill bucket]] (so that its width is 480 pixels and its height is 360 pixels). It can be any solid color. If other costumes are needed, create them; they are not subject to any requirements.&lt;br /&gt;
&lt;br /&gt;
Next, create the following block (enable &amp;quot;run without screen refresh&amp;quot;):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
define go offscreen to x: (x) y: (y)&lt;br /&gt;
set [old costume v] to (costume [number v]) // back up costume&lt;br /&gt;
set [old size v] to (size) // back up size&lt;br /&gt;
switch costume to (blank costume v)&lt;br /&gt;
set size to ((1)/(0))% // or some similarly high number&lt;br /&gt;
switch costume to (completely filled costume v)&lt;br /&gt;
go to x: (x) y: (y)&lt;br /&gt;
set size to (old size)% // restore size&lt;br /&gt;
switch costume to (old costume) // restore costume&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
To use it:&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
when gf clicked&lt;br /&gt;
. . .&lt;br /&gt;
go offscreen to x: (wanted x) y: (wanted y) :: custom&lt;br /&gt;
. . .&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Details===&lt;br /&gt;
&lt;br /&gt;
This can be combined with [[Overriding the Costume Size Limit]] for use in scrollers.&lt;br /&gt;
&lt;br /&gt;
A quick rundown on how the above definition works:&lt;br /&gt;
&lt;br /&gt;
It first backs up the old costume ID and the old size for later.&lt;br /&gt;
&lt;br /&gt;
It then uses [[Overriding the Costume Size Limit|a technique that can set a sprite&amp;#039;s size to an arbitrarily large number.]] Basically, an empty costume&amp;#039;s size can be set to any number between 100 and 54,000, and changing a sprite&amp;#039;s costume does not change its size. This means that, by switching a sprite&amp;#039;s costume to the empty costume, setting the size, and then switching back, a sprite can be set to practically any size that is needed.&lt;br /&gt;
&lt;br /&gt;
Next, it exploits the different x and y position limits of different costumes and the fact that a sprite&amp;#039;s costume changing will not change its x or y position. A larger costume can move farther off of the screen than a smaller costume, simply because it is larger; this fact can be magnified by using the set size block as shown previously.&lt;br /&gt;
&lt;br /&gt;
Then it just restores the costume and size.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Overriding the Costume Size Limit]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Tutorials]]&lt;/div&gt;</summary>
		<author><name>scratch&gt;CrazyBoy826</name></author>
	</entry>
</feed>