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
Webminar 102 Functions and Eventlistners Video is ready
Toast in Corona?
Can you Point me in the right direction with grappling hooks
I need IOS on windows
BallPilot is free until the 18. of june
Step by step corona UI tutorial ?
***2/28/11 To The Moon is Landing Developed by a 14 Year Old***
Cancel Local Notification by passing notification id(of type UserData)
How to stop Events from running?