I have code for spawning an enemy then making the enemy run towards the player until he reaches him. However, I'm now trying to make en enemy that runs towards the player for a short distance, stop, then carry out another action. The only problem is I have no idea how to implement a delayed response in a method without interrupting the flow of the game. Ideally, the enemy would use the same method the chasing enemies do, then after a certain amount of time has passed, call a method that stops him. How can I implement this?
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
热门文章
GameCenter LeaderBoards and Achievements Enabled Through OpenFeint
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
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
相关文章
Is Corona SDK going to support the PARSE API?
Create Folders In Temp Directory
Need my GS App rebuilt in Corona (Paid Gig)
Amazon refuse to mark my app as Kindle Fire compatible
build.settings: IPhone Portrait & Ipad landscape
ipad & iphone tests
problems to build an app
a string operation help needed
will be shaking the tree..
Using Flash on Android 3.1 inside webpopup error
Create Folders In Temp Directory
Need my GS App rebuilt in Corona (Paid Gig)
Amazon refuse to mark my app as Kindle Fire compatible
build.settings: IPhone Portrait & Ipad landscape
ipad & iphone tests
problems to build an app
a string operation help needed
will be shaking the tree..
Using Flash on Android 3.1 inside webpopup error
corona forums © 2003-2011