User Tag List

Page 3 of 4 FirstFirst 1 2 3 4 LastLast
Results 21 to 30 of 32

Thread: Point & click games exemple

  1. #21
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export Module
    Fusion 2.5 (Steam)
    schrodinger's Avatar
    Join Date
    Nov 2014
    Posts
    3,155
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    1) I see what you mean - this is due to the movement code (and particularly to the "rotate to destination" function).
    When the character reach a new cell, he seeks for next cell in the path, and you want him to "stop" and rotate to new destination.
    When there is some difference in angle to destination -even few degrees will make it- the character stops to seek new angle to destination, so when he walks in diagonal, and he reachs the middle of a cell (could be some pixels before or after the center, because we are not doing a pixel-per-pixel fastloop movement) he can be some 2-5 degrees off to next middle cell, so he will stop and rotate accordingly.
    In the file below I've included some tolerance (don't stop for angle < 30 degrees), see if it is any better.
    However, the movement code I included in the example was not particularly aimed to precision, it was just a basic code to show the pathfinding working in few events, as the user is meant to code his own movement code basing on his requirements

    2) It works on my side, in the example attached I've lowered frame rate and raised speed to make it reasonably usable on mobile

    3) this also works on my side, check the .apk included below, does it work for you?
    I've built with the same settings you find in the mfa (the ones I found in your example actually )


    https://www.dropbox.com/s/ati744t7u1...dad_1.zip?dl=0

  2. #22
    Clicker Fusion 2.5 Developer

    Join Date
    Dec 2013
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi guys!

    sorry but i'm so busy this days. Mehrdad give me one day and maybe the 8 direction is ok, i found a very good solution if the room is simple

  3. #23
    Clicker Fusion 2.5 Developer

    Join Date
    Dec 2013
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    here we are, the 8 direction, but is super buggy but for me if you wanna collaborate the idea is good
    Attached files Attached files

  4. #24
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MEHRDAD's Avatar
    Join Date
    Jan 2009
    Location
    Iran
    Posts
    465
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Schrodinger

    1) Great!!! . I haven't any statter in walking anymore . Thanks so much .
    2) And how can I get lower speed without change frame rate for bug object? change move_speed doesn't work on Android
    3) Hmmmm. So strange.. I replace my character in your new mfa file and get Android and works perfect now. As I had problem before.

    @ ciaciosacchetti

    Great!!!. Nice job . I only want 'turn before walking' .If you don't mind please add this feature too.
    Another request : Character stop only in 4 direction and don't stop in diagonal situation . Is it possible fix it?

  5. #25
    Clicker Fusion 2.5 Developer

    Join Date
    Dec 2013
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks mehrdad, for the stop in only 4 directon here we are and maybe this night i upload everything, for the turnaround i'am working on. Anyway now the diagonal work so good and everything work much better

  6. #26
    Clicker Fusion 2.5 Developer

    Join Date
    Dec 2013
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the movment still little buggy some time but work at 99% good, the tornaround is absolutly stupid and i hope can fix in a few time.
    as usual, if anyone want to improve this exemple he's welcome
    Attached files Attached files

  7. #27
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MEHRDAD's Avatar
    Join Date
    Jan 2009
    Location
    Iran
    Posts
    465
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great!!! Nice job!!!

    Turn before walking is good . But as I said character stop in 4 direction only . Can you fix it too?

  8. #28
    Clicker Fusion 2.5 Developer

    Join Date
    Dec 2013
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the character stop in 4 direction! no?

  9. #29
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    MEHRDAD's Avatar
    Join Date
    Jan 2009
    Location
    Iran
    Posts
    465
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My mean is character doesn't stop in diagonal direction .It's always in left , right , up ,down .

  10. #30
    Clicker Fusion 2.5 Developer

    Join Date
    Dec 2013
    Posts
    27
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes the character doesn't stop in diagonal!

Page 3 of 4 FirstFirst 1 2 3 4 LastLast

Similar Threads

  1. Inventory - Point and Click Games
    By bad_rick in forum Guides, Tutorials, Examples, Widgets
    Replies: 0
    Last Post: 17th February 2016, 09:44 AM
  2. Need help for point and click movement?
    By dibibidibibe in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 2nd June 2012, 03:35 PM
  3. Is possible a point&click game???
    By xiero in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th September 2010, 07:39 PM
  4. Point and Click Example
    By nivram in forum File Archive
    Replies: 5
    Last Post: 19th April 2009, 04:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •