i want check event onPress
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
If onRelease = tap , onPress = ??? in corana
set an event handler for touch, and check for the phases, began, moved and ended.
You can get an app that helps you create the code, called Corona Code Generator, the code generated can help you have a look at how to do stuff, have a look here
cheers,
?:)
Hey Jayant, I'm not sure that was what you intended to link to XD
nutty_99, onPress is for use with ui.lua - are you using that?
If not, do;
1 2 3 4 5 6 | local function myFunction () if event.phase == "began" then --Code for response to press here end end obj:addEventListener("touch", myFunction) |
Aaaaah!! wrong link, sorry, that was about a video that I was watching on evolution and developmental algorithms. Sorry for that, I was wanting to link to the article here
cheers,
?:)
thank for http://howto.oz-apps.com/2011/03/automatically-generate-corona-code.html
but i use window no mac i cannot run dmg file
there's a windows version too... here and if you look at the HowTo site, you will find other tutorials and reading / reference stuff that you can use.
cheers,
?:)
very thank @JayantV for tool win version
i have another problem about display text thai language
http://developer.anscamobile.com/forum/2011/09/27/problem-use-thai-language-displaynewtext
send message and call to a person
Forum: Report Spam + PM
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
Too many (200) local variables
Corona SVG Level Builder released. Drag and drop physics level editor with Inkscape and SVG.
Small bug in Collectible Items example
Pivot Joints and apparent elasticity
Can't make removeSelf() delayed
can i program into several files not only main.lua
Touch event on image (using mask) or getColor function
corona movieclip crash
I still don't think I am removing things right.
some unexpected table length issues
Timer Expired Pause
Talking Gina like application for iphone using Lua
How to save image to camera roll?
deauthorize problem