<?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[Map Visuals]]></title><description><![CDATA[<p>We're excited to announce that MapVisual API is now live!</p>
<p><img src="/forum/assets/uploads/files/1598815943219-2020-08-30_1139.png" alt="0_1598815945391_2020-08-30_1139.png" class="img-responsive img-markdown" /></p>
<p>It allows you to draw simple graphics on the world map similarly to RoomVisual API. You can use it to display helpful infographics, debug info, multi-room paths visualizations, etc. It is available only in the new alpha version of the world map.</p>
<p>Check out the documentation for <a href="https://docs.screeps.com/api/#Game-map-visual" rel="nofollow"><code>Game.map.visual</code></a>.</p>
]]></description><link>http://screeps.com/forum/topic/3064/map-visuals</link><generator>RSS for Node</generator><lastBuildDate>Wed, 22 Jul 2026 07:21:24 GMT</lastBuildDate><atom:link href="http://screeps.com/forum/topic/3064.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 06 Sep 2020 13:57:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Map Visuals on Invalid Date]]></title><description><![CDATA[<p>We're excited to announce that MapVisual API is now live!</p>
<p><img src="/forum/assets/uploads/files/1598815943219-2020-08-30_1139.png" alt="0_1598815945391_2020-08-30_1139.png" class="img-responsive img-markdown" /></p>
<p>It allows you to draw simple graphics on the world map similarly to RoomVisual API. You can use it to display helpful infographics, debug info, multi-room paths visualizations, etc. It is available only in the new alpha version of the world map.</p>
<p>Check out the documentation for <a href="https://docs.screeps.com/api/#Game-map-visual" rel="nofollow"><code>Game.map.visual</code></a>.</p>
]]></description><link>http://screeps.com/forum/post/15573</link><guid isPermaLink="true">http://screeps.com/forum/post/15573</guid><dc:creator><![CDATA[artch]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Map Visuals on Invalid Date]]></title><description><![CDATA[<p>VERY NICE, look forward to trying it <img
      src="http://screeps.com/forum/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=a1k070tfs06"
      class="not-responsive emoji emoji-android emoji--slightly_smiling_face"
      title=":)"
      alt="🙂"
    /></p>
]]></description><link>http://screeps.com/forum/post/15574</link><guid isPermaLink="true">http://screeps.com/forum/post/15574</guid><dc:creator><![CDATA[GT500]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Map Visuals on Invalid Date]]></title><description><![CDATA[<p>I can't seem to figure out drawing unfilled (stroke only) circles.</p>
<p>On room visuals I would do <code>fill: null</code>, but that gives me a black fill on the map.</p>
<p>Anything I am missing?</p>
]]></description><link>http://screeps.com/forum/post/15576</link><guid isPermaLink="true">http://screeps.com/forum/post/15576</guid><dc:creator><![CDATA[NobodysNightmare]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Map Visuals on Invalid Date]]></title><description><![CDATA[<p>Also: holy cow, is this my avatar on those Screenshots? <img
      src="http://screeps.com/forum/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=a1k070tfs06"
      class="not-responsive emoji emoji-android emoji--smile"
      title=":D"
      alt="😄"
    /></p>
]]></description><link>http://screeps.com/forum/post/15577</link><guid isPermaLink="true">http://screeps.com/forum/post/15577</guid><dc:creator><![CDATA[NobodysNightmare]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Map Visuals on Invalid Date]]></title><description><![CDATA[<p>Excellent! This is going to be so useful <img
      src="http://screeps.com/forum/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=a1k070tfs06"
      class="not-responsive emoji emoji-android emoji--smile"
      title=":D"
      alt="😄"
    /></p>
