<?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[Manual trigger update for schema]]></title><description><![CDATA[<p>Hello! first of all, the classic: &quot;Sorry for my english&quot;, now, the question:</p>
<p>I am trying to avoid as much as possible data updates from the server. In my game, I'd like to mark a field &quot;position&quot; of game entities in a manual way, some like &quot;entity.pos.sendUpdate()&quot;. Because I don't need every position all the time, because th client can calculate by itself, but I need them to be present. Also, a nice feature also would be you can set a &quot;patchRate&quot; for a specifics schemas: Some examples I can think of</p>
<p>@type(&quot;number&quot;, patchRate= 500)<br />
&quot;updates this number every 500ms, or when you call sendUpdate() manually in the next inmediate main path upddte, and when the client first synchronization&quot;</p>
<p>@type(&quot;number&quot;, pathRate: 0)<br />
&quot;only update manually and in the first state sync&quot;</p>
<p>Sorry if there are sintax error, take that as a pseudocode, since Im currentry in the smartphone.</p>
<p>There might be a way to do that with the current version of colyseus, but I wasn't able to find it.</p>
<p>My best try was, to set 2 position attributes, one marked as &quot;type&quot; and not the other, so I can schedule manually the synchronization, but it becomes a mess quickly.</p>
<p>Some examples for games that don't need every update from the position of the player I can think of: Old School Runescape / Rucoy online (the server sends the calculated path but not every change of the player position) (well, I am almost sure)</p>
<p>Thanks in advance!</p>
]]></description><link>http://discuss.colyseus.io/topic/900/manual-trigger-update-for-schema</link><generator>RSS for Node</generator><lastBuildDate>Sun, 14 Jun 2026 01:35:01 GMT</lastBuildDate><atom:link href="http://discuss.colyseus.io/topic/900.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 29 Jan 2023 15:32:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Manual trigger update for schema on Invalid Date]]></title><description><![CDATA[<p>Hello! first of all, the classic: &quot;Sorry for my english&quot;, now, the question:</p>
<p>I am trying to avoid as much as possible data updates from the server. In my game, I'd like to mark a field &quot;position&quot; of game entities in a manual way, some like &quot;entity.pos.sendUpdate()&quot;. Because I don't need every position all the time, because th client can calculate by itself, but I need them to be present. Also, a nice feature also would be you can set a &quot;patchRate&quot; for a specifics schemas: Some examples I can think of</p>
<p>@type(&quot;number&quot;, patchRate= 500)<br />
&quot;updates this number every 500ms, or when you call sendUpdate() manually in the next inmediate main path upddte, and when the client first synchronization&quot;</p>
<p>@type(&quot;number&quot;, pathRate: 0)<br />
&quot;only update manually and in the first state sync&quot;</p>
<p>Sorry if there are sintax error, take that as a pseudocode, since Im currentry in the smartphone.</p>
<p>There might be a way to do that with the current version of colyseus, but I wasn't able to find it.</p>
<p>My best try was, to set 2 position attributes, one marked as &quot;type&quot; and not the other, so I can schedule manually the synchronization, but it becomes a mess quickly.</p>
<p>Some examples for games that don't need every update from the position of the player I can think of: Old School Runescape / Rucoy online (the server sends the calculated path but not every change of the player position) (well, I am almost sure)</p>
<p>Thanks in advance!</p>
]]></description><link>http://discuss.colyseus.io/post/2324</link><guid isPermaLink="true">http://discuss.colyseus.io/post/2324</guid><dc:creator><![CDATA[bhenzo]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>