katzin's Recent Forum Activity

  • Hello guys.

    Im changing the webstorage to localstorage and at the beginning i used to have:...

    webstorage local key " " exist - system set something.

    System else - set something.

    Now in localstorage i can't see how to add this "ELSE" part.

    I can't also invert.

    So the question is..: how can i add the else condition in localstorage?

    Thanks

  • Wow, now i feel im dumb person xD.

    Thanks a lot blackhornet.

  • Working on the dialogue flow since there's a lot of crap to link together.

    If certain quest have been finished the NPCs react differently.

    Mikal i love the flaming bunny can his fur get scorched too?

    Hey Je, which app are you using for the dialogue flow?

  • Hello guys i want to create a random value but for some specific values.

    for example start at 30 and add 60 so the values should be random of 30, 90, 150, 210, 270, 330, 390 and 450.

    Thanks for all

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks a lot jeffige, the only way is to use localstorage.

    Im trying to convert all to localstorage but i have two issues.

    First one is localstorage only triggers when is called so if i check the item if exist on start of layout it only check on the start and when i go to other layout and come back is not going to check again right? so i need to add the everytick function?

    Secondly when the variables are loaded it takes like a second to upload and in webstorage that doesn't happened, know why and how to fix it?

    Thanks a lot.

  • Hello guys i worked on a game for about 2 years and i used in that moment the webstorage in order to save and retrieve variables.

    The thing is today i instaled the app of the game in the phone and is not working, looks like all the info with webstorage is missing.

    So..

    1. why is not working?

    2. Could it work in some way without changing the code?

    3. which are the options?

    Thanks and regards for your help.

  • there is not too much to add you need to try that... when the enemy animation attack is touching the player and the button is pressed the animation of counter show the counter animation and kill the enemy.

  • when enemy animation is showed and user press button appears the counter animation.

  • OMG dude, you are my hero, thanks a lot.

  • Hello guys,

    I have an issue when i try to create a sprite with random frame.

    so first i create the object and then i use sprite set animation frame to random(1)

    I tried with random(0) also with random(0,1) and i cant create sprites with random frame.

    Anyone can please help me?

    Thanks and regards.

  • Very good thanks !

  • I mean play atleast once in a day for atleast 5 consecutive days.

    I.e: jun 29, jun 30, jul 1, jul 2 and jul 3. (this should the worst scenario because have some days of the last month and some days of the new one)

    so if i have a variable called consecutivedays.

    the game should do something like this.

    compare last day variable with today variable.

    If: today (month and day) = saved (month and day) do nothing.

    if saved day diferent than today and today is 1:

    if month is Jul and saved is jun: add 1 to consecutivedays variable (need to do it for the whole 12 months u_U)

    else consecutivedays = 1 (reset)

    if saved month = today month and today is 1 greater than saved day: add 1 to consecutivedays variable.

katzin's avatar

katzin

Member since 25 Feb, 2014

None one is following katzin yet!

Trophy Case

  • 10-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies