<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://code.coronalabs.com/taxonomy/term/12/all" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:og="http://ogp.me/ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:sioc="http://rdfs.org/sioc/ns#" xmlns:sioct="http://rdfs.org/sioc/types#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> <channel> <title>Game Logic</title> <link>https://code.coronalabs.com/taxonomy/term/12/all</link> <description></description> <language>en</language> <atom:link href="https://code.coronalabs.com/taxonomy/term/12/all/feed" rel="self" type="application/rss+xml" /> <item> <title>simple_toast</title> <link>https://code.coronalabs.com/code/simpletoast</link> <description><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></description> <pubDate>Thu, 14 Nov 2019 07:18:03 +0000</pubDate> <dc:creator>krdpnsk</dc:creator> <guid isPermaLink="false">207 at https://code.coronalabs.com</guid> </item> <item> <title>Virtual Controller: Multiple Joysticks and Buttons</title> <link>https://code.coronalabs.com/code/virtual-controller-multiple-joysticks-and-buttons</link> <description><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 controller you can use to add multiple joysticks and buttons on screen. Very modifiable.<br /> Very simple to use. There is a sample program that shows using two joysticks and handling their movements with timers and with event handlers that you pass into the controller.<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">Trevor</div></div></div></description> <pubDate>Sat, 01 Apr 2017 01:42:51 +0000</pubDate> <dc:creator>trevornmarshall</dc:creator> <guid isPermaLink="false">205 at https://code.coronalabs.com</guid> </item> <item> <title>Simple AI for Corona SDK</title> <link>https://code.coronalabs.com/code/simple-ai-corona-sdk</link> <description><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>Simple artificial intelligence for Corona SDK</h1> <ul> <li>easy connect to the project</li> <li>light, fast and easy in use</li> <li>flexible</li> <li>extensiable</li> </ul> <h1>Overview</h1></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">enbahtov</div></div></div></description> <pubDate>Sat, 02 Jul 2016 04:23:38 +0000</pubDate> <dc:creator>enbahtov</dc:creator> <guid isPermaLink="false">202 at https://code.coronalabs.com</guid> </item> <item> <title>Point - A 2D Math Library. Simplifies vector math.</title> <link>https://code.coronalabs.com/code/point-2d-math-library-simplifies-vector-math</link> <description><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></description> <pubDate>Wed, 18 May 2016 05:33:43 +0000</pubDate> <dc:creator>tameem50</dc:creator> <guid isPermaLink="false">198 at https://code.coronalabs.com</guid> </item> <item> <title>Logicka</title> <link>https://code.coronalabs.com/code/logicka</link> <description><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 game that give you a first contact with Programming Logical aspects.</p> <p>Made as a requirement to the PGP discipline at the brazilian university IFSP.</p> <p>Almost all the documentation and code comments are in portuguese.</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">Luborges</div></div></div></description> <pubDate>Wed, 10 Feb 2016 17:52:08 +0000</pubDate> <dc:creator>lucas.s.m.b</dc:creator> <guid isPermaLink="false">195 at https://code.coronalabs.com</guid> </item> <item> <title>Virtual Joystick Module with SpriteSheet Example</title> <link>https://code.coronalabs.com/code/virtual-joystick-module-spritesheet-example</link> <description><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></description> <pubDate>Fri, 11 Sep 2015 00:53:32 +0000</pubDate> <dc:creator>williamurucui</dc:creator> <guid isPermaLink="false">187 at https://code.coronalabs.com</guid> </item> <item> <title>Fill a Vertical Progress Indicator</title> <link>https://code.coronalabs.com/code/fill-vertical-progress-indicator</link> <description><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></description> <pubDate>Thu, 16 Apr 2015 11:47:33 +0000</pubDate> <dc:creator>aaroberts</dc:creator> <guid isPermaLink="false">175 at https://code.coronalabs.com</guid> </item> <item> <title>Infinite Timer Loop</title> <link>https://code.coronalabs.com/code/infinite-timer-loop</link> <description><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></description> <pubDate>Fri, 13 Mar 2015 12:30:40 +0000</pubDate> <dc:creator>akshada.sapre</dc:creator> <guid isPermaLink="false">166 at https://code.coronalabs.com</guid> </item> <item> <title>1 Button with two functions</title> <link>https://code.coronalabs.com/code/1-button-two-functions</link> <description><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></description> <pubDate>Tue, 17 Feb 2015 01:33:33 +0000</pubDate> <dc:creator>williamurucui</dc:creator> <guid isPermaLink="false">163 at https://code.coronalabs.com</guid> </item> <item> <title>Simple Accelerometer Data Conversion to Degrees</title> <link>https://code.coronalabs.com/code/simple-accelerometer-data-conversion-degrees</link> <description><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>Here is a handy lua Corona Labs code chunk to convert xyz accelerometer data to degrees.</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">Simon Fearby</div></div></div></description> <pubDate>Mon, 02 Feb 2015 12:53:19 +0000</pubDate> <dc:creator>FearTec</dc:creator> <guid isPermaLink="false">160 at https://code.coronalabs.com</guid> </item> <item> <title>Code from Tutorial: Advanced Random Numbers</title> <link>https://code.coronalabs.com/code/code-tutorial-advanced-random-numbers</link> <description><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 Random Numbers (<a href="http://coronalabs.com/blog/2014/03/11/tutorial-advanced-random-numbers/">http://coronalabs.com/blog/2014/03/11/tutorial-advanced-random-numbers/</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></description> <pubDate>Mon, 02 Feb 2015 00:14:16 +0000</pubDate> <dc:creator>Corona Rob</dc:creator> <guid isPermaLink="false">159 at https://code.coronalabs.com</guid> </item> <item> <title>Turn Based Gameplay Example</title> <link>https://code.coronalabs.com/code/turn-based-gameplay-example</link> <description><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 just started a new project and thought this kind of code may be helpful for people trying to learn.</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">Garrett Savo</div></div></div></description> <pubDate>Fri, 05 Dec 2014 13:35:34 +0000</pubDate> <dc:creator>Garrettsavo</dc:creator> <guid isPermaLink="false">144 at https://code.coronalabs.com</guid> </item> <item> <title>Simulate Space in less than 30 lines of Code</title> <link>https://code.coronalabs.com/code/simulate-space-less-30-lines-code</link> <description><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></description> <pubDate>Sun, 26 Oct 2014 06:13:43 +0000</pubDate> <dc:creator>tkhatieb</dc:creator> <guid isPermaLink="false">139 at https://code.coronalabs.com</guid> </item> <item> <title>Only Ten to hundred lines of code to make a very small paint game for kids In a smart way</title> <link>https://code.coronalabs.com/code/only-ten-hundred-lines-code-make-very-small-paint-game-kids-smart-way</link> <description><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></description> <pubDate>Sun, 26 Oct 2014 05:51:59 +0000</pubDate> <dc:creator>tkhatieb</dc:creator> <guid isPermaLink="false">138 at https://code.coronalabs.com</guid> </item> <item> <title>Simple Joystick</title> <link>https://code.coronalabs.com/code/simple-joystick</link> <description><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 simple Lua/Corona module for an on-screen joystick. Based on code from Rob Miracle (<a href="http://forums.coronalabs.com/topic/32941-virtual-joystick-module-for-games/">http://forums.coronalabs.com/topic/32941-virtual-joystick-module-for-games/</a>), somewhat simplified, removed some nice-ities, but it still works.</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">jbp1</div></div></div></description> <pubDate>Wed, 08 Oct 2014 17:04:49 +0000</pubDate> <dc:creator>jbp1</dc:creator> <guid isPermaLink="false">136 at https://code.coronalabs.com</guid> </item> </channel> </rss>