well it started with 16 buttons thought to easy then 20 then 25 lol but i spose it makes no diff just the dialog isnt 1,2,3..20 and so but if u think its still to easy because 1 second is the fastest you probs wanna go :P decimals are super fast but yeh if u think its still easy ill up da buttons to 30! :P comment and rate plz :P
menu * {
.Game:dialog -m game game
}
dialog game {
title "Game"
size -1 -1 380 425
option pixels
button "1" 1, 5 5 70 70, disable
button "2" 2, 80 5 70 70, disable
button "3" 3, 155 5 70 70, disable
button "4" 4, 230 5 70 70, disable
button "6" 6, 5 80 70 70, disable
button "7" 7, 80 80 70 70, disable
button "8" 8, 155 80 70 70, disable
button "9" 9, 230 80 70 70, disable
button "11" 11, 5 155 70 70, disable
button "12" 12, 80 155 70 70, disable
button "13" 13, 155 155 70 70, disable
button "14" 14, 230 155 70 70, disable
button "16" 16, 5 230 70 70, disable
button "17" 17, 80 230 70 70, disable
button "18" 18, 155 230 70 70, disable
button "19" 19, 230 230 70 70, disable
button "5" 5, 305 5 70 70, disable
button "10" 10, 305 80 70 70, disable
button "15" 15, 305 155 70 70, disable
button "20" 20, 305 230 70 70, disable
button "21" 21, 5 305 70 70, disable
button "22" 22, 80 305 70 70, disable
button "23" 23, 155 305 70 70, disable
button "24" 24, 230 305 70 70, disable
button "25" 25, 305 305 70 70, disable
text "Timer:" 30, 5 397 30 20
edit "" 26, 40 395 50 20
button "Set" 28, 95 395 50 20
text "Score:" 27, 200 395 30 20
edit "" 29, 235 395 50 20, read autohs
}
on *:load: { set %score 0
}
alias gamme { set %svt $rand(1,25) | did -b game 1-25 | did -e game %svt
}
on *:DIALOG:game:init:0:{
timera 0 %ttme gamme
did -ra $dname 29 %score
did -ra $dname 26 %ttme
}
on *:dialog:game:close:*:{
.timera off
}
on *:DIALOG:game:sclick:*:{
if (%svt = $did) { set %score $calc(%score + 1) | did -b game 1-25 | did -ra $dname 29 %score }
if ($did = 28) { set %ttme $did(26) | .timera off | .timera 0 %ttme gamme }
}
ima repost a new 1 with like points selection it will time it should be acurate i got them all in 5 seconds when i did 5 targets so lol it seems ok im adding high scores when i get the time i added the buttons so u select the amount of targets cuz if u wrote ur own in lol the highscores wouldnt be too good