<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/3">@artch</a>, is there any chance whilst you're working on the new map interface that you could make it so ctrl-clicking opens rooms in a new tab?</p>
]]></description><link>http://screeps.com/forum/post/15578</link><guid isPermaLink="true">http://screeps.com/forum/post/15578</guid><dc:creator><![CDATA[SystemParadox]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Map Visuals on Sun, 06 Sep 2020 23:13:24 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/3">@artch</a>, another request - can you make the mouseover popup always display the mineral type please, not just when in minerals mode? It's annoying having to change to mineral display mode just to check the mineral type for one room. How about putting it in the top-right next to where the control level goes?</p>
<p>The new map interface is a big improvement!</p>
]]></description><link>http://screeps.com/forum/post/15580</link><guid isPermaLink="true">http://screeps.com/forum/post/15580</guid><dc:creator><![CDATA[SystemParadox]]></dc:creator><pubDate>Sun, 06 Sep 2020 23:13:24 GMT</pubDate></item><item><title><![CDATA[Reply to Map Visuals on Mon, 07 Sep 2020 14:50:40 GMT]]></title><description><![CDATA[<p>It would be nice if we could pass a persistence option to visuals. Rather than having to draw stuff every tick, an option that says &quot;draw the same thing for the next x ticks&quot; would be great. It'd allow much more complex visuals without overhead.</p>
<p>For example: I could draw a status of every room on the map based on scouting info. It'd be great for me to see what's going on at a glance. I'm probably not going to do it, and certainly not always on, because it's just too much CPU to run every tick. On the other hand, the data does not go stale quickly. Updating it once every 100 ticks would be more than sufficient for me.</p>
<p>I'm not sure how visuals are implemented. The server tells the client something. I don't think it'd be too hard for the client to track persistence - wouldn't add server load and the 100kb limit could still be per-tick (ie. persisting visuals don't count).</p>
]]></description><link>http://screeps.com/forum/post/15582</link><guid isPermaLink="true">http://screeps.com/forum/post/15582</guid><dc:creator><![CDATA[Tigga]]></dc:creator><pubDate>Mon, 07 Sep 2020 14:50:40 GMT</pubDate></item><item><title><![CDATA[Reply to Map Visuals on Invalid Date]]></title><description><![CDATA[<p>Looks like the options for Game.map.visual.rect() make it invisible if you only put in a position and size of width and length.  I have to put in  {stroke: '#ffffff'} in order to see it.</p>
]]></description><link>http://screeps.com/forum/post/15583</link><guid isPermaLink="true">http://screeps.com/forum/post/15583</guid><dc:creator><![CDATA[RaskVann]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Map Visuals on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/138">@tigga</a> said in <a href="/forum/post/15582">Map Visuals</a>:</p>
<blockquote>
<p>It would be nice if we could pass a persistence option to visuals</p>
</blockquote>
<p>For map visuals this makes so much sense. They're often very expensive to generate, and they change infrequently.</p>
<p>This mechanism would be somewhat useful for room visuals, but it seems critical for map visuals.</p>
]]></description><link>http://screeps.com/forum/post/15584</link><guid isPermaLink="true">http://screeps.com/forum/post/15584</guid><dc:creator><![CDATA[SystemParadox]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Map Visuals on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/138">@tigga</a> This would be a nice addition, however it requires major refactor of how visuals data is stored on the backend, both room and map, they reuse the same storage. We recommend you to generate them only when needed and store in memory. Rendering itself (<code>Game.map.visual</code> methods) is not very CPU-consuming part, it simply makes a bunch of <code>JSON.stringify</code>.</p>
]]></description><link>http://screeps.com/forum/post/15585</link><guid isPermaLink="true">http://screeps.com/forum/post/15585</guid><dc:creator><![CDATA[artch]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Map Visuals on Wed, 09 Sep 2020 13:48:22 GMT]]></title><description><![CDATA[<p>Someone on slack pointed out the <code>console.addVisual</code> function, which would help a bit if it was &quot;official&quot; as it would allow doing as you suggest: you'd be able to save the object on heap and just pay serialize cost. Would be even nicer if we could just pass a serialized version ourselves <img
      src="http://screeps.com/forum/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=a1k070tfs06"
      class="not-responsive emoji emoji-android emoji--wink"
      title=";)"
      alt="😉"
    /></p>
<p>Without that you've got to recreate the object every tick. That's going to be expensive using the API calls for extensive visuals.</p>
]]></description><link>http://screeps.com/forum/post/15586</link><guid isPermaLink="true">http://screeps.com/forum/post/15586</guid><dc:creator><![CDATA[Tigga]]></dc:creator><pubDate>Wed, 09 Sep 2020 13:48:22 GMT</pubDate></item><item><title><![CDATA[Reply to Map Visuals on Wed, 09 Sep 2020 14:43:45 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/138">@tigga</a> Maybe one approach could be implementing two new methods <code>Game.map.visual.export()</code> returning a JSON strings block with currently constructed visuals and <code>Game.map.visual.import(string)</code>. Do you think this will solve your issue?</p>
]]></description><link>http://screeps.com/forum/post/15587</link><guid isPermaLink="true">http://screeps.com/forum/post/15587</guid><dc:creator><![CDATA[artch]]></dc:creator><pubDate>Wed, 09 Sep 2020 14:43:45 GMT</pubDate></item><item><title><![CDATA[Reply to Map Visuals on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/3">@artch</a> Yes - that'd be great!</p>
]]></description><link>http://screeps.com/forum/post/15588</link><guid isPermaLink="true">http://screeps.com/forum/post/15588</guid><dc:creator><![CDATA[Tigga]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Map Visuals on Invalid Date]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://screeps.com/forum/uid/138">@tigga</a> It's deployed to the official server.</p>
]]></description><link>http://screeps.com/forum/post/15590</link><guid isPermaLink="true">http://screeps.com/forum/post/15590</guid><dc:creator><![CDATA[o4kapuk]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Map Visuals on Invalid Date]]></title><description><![CDATA[<p>Just wanted to let you guys know that map visuals are absolutely amazing.
My map visuals can provide an instant overview about what is happening in my empire. It is absolutely game changing.</p>
<p>Thank you for implementing it!</p>
]]></description><link>http://screeps.com/forum/post/15670</link><guid isPermaLink="true">http://screeps.com/forum/post/15670</guid><dc:creator><![CDATA[Eiskalt]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Reply to Map Visuals on Invalid Date]]></title><description><![CDATA[<p>Map visuals are great.
However, one has failed to locate a facility for enabling the map visuals permanently in the steam client. The map visuals are disabled again, once one enters the room and returns to the world map by perusing the &quot;World&quot; button.</p>
]]></description><link>http://screeps.com/forum/post/15699</link><guid isPermaLink="true">http://screeps.com/forum/post/15699</guid><dc:creator><![CDATA[AdeptOfNone]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>