User Tag List

Results 1 to 8 of 8

Thread: *URGENT* Need help with a Pacman-type game

  1. #1
    No Products Registered

    Join Date
    Jun 2016
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation *URGENT* Need help with a Pacman-type game

    *PROBLEMS SOLVED* Thanks, guys!

    So I've been building a video game based off of Pacman to use in the marketing for my local robotics team (part of the BEST program) and I've gotten most of the mechanics down, except for how to use the corner 'super' power-pellets and eat the ghosts. The ghosts are just path-type actives that destroy Pacman if he collides with them.

    Any ideas on how I can make the 'super' power-pellets work? I'd appreciate fast responses as I just found out I only have two days to finish this thing.
    Thanks!

  2. #2
    Clicker Fusion 2.5Android Export Module

    Join Date
    Sep 2010
    Posts
    539
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Wouldn't a simple flag be able to do this? Colliding with ghosts and flag 1 is off...pacman dies...colliding with ghost and flag 1 is on...ghost dies. Touching the super pellets turns on the flag of course. You could also make a timer that every 1 second + flag 1 is on ---> add 1 to a counter. When counter reaches 10 or how long the effect should be working...you turn off the flag and set the counter back to 0 :-)

  3. #3
    No Products Registered

    Join Date
    Jun 2016
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you so much!! That was REALLY helpful, it works awesome now! Although there's only one problem left in the game that I haven't really been able to find an answer to: Once the ghosts are destroyed, how can I respawn them at their original starting point?

    Again, thanks a lot.

  4. #4
    Clicker 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
    Sep 2016
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    One way this could be done is:

    Add an alterable string named "Status" for the ghost active starting with something like "Alive". Then add a condition to the ghost events that states to also only "kill" them when the string is equal to "Alive". When super pacman touches the ghost, change the animation to one with little eyeballs (like the original pacman i believe) and change the alterable string to "Dead" and also reverse the path of the ghost back to it's spawn location. Once it reaches the spawn location and it's path has ended, switch the string back to "Alive" and change the animation sequence (or frame) back to the one that looks like the ghost and also flip the eatable flag for that ghost back to where the ghost hurts pacman..

    Something to note:
    The "Status" string allows you to change a few things that make it like the real pacman by locking the ghosts up in "jail" for a small time when they die. That can be done by creating a jail path and a return path. The jail path is where they just circle an inaccessible place by pacman and setting the "Status" to "Jail" for a time period in milliseconds: RRandom(1000,4000). Once the timer for jail is up, set the ghost status to "Returning" and path the ghost back with the return path to the location that the original spawn path starts. Once the return path has ended set the "Status" back to "Alive" and set it's path back to the original one and it will continue it's route again.

    This way you do not have to regenerate ghosts and can use the same ones like the original pacman does.

  5. #5
    No Products Registered

    Join Date
    Jun 2016
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    EDIT: Aaaand there's the create tool, right in front of me, clear as day. :P I feel kind of stupid now.

    Thanks for responding - this is all really useful! There's just one problem with that, though. I might not have explained this thoroughly enough in my post, but the ghosts are set on their own, permanent track. The problem with your suggestion is that since there would be two separate movements, the ghost could be in one area and end up in an entirely wrong place by the end of the 'returning' movement. I could just be doing it wrong, and if I am please let me know. I just have to ask since all my problems are based around spawning, so *is* there at all a way to spawn an object? Please let me know as soon as you read this because the game has to be done by tonight, and I can't push it back any longer.

    Thanks again!

  6. #6
    Clicker Fusion 2.5Android Export Module

    Join Date
    Sep 2010
    Posts
    539
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    I'm not completely sure what you mean but do you simply want the ghosts to respawn at their original starting position? in that case... ghost1 has been destroyed....------> Create ghost1 at X,Y

  7. #7
    No Products Registered

    Join Date
    Jun 2016
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah, I literally only just discovered the create tool right after I posted that. I know, isn't it pathetic? I guess that shows my experience... :P Thanks anyway, though - it's (mostly) working now!

  8. #8
    Clicker Fusion 2.5Android Export Module

    Join Date
    Sep 2010
    Posts
    539
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Great :-D and no it's not pathetic! There's a learning curve for everything and everyone here was a beginner at some point so just keep at it and soon enough you'll be answering questions about "this and that" :-D

Similar Threads

  1. Help Urgent! :( Game Center login makes game Crash
    By Javira in forum iOS Export Module 2.5
    Replies: 11
    Last Post: 5th March 2015, 04:20 PM
  2. pacman-like mini-game
    By frankodragon in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 1st September 2007, 02:44 AM

Tags for this Thread

Posting Permissions

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