<?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[Send to clients only within proximity?]]></title><description><![CDATA[<p>I guess it could be done with client messages and a seperate update loop, but if i could, i'd rather do it with the patch. Is there such a feature or any nifty suggestions?<br />
Also, is there a way to add methods to patch interval?</p>
<p>Edit: currently using broadcastPatch for this</p>
]]></description><link>http://discuss.colyseus.io/topic/80/send-to-clients-only-within-proximity</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Mar 2026 16:23:30 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/80.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 13 May 2018 10:09:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Send to clients only within proximity? on Sun, 13 May 2018 17:15:33 GMT]]></title><description><![CDATA[<p>I guess it could be done with client messages and a seperate update loop, but if i could, i'd rather do it with the patch. Is there such a feature or any nifty suggestions?<br />
Also, is there a way to add methods to patch interval?</p>
<p>Edit: currently using broadcastPatch for this</p>
]]></description><link>http://discuss.colyseus.io/post/250</link><guid isPermaLink="true">http://discuss.colyseus.io/post/250</guid><dc:creator><![CDATA[veggis]]></dc:creator><pubDate>Sun, 13 May 2018 17:15:33 GMT</pubDate></item><item><title><![CDATA[Reply to Send to clients only within proximity? on Sun, 13 May 2018 18:17:44 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/65">@veggis</a> currently there's no support for sending different patches to target players. You can do it on your own by sending messages directly to specific clients.</p>
<p>I'm interested in your use-case for changing the state just before patch. Do you mind describing what're you doing on the overriden <code>broadcastPatch</code>method?</p>
<p>Cheers!</p>
]]></description><link>http://discuss.colyseus.io/post/251</link><guid isPermaLink="true">http://discuss.colyseus.io/post/251</guid><dc:creator><![CDATA[endel]]></dc:creator><pubDate>Sun, 13 May 2018 18:17:44 GMT</pubDate></item><item><title><![CDATA[Reply to Send to clients only within proximity? on Sun, 13 May 2018 19:17:16 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="http://discuss.colyseus.io/uid/1">@endel</a> I should've said 'trying to use broadcastPatch'. I didn't want to ovverride it rather add to it, but it ended up being a recursive mess. I instead have a seperate interval for proximity messages.</p>
]]></description><link>http://discuss.colyseus.io/post/252</link><guid isPermaLink="true">http://discuss.colyseus.io/post/252</guid><dc:creator><![CDATA[veggis]]></dc:creator><pubDate>Sun, 13 May 2018 19:17:16 GMT</pubDate></item></channel></rss>