Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

styledText code fixed
Started by Prairiewest Jul 26 2018 10:26 PM

1 reply to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

Prairiewest

[GLOBAL: userInfoPane.html]
Prairiewest
  • Observer

  • 20 posts
  • Corona SDK

I can't reply to this older topic:

https://forums.coronalabs.com/topic/70969-stylized-text-lua-only-works-first-time-loaded/

so I had to start a new topic.

 

It took a while for Corona engineering to get back to me, and then a longer time for me to fix my code.  I had to change the approach quite a bit since I was misunderstanding how display.capture() worked and at what time it could work.

 

If you download all the code from GitHub, the sample project now runs in both the Windows and Mac simulators:

https://github.com/prairiewest/corona_text_shadow

 

Todd



[TOPIC: post.html]
#2

Prairiewest

[GLOBAL: userInfoPane.html]
Prairiewest
  • Observer

  • 20 posts
  • Corona SDK

There was another problem when testing on real Android hardware, which is that the OpenGL textures for the captured images was being purged.  So I recently updated the code and now it caches those to a local folder (Android only).




[topic_controls]
[/topic_controls]