Clicker game?

Ask gaming related questions (AHK v1.1 and older)
Jonas353
Posts: 64
Joined: 13 Oct 2017, 06:37

Clicker game?

13 Oct 2017, 06:41

Is it possible to make a clicker game in autohotkey?
User avatar
elModo7
Posts: 217
Joined: 01 Sep 2017, 02:38
Location: Spain
Contact:

Re: Clicker game?

13 Oct 2017, 06:59

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.
Jonas353
Posts: 64
Joined: 13 Oct 2017, 06:37

Re: Clicker game?

13 Oct 2017, 07:11

How do i make a button increase by 1 each time i click it?
Jonas353
Posts: 64
Joined: 13 Oct 2017, 06:37

Re: Clicker game?

13 Oct 2017, 07:54

Oops i meant how do i set a variable to a text?
User avatar
Reloaded
Posts: 283
Joined: 25 Aug 2017, 08:48

Re: Clicker game?

14 Oct 2017, 13:46

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
Jonas353
Posts: 64
Joined: 13 Oct 2017, 06:37

Re: Clicker game?

15 Oct 2017, 13:24

No i meant an actual clicker game

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 39 guests