gamingqd's Recent Forum Activity

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • calminthenight Hello, thank you for your answer, I completed it. :)

  • mrcgkh Hello, yes I'm Turkish and it is nice to encounter you here. Thank you for your help, I used the project file you shared and I managed to do it. :)

  • Hello,

    I have 4 layers in one layout. When my player klicks the first option in the layout it leads him to the first layer, if he klicks the second option in the layout it leads him to the second layer and it goes on like this. But when my player is in the second layer and klicks a sprite it also affects the other sprites in the other layers. There are sprites in all layers. For example, how can I lock the other layers when my player is in the first layer so that the other sprites in the other layers are not affected? When my player klicks one sprite,( I made them as buttons) their money increases, etc. Here are the photos:

    Tagged:

  • Hi guys, I was wondering about smth; Would adding 3-5 layouts to my game slowed the game? I mean, would the game be slow while the player/user play the game?

    And, what are the things that slow a game in the users/players device?

  • Advanced Random could give you this. 0123 --> 3102

    But advanced random or other methods like Fisher Yates would not directly solve your problem. You said every 10 second a new event appear. But what will happen after 40 second. You need to re-shuffle it.

    In a situation like above, same events will appear at 70 and 80 seconds (1-1). As i explained before, even if you use advanced random the same event could happen. You need extra optimization for a problem like that.

    I also suggest my previous example

    https://drive.google.com/file/d/102s4OHmnjeMfRpmxt-jDYrLon65z-HkU/view?usp=sharing

    If you have 4 events , in every 40 seconds you may see the same events.

    If you have 100 events , in every 1000 seconds you may see the same event.

    So this is still a good approach.

    mrcgkh Thank you so much. You literally helped so much.

  • I would suggest having a column on the array to store if the question could repeat or not. This way you can control which question could repeat.

    Just store 0 and 1 on a new column, and when this question apper on screen, compare if this column is = 0 if yes, remove this question from array, if 1 just keep it for next random.

    klabundee can u show me an example of it, please?

  • Hi mekonbekon

    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

    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. Yet my events come randomly and sometimes the same event comes in row 3 or 4 times. I check the template you share but quite don't get it how to apply it to my game.

    Can you help me with that? I want my events to come in order and not to repeat itself. I don't know how to do it.:(

  • oosyrag,mrcgkh

    I agree, the best way is to use Advanced Random but I couldn't totally use it right.

    How am I supposed to use advanced random in my event sheet? If you share an example it would be good:)

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