Animation https://code.coronalabs.com/taxonomy/term/7/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 Point - A 2D Math Library. Simplifies vector math. https://code.coronalabs.com/code/point-2d-math-library-simplifies-vector-math <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>2d Math Library for Corona SDK / Lua</p> <p>Point is a 2d math library for Corona SDK or just plain ol' lua. It allows us to think of positions within corona as single units (points) vs independent x and y coordinates. You can run methods directly on those points.</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">Tameem Hamoui</div></div></div> Wed, 18 May 2016 05:33:43 +0000 tameem50 198 at https://code.coronalabs.com Display Object Color Transition https://code.coronalabs.com/code/display-object-color-transition <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>transition.to doesn't seem to support color transitions. So I made one myself using enterFrame, which is how I suspect corona's transition library works too.</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">danielr0</div></div></div> Thu, 28 Apr 2016 04:18:51 +0000 danielr0 196 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 Tranzition Library [Frame by frame transition & rotation] https://code.coronalabs.com/code/tranzition-library-frame-frame-transition-rotation <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">Daniele Molinari</div></div></div> Mon, 17 Aug 2015 19:57:55 +0000 danielmiller0695 186 at https://code.coronalabs.com Color Transition Matrix https://code.coronalabs.com/code/color-transition-matrix <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 function returns a matrix of RGB values that allow you to gradually change from one color to another using a single index, like the position of a scrollview/springboard.</p> <p>It takes a two dimensional array of RGB colors, each page width and the total amount of pages.</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">Tanner Gower</div></div></div> Fri, 15 May 2015 03:23:28 +0000 triggdev 181 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 Planet Shader https://code.coronalabs.com/code/planet-shader <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"><h1>Corona planet shader v0.1</h1> <p>Teaser image - <a href="http://i.imgur.com/LiQ5ROE.png">http://i.imgur.com/LiQ5ROE.png</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">Vlad S.</div></div></div> Tue, 24 Mar 2015 02:20:39 +0000 Shchvova 170 at https://code.coronalabs.com Infinite Timer Loop https://code.coronalabs.com/code/infinite-timer-loop <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 animate different objects throughout the game with proper time interval of time, you can use this code. I've used this in my game to animate balloons and other objects in game.<br /> Also this will help to call different functions at different interval of time.</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">akshadaS</div></div></div> Fri, 13 Mar 2015 12:30:40 +0000 akshada.sapre 166 at https://code.coronalabs.com Infinite Transition Loop sample https://code.coronalabs.com/code/infinite-transition-loop-sample <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">Evandro Costa</div></div></div> Fri, 20 Feb 2015 22:51:48 +0000 Evandro Costa 164 at https://code.coronalabs.com Spring Animation Curve Easing https://code.coronalabs.com/code/spring-animation-curve-easing <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>A drop-in replacement easing curve for transition.to animations, based on a damped spring.</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">Kyle Coburn</div></div></div> Sat, 24 Jan 2015 10:21:42 +0000 Kyle Coburn 152 at https://code.coronalabs.com MorphingLabel https://code.coronalabs.com/code/morphinglabel <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>MorphingLabel is a simple module to easily allow you to animate changing a label's text. It works by duplicating the text object and crossfading/scaling between the old and new text for a seamless look.</p> <p><a href="http://ky.is/corona/morph.gif">Example morph gif</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">Kyle Coburn</div></div></div> Sat, 03 Jan 2015 02:03:33 +0000 Kyle Coburn 149 at https://code.coronalabs.com Cool Code but i'm not sure for what! https://code.coronalabs.com/code/cool-code-im-not-sure-what <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 just came to mind, just try it, the outcome looks cool, but not sure for what it can be used for :-)</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> Sat, 06 Dec 2014 23:35:32 +0000 tkhatieb 145 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 Animo export template for Corona graphics 2.0 https://code.coronalabs.com/code/animo-export-template-corona-graphics-20 <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>A template to be used with Animo (Spriteloq) to export Flash assets for Corona with graphics 2.0.</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">Elliot Pace</div></div></div> Wed, 27 Aug 2014 23:15:50 +0000 elliotlp 131 at https://code.coronalabs.com