<?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[Question on How to Update the M5Stack Sprite Library]]></title><description><![CDATA[<p dir="auto">Hi all, I have been using the M5Stack library which incorporates the TFT_eSPI library to some degree to allow sprites to be easily used in graphics.  I have noticed that not all commands are available, specifically  "pushToSprite" to allow me to composite multiple sprites past the "pushRotated" command.</p>
<p dir="auto">General Question: Has anyone successfully updated the M5Stack Sprite.h and Sprite.cpp to include more current version of the TFT_eSPI library?</p>
<p dir="auto">I have tried to add these from the TFT_eSPI Sprite.cpp and Sprite.h but am falling a bit short on my knowledge on how to handle the errors I get compiling.  When I copy the needed code over to the M5Stack library I am not able to compile and get errors surrounding other commands which I didn't touch.  For example when I copy over the code for pushToSprite and created i then get errors with the number of arguments it is looking for as well as errors with other calls such as pushImage, which were fine before.</p>
<p dir="auto">These are the libraries I want to use(update some commands in M5Stack).</p>
<p dir="auto"><a href="https://github.com/Bodmer/TFT_eSPI/blob/master/Extensions/Sprite.h" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Bodmer/TFT_eSPI/blob/master/Extensions/Sprite.h</a><br />
<a href="https://github.com/Bodmer/TFT_eSPI/blob/master/Extensions/Sprite.cpp" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Bodmer/TFT_eSPI/blob/master/Extensions/Sprite.cpp</a></p>
<p dir="auto">Rather than post my hack attempt I was hoping someone could offer some guidance on how to update these libraries used in M5Stack and maybe why not all of the library was included in the first place?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://community.m5stack.com/topic/4375/question-on-how-to-update-the-m5stack-sprite-library</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 14:54:31 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4375.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 19 Jun 2022 18:33:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Question on How to Update the M5Stack Sprite Library on Mon, 20 Jun 2022 10:58:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/macsbug" aria-label="Profile: macsbug">@<bdi>macsbug</bdi></a> Thanks for the tip I will give it a shot. The short demo video looks promising as I see a gauge that looks great.  I have similar results with the Sprite library but fall short on compositing sprites past pushRotated.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://community.m5stack.com/post/17768</link><guid isPermaLink="true">https://community.m5stack.com/post/17768</guid><dc:creator><![CDATA[Shift1313]]></dc:creator><pubDate>Mon, 20 Jun 2022 10:58:43 GMT</pubDate></item><item><title><![CDATA[Reply to Question on How to Update the M5Stack Sprite Library on Sun, 19 Jun 2022 23:01:59 GMT]]></title><description><![CDATA[<p dir="auto">Try the LovyanGFX Library.</p>
<p dir="auto">LovyanGFX<br />
<a href="https://github.com/lovyan03/LovyanGFX" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/lovyan03/LovyanGFX</a></p>
<p dir="auto">LovyanGFX/examples/Sprite/<br />
<a href="https://github.com/lovyan03/LovyanGFX/tree/master/examples/Sprite" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/lovyan03/LovyanGFX/tree/master/examples/Sprite</a></p>
<p dir="auto">LovyanGFX is twice as fast as TFT-eSPI.</p>
]]></description><link>https://community.m5stack.com/post/17761</link><guid isPermaLink="true">https://community.m5stack.com/post/17761</guid><dc:creator><![CDATA[macsbug]]></dc:creator><pubDate>Sun, 19 Jun 2022 23:01:59 GMT</pubDate></item></channel></rss>