User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 26

Thread: Pacman movement example

  1. #1
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Pacman movement example

    Here I have, a pacman movement example. It all started 15 minutes ago when I decided to make a pacman movement example. I also decided to put a billion and a half detectors on the pacman movement example. So here is the pacman movement example. Really.
    Attached files Attached files

  2. #2
    No Products Registered

    Join Date
    Jun 2006
    Posts
    1,630
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pacman movement example

    Excellent stuff. Thanks for sharing!

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Posts
    2,289
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)

    Re: Pacman movement example

    Nice job. Not a bad approach. It looks flexible, too.

    Now, how about ghosts?

  4. #4
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pacman movement example

    I'm working on that now.

    Actually, the only reason I started this was because we didn't have a decent open source pacman engine with ghosts. There are quite a few for the movement, and I got the idea for an active based one from another engine made by someone who just used long lines that pacman could move on. I think they used Tiles' ghost sprites and only put on about 10 pacdots. Can't seem to find it again...

  5. #5
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pacman movement example

    After a day of sorting popcans(and I have a lot of those) I finally started on the AI. Seems to me that the hardest part about ghosts is getting them to leave their safe area. They seem to like that place too much.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperAndroid Export Module

    Join Date
    Jun 2006
    Location
    israel
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pacman movement example

    i think this will help you
    Attached files Attached files

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2007
    Location
    UK
    Posts
    306
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Pacman movement example

    Started this Pacman style engine yesterday - using HWA. Although I've not had time to work on the player movement, I've managed to get the ghost's basic AI working.

    I've left a few notes with ideas on improving the AI.

    Note: this example uses fastloops/instances for the ghost. Also use HWA - otherwise, the ghost movements may not work correctly.

    Attached files Attached files

  8. #8
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pacman movement example

    Looks nice. I might start back again on the ghosts for mine. A few comments though:
    1)The movement is a little buggy, you can get blocked from moving through openings due to the size of the detector.
    2)Unless you are exactly aligned with the passage, you can't get through.
    3)Your comment on the size says 'Caeser' twice(mispelling)

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Oct 2007
    Location
    UK
    Posts
    306
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Pacman movement example

    DarkeSoft,

    Yes, my player movement still needs some work - I think I mentioned that in the engine. I just wanted to provide a decent example of the Ghost AI - thought it might help or give someone an example to work from.

    Caeser - OOPS! :blush: Thanks for spotting that.


  10. #10
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jun 2006
    Location
    Killeen, TEXAS
    Posts
    1,038
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: Pacman movement example

    did you actually know the ghosts all behave differently - have different AI?

    btw its a nice start, but the ghosts dont really seem any smarter than randomly finding you, and the movement is shocking.

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Pacman clone?
    By KLiK-iT in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 30th November 2011, 02:08 AM
  2. Pacman
    By nivram in forum File Archive
    Replies: 5
    Last Post: 2nd May 2009, 11:32 PM
  3. Not another pacman post!!!
    By jhonson in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 5th February 2009, 02:02 PM
  4. Any got Pacman?
    By kaiser37 in forum File Archive
    Replies: 2
    Last Post: 7th November 2007, 08:53 PM

Posting Permissions

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