Thanks in advance can anyone point me in the right direction or help me out with a code snippet? Im trying to swipe an object in 4 directions Up, Down, Left, Right and if you swipe in any of these directions the object will shoot that direction. I tried looking at sample codes and previous forum post and could not come across anything to help me with this type of game. Once again thanks in advance!
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
Swipe And Fling Object
Perhaps a modification of MultiPuck might be what you want? Have you checked that out yet?
Peach :)
@ peach pellen
Hi peach yea I have used Multi Puck on some other projects not sure if modifying it will give the results im after I basically know how to shoot the object once you swipe with your finger the problem for me is how to create a swipe function and how can it tell if you swiped down, up, left, right. I hope it makes sense and im not confusing people what im trying to accomplish. Incase I lost anyone who read this post To explain it in a simple method would be to have 4 arrows (buttons) Left,Right,Up,Down and when you touch one of those buttons the object shoots on that direction. I can accomplish that but what if you were to eliminate the buttons and instead use your finger to swipe on screen?
Thanks in advance
OK, yeah, MultiPuck would not be right then.
This however looks like it could be very suitable; http://developer.anscamobile.com/code/mark
Peach :)
@ peach pellen
Wow peach thanks so much for that link! It does exactly what im after and with some tweaking Its doing exactly what I needed. You really deserve to be an Ansca Staff as you are by far the person who helps out the most even before you were an Ansca Staff. Thanks again and Happy Holidays!
I'm very happy to have been able to help :)
Thanks so much for that high praise - I really appreciate it and I hope you have a happy holidays as well.
Peach :)
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 sms with iphone
***2/28/11 To The Moon is Landing Developed by a 14 Year Old***
setReferencePoint error with director (SOLVED!)
Amazon Store - Views of a Developer (not me)
OpenFeint Cross Promotion
Director class not changing scene
Preview of the Flash Timeline Exporter
Loading Object properties via text file?
Concurrent audio and video play