jance0405's Recent Forum Activity

  • Good day. I just want to compare my frames from sprite1 to the frames of sprite2 without having too much events everytime i compare the two. (How can i make a short version of long method but has the same function)

    Please take a look at my example capx

    (UPDATED CAPX)

    http://www.fileconvoy.com/dfl.php?id=gf ... 54ef614044

  • I made a perfect example of this here.

    OMG, i love you it works. I just need to design my game shop and thank you. By the way, i also use your "Local Storage High score System" and i love it

  • The title says it all, but i wanna know how can i store the coins being collected by the players and later on use it to buy some item in my game and also subtract the collected coins if the player decided to buy new item. (If you are familiar with pen apple game from Ketchapp, You can collect coins and use it to buy pens. That's what i want to achieve)

    This is a mobile game and im not pertaining to In-App purchases, I just want an "In game shop" where players can collect coins and buy items using it

  • Hello, thank you very much to sir jeffige. i already fixed and find a solution to my problem. I used jeffige "Global Variable Timer" on my capx, i just did some changes to meet what i wanted.

    Again thank you jeffige

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This is how i did it --

    https://www.dropbox.com/s/50xculga24uwgu5/Play_Die_Repeat.capx?dl=0/ Global Variable Timer.capx

    Thank you korbaach and jeffige for the effort in doing a capx.

    I really like what jeffige did, It almost what i am looking for a solution to my problem but as i said i have 2 sprites with 5 frames each, These frames changes randomly every 2 seconds.

    Sir jeffige, You set the Timer >= to 2, if its true, then GameOver for the player and the player needs to restart the game again. But when the player touches the sprite you set it to 0 so that the action you gave to Timer will not trigger and the player continue to play the game.

    But as i said, i have 2 sprites with 5 frames each. "Every 2 seconds" i set their animation frame to random(0,5). When the player touches these sprites i want the "Timer" set to what currently the seconds of the animation frame.

    HOW CAN I DO THAT?

    Please help, this is the last condition i want to implement to my game.

  • I'm creating a mobile game now. It uses a "Touch" plugin and 2sprites (each has 5 frames for animation).

    Every 2seconds, i set the animation frame to random(0,5). If they have the same frame then player touch these sprites to obtain 1 score and then continues to touch and touch again until the player touch a wrong sprite and he loses.

    My question is, how to do if the player is not touching any sprite for the 2seconds then its GameOver for the player. It's like if you do not do anything then you lose but if you touch sprite and it's correct then you can play the game.

    (I want to force the player to immediately touch the sprites in 2seconds, if they do not respond, they lose and they have to repeat the game again but if they respond then you can play the game)

    PLEASE HELP!

jance0405's avatar

jance0405

Member since 31 Oct, 2016

Twitter
jance0405 has 1 followers

Trophy Case

  • 8-Year Club

Progress

8/44
How to earn trophies