Events https://code.coronalabs.com/taxonomy/term/9/all en simple_toast https://code.coronalabs.com/code/simpletoast <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Simple example for Toast Notification without any plugins for Corona SDK.</p> <p>For all supported platforms!</p> <p>How to use?</p> <p>• Add toast.lua in your Corona project root directory</p> <p>• Add string 'require "toast"' in main.lua</p> <p>• For display a toast notification, use next code:</p></div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">krdpnsk</div></div></div> Thu, 14 Nov 2019 07:18:03 +0000 krdpnsk 207 at https://code.coronalabs.com Virtual Joystick Module with SpriteSheet Example https://code.coronalabs.com/code/virtual-joystick-module-spritesheet-example <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Hello Guys, Send for all, Virtual Joystick module with player sprite working perfect.</p> <p>Sorry for my english, i am brazilian.</p> <p>Thanks for all.</p> </div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">William Coelho</div></div></div> Fri, 11 Sep 2015 00:53:32 +0000 williamurucui 187 at https://code.coronalabs.com Fill a Vertical Progress Indicator https://code.coronalabs.com/code/fill-vertical-progress-indicator <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>If you want to place a vertical progress indicator in your code here is how to do it!</p> </div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">Arthur A. Roberts</div></div></div> Thu, 16 Apr 2015 11:47:33 +0000 aaroberts 175 at https://code.coronalabs.com Starter Template https://code.coronalabs.com/code/starter-template <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>This is an empty project template for Corona SDK starters, explaining some of the basic concepts and providing an example project organization.</p> <p>Some of the basic concepts included and explained in this template are:</p></div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">Serkan Aksit - bgmadclown</div></div></div> Tue, 24 Mar 2015 23:26:18 +0000 bgmadclown 171 at https://code.coronalabs.com 1 Button with two functions https://code.coronalabs.com/code/1-button-two-functions <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Well, there is a time ago was looking for a function that uses one button with two functions, and saw the people looking for it. I found a possible solution that worked for me. and I will share here.</p> <p>Hello, I am Brazilian and sorry for any errors, my English is bad.<br /> The sample code can be downloaded from the gist attached link.</p></div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">Dantes2023</div></div></div> Tue, 17 Feb 2015 01:33:33 +0000 williamurucui 163 at https://code.coronalabs.com Code from Tutorial: Advanced TableView Tactics https://code.coronalabs.com/code/code-tutorial-advanced-tableview-tactics <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Code from Tutorial: Advanced TableView Tactics (<a href="http://coronalabs.com/blog/2014/03/04/tutorial-advanced-tableview-tactics/">http://coronalabs.com/blog/2014/03/04/tutorial-advanced-tableview-tactics/</a>)</p> </div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">Rob Miracle</div></div></div> Mon, 02 Feb 2015 00:10:02 +0000 Corona Rob 158 at https://code.coronalabs.com Code From: Tutorial: Continuous Actions in Corona https://code.coronalabs.com/code/code-tutorial-continuous-actions-corona <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Code From: Tutorial: Continuous Actions in Corona <a href="http://coronalabs.com/blog/2014/02/04/tutorial-continuous-actions-in-corona/">http://coronalabs.com/blog/2014/02/04/tutorial-continuous-actions-in-cor...</a></p> </div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">Rob Miracle</div></div></div> Sun, 01 Feb 2015 23:29:44 +0000 Corona Rob 155 at https://code.coronalabs.com Simulate Space in less than 30 lines of Code https://code.coronalabs.com/code/simulate-space-less-30-lines-code <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>it will give you a feeling of a spaceship moving in space</p> <p>another function could show planets and nebulae with different speeds</p> <p>you can also tweak it a little bit and create different transition speeds for stars depending on their sizes</p></div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">Tariq</div></div></div> Sun, 26 Oct 2014 06:13:43 +0000 tkhatieb 139 at https://code.coronalabs.com Only Ten to hundred lines of code to make a very small paint game for kids In a smart way https://code.coronalabs.com/code/only-ten-hundred-lines-code-make-very-small-paint-game-kids-smart-way <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>i think the idea is cool</p> <p>just one loop will create small objects (circles or rectangles) to fill the screen<br /> each object will have the same touch event which will fill the object with a randomly selected color</p> <p>add a few lines to have different background color, and different sizes for your objects</p></div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">Tariq</div></div></div> Sun, 26 Oct 2014 05:51:59 +0000 tkhatieb 138 at https://code.coronalabs.com Corona Advanced Logging https://code.coronalabs.com/code/corona-advanced-logging <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Used for error handling and logging events to console and a set of rolling text log files.<br /> - Use it instead of print in your Corona project<br /> - Your messages will be printed in console but also logged in text files<br /> - A set of rolling text files is used so you can retrace the steps that lead to a bug<br /></p></div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">Daniel Strmečki</div></div></div> Sun, 03 Aug 2014 16:48:51 +0000 daniel.strmecki 126 at https://code.coronalabs.com OOP Based Scene Manager https://code.coronalabs.com/code/oop-based-scene-manager <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Composer/Storyboard if you like doing things with classes rather than files.</p> </div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">PaulScottRobson</div></div></div> Sun, 01 Jun 2014 09:32:20 +0000 paulscottrobson 117 at https://code.coronalabs.com Use tags with TImers https://code.coronalabs.com/code/use-tags-timers <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>This small library extends the timer object (performWithDelay, pause, resume, and cancel) to use optional tags.<br /></p></div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">Marble68</div></div></div> Mon, 07 Apr 2014 18:23:33 +0000 Anonymous 98 at https://code.coronalabs.com Finger Paint Library - add finger painting with just one line of code! https://code.coronalabs.com/code/finger-paint-library-add-finger-painting-just-one-line-code <div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Hi Everybody,</p></div></div></div><div class="field field-name-field-nickname field-type-text field-label-inline clearfix"><div class="field-label">Contributor:&nbsp;</div><div class="field-items"><div class="field-item even">Jason Schroeder</div></div></div> Sat, 22 Mar 2014 02:38:48 +0000 Anonymous 93 at https://code.coronalabs.com