<?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=Pen_Scrolling</id>
	<title>Pen Scrolling - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://digida.mgpu.ru/index.php?action=history&amp;feed=atom&amp;title=Pen_Scrolling"/>
	<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=Pen_Scrolling&amp;action=history"/>
	<updated>2026-06-25T15:13:47Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://digida.mgpu.ru/index.php?title=Pen_Scrolling&amp;diff=1806&amp;oldid=prev</id>
		<title>Patarakin: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=Pen_Scrolling&amp;diff=1806&amp;oldid=prev"/>
		<updated>2022-07-21T08:33:17Z</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-1805:rev-1806 --&gt;
&lt;/table&gt;</summary>
		<author><name>Patarakin</name></author>
	</entry>
	<entry>
		<id>http://digida.mgpu.ru/index.php?title=Pen_Scrolling&amp;diff=1805&amp;oldid=prev</id>
		<title>scratch&gt;TheTrillion: In the setup section I added the MB/CB that were used. I remove 1st and 2nd person. I also made some minor fixes.</title>
		<link rel="alternate" type="text/html" href="http://digida.mgpu.ru/index.php?title=Pen_Scrolling&amp;diff=1805&amp;oldid=prev"/>
		<updated>2021-04-12T04:41:13Z</updated>

		<summary type="html">&lt;p&gt;In the setup section I added the MB/CB that were used. I remove 1st and 2nd person. I also made some minor fixes.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A &amp;#039;&amp;#039;&amp;#039;pen scrolling&amp;#039;&amp;#039;&amp;#039; engine is a scrolling engine that uses the [[Pen Extension]].&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
Create these [[variable]]s:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
(Scroll X)&lt;br /&gt;
(Scroll Y)&lt;br /&gt;
(X Vel)&lt;br /&gt;
(Y Vel)&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Create these [[My Blocks|custom blocks]]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;sb&amp;gt;&lt;br /&gt;
draw stage::custom&lt;br /&gt;
&amp;lt;/sb&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;sb&amp;gt;&lt;br /&gt;
draw player::custom&lt;br /&gt;
&amp;lt;/sb&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;sb&amp;gt;&lt;br /&gt;
controls::custom&lt;br /&gt;
&amp;lt;/sb&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;sb&amp;gt;&lt;br /&gt;
go to x: [] y: [] with scroll::custom&lt;br /&gt;
&amp;lt;/sb&amp;gt;&lt;br /&gt;
== Scripts ==&lt;br /&gt;
To start off, create the main [[script]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
when green flag clicked&lt;br /&gt;
hide&lt;br /&gt;
set [Scroll X v] to [0]&lt;br /&gt;
set [Scroll Y v] to [0]&lt;br /&gt;
set [X Vel v] to [0]&lt;br /&gt;
set [X Vel v] to [0]&lt;br /&gt;
forever&lt;br /&gt;
erase all // Reset the stage&lt;br /&gt;
draw stage :: custom // This will be explained later&lt;br /&gt;
draw player :: custom // This will be explained later&lt;br /&gt;
controls :: custom // This will be explained later&lt;br /&gt;
end&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now, add the control script.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
define controls&lt;br /&gt;
change [X Vel v] by (&amp;lt;key (right arrow v) pressed?&amp;gt; - &amp;lt;key (left arrow v) pressed?&amp;gt;)&lt;br /&gt;
change [Y Vel v] by (&amp;lt;key (up arrow v) pressed?&amp;gt; - &amp;lt;key (down arrow v) pressed?&amp;gt;)&lt;br /&gt;
set [X Vel v] to ((X Vel) * [0.9])&lt;br /&gt;
set [Y Vel v] to ((Y Vel) * [0.9])&lt;br /&gt;
change [Scroll X v] by (X Vel)&lt;br /&gt;
change [Scroll Y v] by (Y Vel)&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the important part, the [[stage]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
define draw stage // Make sure this is &amp;quot;Run Without Screen Refresh&amp;quot;.&lt;br /&gt;
set pen size to (5)&lt;br /&gt;
set pen color to [#32a852]&lt;br /&gt;
go to x: [50] y: [50] with scroll :: custom&lt;br /&gt;
pen down&lt;br /&gt;
go to x: [50] y: [-50] with scroll :: custom&lt;br /&gt;
go to x: [-50] y: [-50] with scroll :: custom&lt;br /&gt;
go to x: [-50] y: [50] with scroll :: custom&lt;br /&gt;
go to x: [50] y: [50] with scroll :: custom&lt;br /&gt;
pen up&lt;br /&gt;
&lt;br /&gt;
define go to x: (x) y: (y) with scroll&lt;br /&gt;
go to x: ((x) - (Scroll X)) y: ((y) - (Scroll Y)&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now to draw the player:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;scratchblocks&amp;gt;&lt;br /&gt;
define draw player // Make sure this is set to &amp;quot;Run Without Screen Refresh&amp;quot;.&lt;br /&gt;
go to x: (0) y: (0)&lt;br /&gt;
set pen size to (40)&lt;br /&gt;
set pen color to [#0400ff]&lt;br /&gt;
pen down&lt;br /&gt;
pen up&lt;br /&gt;
&amp;lt;/scratchblocks&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now the pen scrolling engine is complete.&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripting Tutorials]]&lt;/div&gt;</summary>
		<author><name>scratch&gt;TheTrillion</name></author>
	</entry>
</feed>