Motal Kombat - Test Your Might

zweg25zweg25 Member Posts: 738
edited November 2014 in Working with GS (Mac)

Hi everyone,

I am trying to do something similar to the mortal kombat test your might mini game. I have made some good attempts at how to do this, with interpolations and taps an stuff, but I cannot figure out a solid way of making a system like this

Essentially the system is this: The player taps the screen really fast, and the faster they tap the more the power meter goes up, but the slower they tap the meter will go down. Kind of like the power meter has resistance.

Any ideas?

Here is a link to what I am talking about:

Comments

  • phamtasticphamtastic Member, PRO Posts: 354

    is this using gamesalad?

  • UtopianGamesUtopianGames Member Posts: 5,692
    edited November 2014

    You can just do when touch is pressed or when mouse button is down change attribute (integer) power to power + 1 and have a timer ever X seconds change power to power - 1.

    Darren.

  • zweg25zweg25 Member Posts: 738

    @phamtastic said:
    is this using gamesalad?

    I am trying to replicate something similar by using gamesalad, but this is an xbox game.

    @DeepBlueApps said:
    You can just do when touch is pressed or when mouse button is down change attribute (integer) power to power + 1 and have a timer ever X seconds change power to power - 1.

    I'll give it a shot and let you know how it works, Thanks

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922
    edited November 2014

    Here you go. You may be able to modify this using a second loop behavior that works to decrease it.

  • zweg25zweg25 Member Posts: 738

    @The_Gamesalad_Guru‌ the loops work pretty well! Best solution I have so far so I will stay with that for the time being.

    Thanks

  • CasualEvolutionCasualEvolution Member, PRO Posts: 543

    Also you can constrain x =x-1 when touch, it's fast and simple :)

  • zweg25zweg25 Member Posts: 738

    Doesn't work for what I am going for, but nice thought

Sign In or Register to comment.