Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

From The Blog: From the Forum – Issue #158
Started by CoronaBot Jun 16 2017 08:28 PM

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

CoronaBot

[GLOBAL: userInfoPane.html]
CoronaBot
  • Contributor

  • 312 posts
  • Corona Staff

Forum iconWelcome to this week’s From the Forum. In this post, we highlight a few Corona Community Forums posts that cover important topics.

Drawing lines

In this forum post, the original poster (OP) wanted to draw finger-paint style but found that the lines were not “connecting” properly. While forum superstar horacebury offered the best answer right away, this discussion got deep into how touch events work and ways of ensuring that your line segments connect.

Making magnets

In another quickly-answered post, the OP came back and shared his code using weld joints and touch joints to emulate a magnet pulling an object towards it. This is a cool technique which you might want to use!

Pathfinding

Sometimes forum posts don’t need any discussion to be worth their weight in gold. We love it when our developers give back to the community and, in this post, forum megastar SGS provides a link to a pure Lua library that implements six different methods of pathfinding, including A*.


Do you have a particular forum thread that was helpful for you? Let us know about it! Email support@coronalabs.com, put FTF: and the forum title in the subject, and include the URL in the email. We will consider adding it to an upcoming edition of From the Forum.


View the full article


[topic_controls]
[/topic_controls]