Spoiler
; AutoHotkey Version: 1.x
; Language: English
;
#NoEnv
FileInstall, Strat3gy.bmp, Strat3gy.bmp
FileInstall, Strategy.bmp, Strategy.bmp
gui, font, s10 w700 verdana, XTXT
gui, add, text, , Foste desafiado pela Comunidade PT/BR!!`nEscolhe o teu Limite!`n
gui, font, s8 verdana, XTXT
gui, add, radio, checked vlimite cgreen, NL2 - Sou muito FISH ainda.
gui, add, radio, cblue, NL100 - Vou tentar nao desiludir a Strategy!
gui, add, radio, cred, Nem o Durrrr me segura!!
gui, font, s12 verdana, XTXT
gui, add, Button, w280 h50 x20 y150 gXTXT, Bora pra forra!
gui, show, , XTXT
winset, AlwaysOnTop, on, XTXT
winmove, XTXT, , 605, 375
gui 4:add, picture, x0 y0, Strat3gy.bmp
gui 4:font, s40 w700 verdana,Strat3gy
gui 4:color, 0
gui 4:add, text, cWhite x10 y0 vTempoo, 60
gui 4:add, text, c00FF00 x10 y55 vTempooo, 00
gui 4:show, w675 h372, Strat3gy
winset, transcolor, 0x00FFFF, Strat3gy
winset, Top,, Strat3gy
winset, Style, -0xC00000, Strat3gy
winmove, Strat3gy, , 400, 300
gui 9:add, picture, x0 y0, Strategy.bmp
gui 9:show, w34 h11, Strategy
winset, AlwaysOnTop, on, Strategy
winset, Style, -0xC00000, Strategy
winmove, Strategy, , 485, 304
random, abc1, 485, 1035
random, abc3, 305, 655
XTlex:=XTlex2:=0
return
guiclose:
exitapp
XTXT:
gui, submit
asec:=a_tickcount
if (limite=1) {
setwindelay 1
limiteX=NL2
}
else if (limite=2) {
setwindelay 0
limiteX=NL100
}
else {
setwindelay 0
limiteX=Durrrr
}
loop,
{
random, abc2, 485, 1035
random, abc4, 305, 655
loop
{
if (limite=2) {
abc1+=abs(abc2-abc1)/(abc2-abc1)*0.25
abc3+=abs(abc4-abc3)/(abc4-abc3)*0.25
} else {
abc1+=abs(abc2-abc1)/(abc2-abc1)*0.5
abc3+=abs(abc4-abc3)/(abc4-abc3)*0.5
}
abc0:=round(abc1)
abc5:=round(abc3)
winmove, Strategy, , %abc1%, %abc3%
Tempoo:=60000-(a_tickcount-asec)
StringTrimRight, Tempoo, Tempoo, 3
GuiControl, 4:text, Tempoo, %Tempoo%
if (XTlex<100)
GuiControl, 4:text, Tempooo, %XTlex%
OnMessage(0x201, "congratz0")
if (Tempoo<0)
goto congratz
if (abc0=abc2 and abc5=abc4)
break
}
soundbeep 4400,100
XTlex2++
}
return
congratz0()
{
global XTlex
if (a_gui=9)
XTlex++
return XTlex
}
congratz:
gui, destroy
gui, font, s12 w750 verdana, XT_XT
gui, add, text, , Posta nos High Scores do Forum!!
gui, font, s10 cBlue verdana, XT_XT
gui, add, text, , Acertaste:`nLimite:`nCPU Factor:
gui, font, cFF0000, XT_XT
gui, add, text, x130 y47 , %XTlex%`n%limiteX%`n%XTlex2%
gui, show,, XT_XT
winset, AlwaysOnTop, on, XT_XT
winmove, XT_XT, , 620, 420
return