Page 1 of 1

Clicker game?

Posted: 13 Oct 2017, 06:41
by Jonas353
Is it possible to make a clicker game in autohotkey?

Re: Clicker game?

Posted: 13 Oct 2017, 06:59
by elModo7
I'd say for sure, there are a few games written in this language such as the asteroids game.
You could use a simple GUI for that, like a timer until 100 clicks and a button to register each click.

Re: Clicker game?

Posted: 13 Oct 2017, 07:11
by Jonas353
How do i make a button increase by 1 each time i click it?

Re: Clicker game?

Posted: 13 Oct 2017, 07:54
by Jonas353
Oops i meant how do i set a variable to a text?

Re: Clicker game?

Posted: 14 Oct 2017, 13:46
by Reloaded
Jonas353 wrote:Is it possible to make a clicker game in autohotkey?
You mean like this ?

Code: Select all

SetBatchLines -1 
#MaxThreadsPerHotKey 2

F::					;With "F" you toggle the Script.

Toggle := !Toggle
Loop

{
If toggle
{

Click, %Ypos% %XPos%			;It spam Click at you current mouse position	
Sleep, 10

}
else
	break
}
return

Re: Clicker game?

Posted: 15 Oct 2017, 13:24
by Jonas353
No i meant an actual clicker game