Is GameSalad limited in the click speed?

ThoPelThoPel GermanyMember, PRO Posts: 184
edited July 2015 in Working with GS (Mac)

I'm buidling a small top-bottom 2d shooter and offer two possibilities to control the actor.

First: Moving & Shooting = Keyboard
Second: Moving = Keyboard; Shooting = Mouse button down

In my opinion it is possible to shoot much faster per keyboard. Let's say every 0.075 seconds a bullet with the keyboard. With the mouse button it is "only" possible to shoot every 0.15 seconds. Sounds just like a small difference, but it is twice as many bullets!

Has somebody experience with limited click speed in GS?

Btw: I'm using a iMac 27° with magic mouse, a logitech mouse and a wireless apple keyboard. Perhaps the difference is a technical restriction?!?

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    How are you determining the key presses and clicks per second? And how are you ruling out the specific model of mouse you have (that is, have you tried several mice?)?

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • ThoPelThoPel GermanyMember, PRO Posts: 184
    edited July 2015

    @tatiang said:
    How are you determining the key presses and clicks per second?

    I created different "timer"-behaviors, e.g.

    and compared the distances between the bullets.

    @tatiang said:
    And how are you ruling out the specific model of mouse you have (that is, have you tried several mice?)?

    Yes, as written above. "magic mouse, a logitech mouse". Okay, Only two different mouse types :smile:

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Wait, what?! If you're using Timer behaviors then you are forcing the actors to spawn at that interval... right? You're not actually measuring anything.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • ArmellineArmelline Member, PRO Posts: 5,368

    I ran a quick test and I was able to iterate an integer 25 times in 3 seconds using mouse, touch and key. If there's a difference, it's minor.

  • tintrantintran Member Posts: 453
    edited July 2015

    this question is weird i think since you can't really simulate a key or a mouse click ..but have to do it manually so isn't it limited by the person who's doing the clicking/keying?

    Although, i saw a video some time within the last month of someone bandaging their finger and used a small rotating motor to spin really fast and knocks against their finger which then touches the phone to generate really quick touches.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    @tintran said:
    Although, i saw a video some time within the last month of someone bandaging their finger and used a small rotating motor to spin really fast and knocks against their finger which then touches the phone to generate really quick touches.

    I wish we'd had that for Track & Field. B)

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • tintrantintran Member Posts: 453

    @tatiang said:
    I wish we'd had that for Track & Field. B)

    Heheh, You probably know about the eraser trick right? where you put an eraser down between two buttons, and put a pencil across the two buttons and the eraser then hold it so that the pencil would press one of the button in, then if you tap on the high end of the pencil it would press the other other button and letting go of the tap it would return to press the first button and so you can double your speed.

  • ThoPelThoPel GermanyMember, PRO Posts: 184

    @tatiang said:
    You're not actually measuring anything.

    That's right! I'm comparing! Comparing the spawed bullet from clicks with the spawned bullets from a timer. Is not a science, but it worked - in my humble opinion.

    @Armelline said:
    I ran a quick test and I was able to iterate an integer 25 times in 3 seconds using mouse, touch and key. If there's a difference, it's minor.

    I build a test where I logged the time between two clicks to the debugger. During this test I reached also 0.12 clicks per second - like your average.

    @tintran said:
    you can't really simulate a key or a mouse click

    That's also right!

    Perhaps my "observation" is a result of the combination "click + spawn actor + GS typical runtime loop".

    Conclusion: No limited click speed is known in GS.

    Thanks for your responses

  • GeorgeGSGeorgeGS Member, PRO Posts: 478

    @tatiang said:
    I wish we'd had that for Track & Field. B)

    Remember the ones with the track ball instead of the buttons? You could get some nice friction burns from those.

  • The_Gamesalad_GuruThe_Gamesalad_Guru Member Posts: 9,922

    @GeorgeGS said:
    Remember the ones with the track ball instead of the buttons? You could get some nice friction burns from those.

    Oh you guys are taking me back. I still have one of the old mattell football games. You know the one that is just horizontal lines.

Sign In or Register to comment.