gamingqd's Recent Forum Activity

  • Hi, klabundee and mrcgkh

    I'll ask one thing; My events should come once, I mean sometimes the same event comes three-four times in a row and I want my events to come only once in the game. How can I do that? Should I use ''advance random'' or is there any other way?

    Thank u.

  • klabundee and mrcgkh,

    You guys are literally amazing. Thank you.

  • Dear klabundee and oosyrag,

    Yes, the answer always going to be yes and no. When I save my array as you said, what should I do next?

    Thank u both for answering.

  • Hello, I've at least 100 random events in my game. They appear every 10 seconds. They are like:

    1)There is a pandemic. Will you open hospitals?

    -Yes -No

    2)They kidnapped you. Will you try to run?

    -Yes -No

    3)There was an earthquake. Will you run for help to people?

    -Yes -No

    Every yes and no answer has its own consequences. For example: If my player says Yes, his popularity will increase by 50, his money will increase by 1000 and his success will increase by 20. Money, popularity and success are my three global variables. So, when my player chooses yes or no my global variables will change accordingly. Yet, I don't know how to do that. Here's my array:

    If you share an example I would appreciate it.

  • Dear Vallar,

    This is my array, it includes random events and answers. For example, if the player chooses the yes answer in the 0,0 coordinates, his money will increase by 500 but his popularity will decrease by 50. And I have 100 random events like that and all of them have different outcomes. ı'm not sure how to arrange my 3 global variables; popularity-money and success according to the answers given by players (yes/no).

  • Hi, dear Construct community,

    I've mentioned before, I'm making a life simulator game. I have 3 global variables; money, success, and popularity. My player will face different random events and they will answer them yes/no. According to their answer, their global variables will increase or decrease. All the random events have different consequences so when they answer an event their popularity increases but maybe their success decreases. Or both of their money and success will increase. It all depends on the different events(I have 100 of them nearly). How can I arrange my 3 global variables for all of the random events? Should I use functions and how? Or is this even possible?

    Thank you.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hello, I have 3 random incidents.

    1)There is a pandemic. Will you open hospitals?

    -Yes -No

    2)They kidnapped you. Will you try to run?

    -Yes -No

    3)There was an earthquake. Will you run for help to people?

    -Yes -No

    I would like to shuffle these incidents and appear in the game every 5 seconds randomly. I've tried to use the ''functions'' but I couldn't. Do you guys have a project that will help me with it? or can you show me an example of how to do it? I've added the incidents to the array and use ajax. yet I couldn't go further. If you show me an example, I would appreciate it.

  • Hello, thank you for answering. I fix the problem:)

  • Hi guys, I have a game like when you touch the money sprite the money amount increases by 5. Yet, I have 3 layouts and they all have the same global variables; money, success, and popularity. In layout 1, I touch the money sprite, and the money increases by 5. But when I go to layout 2 if I don't touch the money sprite again the money amount doesn't appear instead ''0'' appears because I set text to ''0''. It still increases and be 10 but it doesn't appear if I don't touch. When I go back to layout 1, it's the same. If I don't touch the money sprite, the money amount doesn't appear even though it increases. I mean they turn into their starting text name when I don't touch upon the sprite. How can I fix this? I hope you understand me:(

  • Hello! in my game there will be a lot of text, like 30 events:

    -While you are walking, you come across with a dog.

    -Your parents want you to stop smoking.

    Think about there'll 30 of them. How can I import them to Construct without using XML or JSON formats? If I write them as a text in the Construct, can I use them in the array later? Because there will be lots of events and I have to randomize them while using Array.

    Thank you!

  • You do not have permission to view this post

  • Hello, first of all, thank you for answering my question! And if it doesn't bother you, I have more:)

    In my game there will be a president and he will face some random events such as; an earthquake happened in your city or there is a virus and people need health service. These are just 2 examples and I will make more of it. Yet, I don't know how to adjust these random events. I want these random events to appear when the player reaches 5 million dollars, or when the player makes an investment in education etc. I hope I'll be clear this time. Again, thank you for helping.

gamingqd's avatar

gamingqd

Member since 3 Sep, 2020

Twitter
gamingqd has 1 followers

Trophy Case

  • 4-Year Club
  • Email Verified

Progress

5/44
How to earn trophies