hey guys thanks for the quick response, I tried both of those snippets but neither worked for what I am trying to accomplish tho =/
essentially heres what im going for in explicit detail.
I already have moving towards mouse point and a max speed and smooth acceleration/deceleration but what I really am trying to make happen is that my player object will accelerate towards the mouse then upon meeting the mouse will continue to move smoothly beyond that point without changing direction at all.
Im trying to make a game for touch screen mobile devices and it would work by moving towards the mouse (or finger eventually) but I realize that it could create some issues if they player object runs into the point where the finger is then it will glitch bounce around un-accurately. I want the object to continue through the mouse cursor in the same direction that it was moving so that when the player gets to the edge of the room (on a phone especially) it will move past the finger instead of stop onto it. This will help with me using the move_wrap() function on an outside room event without the player having to lift their finger and use the acceleration. it will just make it more noob friendly, but this little issue is having its way with me right now lol
I'm uploading screens and a pre-alpha release of the exe so u can play it and see what i mean. Also comments/suggestions are greatly appreciated, although i hadn't intended on showing it this way but u will see what i mean about the moving glitch
- NOTE: this is in a .zip file and its about 11 MB (SOUNDS AND MUSIC)
Thanks again, and hopefully this will clear up what i mean!
EDIT: Click and hold Anywhere on Screen to accellerate towards that point
Double Click to Dash Accellerate
Click yourself to charge (for a moment) Release to activate
Your activate will interact with various objects like enemies and mines, or player controllable turrets
Programming, Art, and Music By Joshua Wayne. MONOLISK STUDIOS
except a few sprites for suns found in an example (will give credit if used in final game)
GATHERING ALL STAR ORBS in each level will summon a portal which will bring u through each level.
FOR TESTING PURPOSES YOU CAN SKIP EACH LEVEL WITH SPACEBAR. (can't remember if it glitches after last room or now but oh well)
Edited by Monolisk, 26 April 2012 - 12:56 AM.