Is GameSalad limited in the click speed?
ThoPel
GermanyMember, PRO Posts: 184
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
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
I created different "timer"-behaviors, e.g.
and compared the distances between the bullets.
Yes, as written above. "magic mouse, a logitech mouse". Okay, Only two different mouse types
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
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.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
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.
I wish we'd had that for Track & Field.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
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.
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.
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.
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
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.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS