<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[积木——“碰到颜色( )？”]]></title><description><![CDATA[<p dir="auto"> </p>
<h2><a class="anchor-offset" name="先修科目"></a>先修科目</h2>
<ul>
<li><a href="/topic/461/%E7%BB%84%E8%A3%85%E7%A7%AF%E6%9C%A8">组装积木</a></li>
<li><a href="/topic/326/%E7%BB%98%E5%88%B6%E9%80%A0%E5%9E%8B">绘制造型</a></li>
</ul>
<p dir="auto"> </p>
<h2><a class="anchor-offset" name="介绍"></a>介绍</h2>
<p dir="auto">积木“碰到颜色( )？”是<strong>侦测</strong>类别的<strong>布尔积木</strong>。</p>
<p dir="auto"><img src="https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/f6203064-17ee-45e1-a08d-9f7652b66e3a.png" width="550" /><br />
 </p>
<h2><a class="anchor-offset" name="这个积木怎么用"></a>这个积木怎么用？</h2>
<p dir="auto">这个积木告诉我们本角色是否碰到某个颜色，“true”意思是“真”，就是碰到了，“false”意思是“假”，就是没碰到。</p>
<p dir="auto">点击<strong>积木上的调色板</strong>即可设置颜色，<img src="https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/260a96d0-3dd3-4139-8bab-808ecf1429f8.png" width="180" /> 然后左右滑动“色彩”滚动条即可选择颜色。<br />
<img src="https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/3ad4d870-4013-4f81-b36c-225213061104.png" width="200" /></p>
<p dir="auto">示例如下：<br />
<img src="https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/1cd0c9be-1d58-4b1f-8212-cec2b3a25cdd.gif" width="800" style="border-radius:5px;border:1px solid #29622d" /><br />
 </p>
<h2><a class="anchor-offset" name="拾色器"></a>拾色器</h2>
<p dir="auto">你还可以直接用“<strong>拾色器</strong>”工具选择颜色。<img src="https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/720ed779-dca2-46b7-a699-32668ac1ea7e.PNG" alt="color pick.PNG" class=" img-responsive img-markdown" width="53" height="42" /></p>
<p dir="auto">点击“拾色器”工具后，<strong>点击舞台上的任意地方</strong>即可使用这一点上的颜色。</p>
<p dir="auto"><img src="https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/39ebe5e4-ff2c-48c2-920a-969c6ed34da1.gif" width="800" style="border-radius:5px;border:1px solid #29622d" /><br />
 </p>
<h2><a class="anchor-offset" name="示例-赛跑游戏"></a>示例——赛跑游戏</h2>
<p dir="auto">可以用积木“碰到颜色( )？”制作一个赛跑游戏，如下所示。小狗会在路上一直奔跑，碰到红色的终点线就停下来。</p>
<p dir="auto"><img src="https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/a7418c0d-8faa-4e46-9f49-a536892e2941.gif" width="800" style="border-radius:5px;border:1px solid #29622d" /><br />
 </p>
]]></description><link>https://forum.creaticode.com/topic/576/积木-碰到颜色</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 20:24:37 GMT</lastBuildDate><atom:link href="https://forum.creaticode.com/topic/576.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 08 Sep 2022 09:06:31 GMT</pubDate><ttl>60</ttl></channel></rss>