touch https://code.coronalabs.com/taxonomy/term/258/all en Scrollview with draggable item adding https://code.coronalabs.com/code/scrollview-draggable-item-adding <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 library adds a new type of scrollview widget to the widget.* library under the name widget.newDragItemsScrollView(). The scroll view can then have display objects added to it which can be dragged off the scrollview by either touching and holding or pulling them in a given direction.</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">horacebury</div></div></div> Sat, 31 Dec 2016 08:44:31 +0000 horacebury 204 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 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