Jump to content

Recommended Posts

Posted (edited)

Hi everybody!
I've been studying Autoit not so long ago and today I want to share my game with you.

Please check it out and tell me your opinion.

Files in the archive:

BG.jpg
Mole.png
Mole_Dead.png
Shoot.wav
Cursor.cur
Game_Icon.iso
Mole Shooter.au3
Mole Shooter.exe

Screenshots:

Screenshot 1

Screanshot 2

Screanshot 3

Files:

Mole Shooter.rar

Created and tested:

Windows XP SP3 Game Edition (x86)

Autoit Version: 3.3.10.2

Edited by Slaventii_M
Posted

Added here:

 

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

heheh, had fun with it :D 

- Please check it out and tell me your opinion.

added:

.....
GUISetState()
SoundSetWaveVolume(1) ; <-- the sound is too loud
While 1
.....

..and if the blood could be other than red, it'd be friendlier to my judgmental brain, inner child, etc. :) 

Edited by argumentum

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

  • 2 weeks later...
Posted

Hello,

 

Nice script but something is wrong, because when you click rapidly on the mole and kill it, it does not move until you stop cliking madly, so its easy to make a god score and having 99% 

i tried to find a solution but nothing works like it would.

if someone understand the problem and find a way out it will be a very good game...

  • 4 weeks later...
Posted

added a line to prevent shhoting spam and perfect score

If $GetCurInfo[4] = $Mole Then
            _SetPNGIntoPicControl($Mole, $MoleDead_Image)
            GUICtrlSetData($Hits, GUICtrlRead($Hits) + 1)
            Sleep(100)
            _MoleMove();hit? move on
        Else
            GUICtrlSetData($Misses, GUICtrlRead($Shoots) - GUICtrlRead($Hits))
        EndIf

 

  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...