Suggestions for a Game

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hello! I just wanted to ask for a bit of help for a game that I am working on. I am currently attempting to build a memory match esq game (Think of the level in plants vs zombies 2 in the egyptian level, where you click on a zombie holding the "panel" and it flips over to view an image) for a class project, as per my major. I am currently using MMF2, and I want to know if there are any suggestions to aid me in coding my game. I'm stuck where I am, because several attempts at coding this type of game just isnt working. I would appreciate any help in the matter.

    Just so you can see my attempt to code this...
    Please login to see this link.

    What I had in mind is that when you left clicked on an object on the left side, you create another object of the same color in the space in the center. Then, if there were two objects, but not of the same color, they would be destroyed. Otherwise, the tiles per say will be destroyed as well. I believe you'll understand this better once you download the file...

    Again, any helps is appreciated! Thank you!

  • I made a memory match based mini-game as part of an overall drinking game. lol
    Not sure if it's like what you need, but you could always modify the code to your requirements.

    Here's an exe: Please login to see this link.
    If it's kind of like what you want, I'll hook you up with the source code.

  • Well first, I haven't played Plants vs. Zombies, so I hope I get your meaning based on your example.

    Second, there are a lot of people here more qualified to explain how I'm wrong, but I honestly think that zoning is WAY too complicated for what you want to achieve, so I came up with something. I didn't want to just do your project for you, but try as I did, I just couldn't find easy way to put it into a small post. So I hope this is enough to help:

  • Im really sorry for the late response, as my internet has been derpy to say the least.

    To ElectricMaster, Your concept is actually really nice, however, Im going to have to side with Ziplocks idea.

    To Ziplock. YES. This is pretty much exactly what I wanted. However, a good bit of the coding is something I am not too familiar with. Is it possible that you could walk me through this somehow, maybe through skype or teamspeak? Anything really, if you can that is.

    Thanks to both of you! I appreciate it very much!

  • Oh, One other thing I forgot to mention. I'm not sure how to do so, but I want the both the CenterLeft and CenterRight objects to not be destroyed immediately. Is there a way I can implement a timer? That way, when a person does get it incorrect, they know the last color of the object he/she had just clicked on.

    Also, since I am using mainly your coding for this project, I want to know if you wouldn't mind me giving some of the credit to you. This project is also a part of a competition, and it wouldn't feel right not crediting someone who helped me.

  • OK, here's an update with a timer. Don't worry about credit, I've gotten lots of advice in many many different programs on tons of different forums. Helping with stuff like this keeps my own skills sharp.

    Like I said, when you posted your initial problem, a simple post would have turned into a 3-page tutorial, but once I got rolling, it was a bit too hard to turn back and I wanted you to have the information. But as a general rule, I think 1-on-1's aren't helpful to the community, so just post your questions here. It's really not that involved of a setup.

    -On the main stage, there are your 10 clickable objects. On paper, assign and note number values to these colors. Red=1, Green=2, etc.

    - There are two objects called "LEFT GUESS" and "RIGHT GUESS." Important notes are that each have 5 frames, 1 for each color that is clickable. These frames need to be in order of the number values you have assigned. If Red=1, the first frame needs to be red. If Green=2, the second frame is green, etc. They are also both not "visible to start." This is unchecked in the properties toolbar.

    - There are three more measurement objects off the main stage:
    --The first is called "Current Color Detector." This has 3 variables, set in the properties toolbar, for Current Color Left, Current Color Right, and Total Pairs. By default, the Total Pairs=5 because there are 5 pairs on screen.
    --The second is called "Timer." The only variable set here is "Wait."
    --The final is the object "Dissolve." This just has the animation for what you want the circles to look like when they disappear.


    Everything else is in code, which again is hard to explain in laymen, so ask away!

    First, you need to get flags down:

    Any object can have any number of flags. You can use them to determine the state of something. For example:

    (If) Left Red is clicked & Left Guess flag number 1 is off:
    (Then)-->Make Left Guess Red & Turn Left Guess flag number 1 on

    If you were to do this code for every color, you could only click 1 color at a time. You wouldn't turn the flag off until both Left Guess and Right Guess have their #1 flags on.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!