i have a couple games that i have made that can be cheated by moving the mouse of screen so i need help in order solve that problem
Can you show me them?
let me get the links real quick
https://snap.berkeley.edu/project?user=oofpaste249&project=bouncy%20bouncy%20bouncy
https://snap.berkeley.edu/project?user=oofpaste249&project=bouncy
https://snap.berkeley.edu/project?user=oofpaste249&project=Dodge%20the%20bullets
https://snap.berkeley.edu/project?user=oofpaste249&project=Run%20from%20sonic
Those are the games
You can use the block in the sensing category here:
https://snap.berkeley.edu/snap/snap.html#present:Username=joecooldoo&ProjectName=Custom%20Blocks%202
Then do:
[scratchblocks]
when green flag clicked
forever
if <cursor on stage?::sensing> {
pause all ||::control
wait (5) secs
}::control
[/scratchblocks]
ok thank you
EDIT: should i put " if: curor on stage = false
pause all | |
wait 5 secs
Let me edit my thing... You should use t he script I use.
Do that script
okay .
[scratchblocks]
when green flag clicked
forever
if <not<cursor on stage?::sensing>::> {
pause all ||::control
wait (5) secs
}::control
[/scratchblocks]
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.