AutoHotkey Games.

Talk about anything
Hellbent
Posts: 7
Joined: 23 Sep 2017, 13:34

AutoHotkey Games.

23 Sep 2017, 15:38

Hey, how is it going folks.

I have been using AHK for about two years now so I thought I would finally come check out the forum and see if anyone else does some of the same things with AHK as I tend to more often than not do. That is to create games or game like scripts. Up until now I have mostly avoided using the forums at all, mainly because even if I have a problem that I could use help with, I don't speak geek / nerd and would have no idea what to call any given problem or search for it, I also have no patience to wait a few hours for a reply let alone the days or weeks that it could take.

So, like I said I have avoided bothering with the forums. I started out using AHK to automate a few small programs, but because I don't use a computer for work I quickly ran out of things that needed to be automated (more or less), I ended up putting AHK aside and there it would still be if I had not discovered that I could make GUI's with it.
That was about a year ago, and since then I have made what must be in hundreds of scripts with AHK. Although I have made many conventional AHK scripts, I tend to find the greatest pleasure in the aforementioned games and the like, and because I enjoy working on such things, there must be others that have also played around with the like.

I did see a few posts before writing this thread on other games people had made, but many of the links were dead, and I saw no pictures or videos of the games in question, which is really all that I am interested in. The only person I have ever found so far that posts videos or Images or videos of there work is a guy on youtube by the name of SpawnNova. Much of what he does is not final polished games, but this is something that I also tend to do. Speaking as someone who still has much to learn, I tend to create scripts that test out ideas and proof of concepts.

So if you have images of similar projects or better yet videos of them please share. I would also love to hear about some of the concepts you have come up with for solving any number of things related to this topic. For example, I was playing around with simulated gravity a few months ago, I worked out a good system that met my needs at the time, but I would love to know how others might have tackled it.

Although others might love to see your code, the code itself or a copy of your games is really not what I am interested in, and even if you were to try to share the actual game with me, I would likely never run it. This is more about visuals and concepts not hard fast code.

Anyway... I have only worked on a few games and I rarely see them to completion before I want to move onto my next project. But here are a few of the games and the like I have worked on /made

They are not very good, but each new project builds off the last.

AutoHotkey PONG:


AutoHotkey Space Invaders:


Zombie Game:


Platform style game (mega man-ish) *** Not my most complete game, but my fav thus far.


***Concept*** Movement / Game A.I (I use these kinds of scripts to flush out new ideas)


With the example above, I was working on automating the "Bots" to form patterns. The Idea is/was that I would have a trigger that would cause the different blocks to assemble into patterns such as the transformer logo , super mario, etc etc. Shown is my early work on seeing if the method of getting the bots to move would work the way I wanted them to.


***Concept*** Movement. (Another quick example of how I work out new ideas about automating the movement for game objects)


As you can they are not great, but I enjoy working on them and I would love to see what anyone else has made using AHK.
BoBo
Posts: 1209
Joined: 13 May 2014, 17:15

Re: AutoHotkey Games.

23 Sep 2017, 15:44

I'm impressed :o :thumbup: :clap: - and I've to admit I'm a big fan of your tutorial videos at YT!! <kowtow smiley>
User avatar
Delta Pythagorean
Posts: 237
Joined: 13 Feb 2017, 13:44
Location: Equestria

Re: AutoHotkey Games.

23 Sep 2017, 18:27

God damn. AHK has really grown since GDIP was used.
User avatar
tidbit
Posts: 983
Joined: 29 Sep 2013, 17:15
Location: USA

Re: AutoHotkey Games.

23 Sep 2017, 20:18

Impressive stuff :O

and welcome!

edit: oh wow! Autobots is very similar to a failed idea I had (it was intended for 1D, work on a line. for someones arduino light strip. I liked it, so tried to implement in 2D. it.. failed. hard.)
well, similar in the fact that it's moving blocks that collide :P either way, it reminded me of it. great stuff you got.
Description:
* Came from an idea for maestrith and he arduino light display.
* Start out with N dots and an N wide display. The dots have a chance to move
left, right or stay still.
* A baby dot may also be created If:
- 2 or more dots overlap
- AND a 1-in-3 chance is rolled
- AND there has been no baby created within N time
- AND the board isn't full.
* There is also a death system, but it was behaving funny so it's disabled.
* The map is reset once full.


not sure on its current state as I was making some edits. but it seems to work decently.

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

rawr. fear me.
*poke*
Is it December 21, 2012 yet?
Hellbent
Posts: 7
Joined: 23 Sep 2017, 13:34

Re: AutoHotkey Games.

24 Sep 2017, 04:32

BoBo wrote:I'm impressed :o :thumbup: :clap: - and I've to admit I'm a big fan of your tutorial videos at YT!! <kowtow smiley>


Thanks BoBo.

Delta Pythagorean wrote:God damn. AHK has really grown since GDIP was used.


None of these use GDIP. They are just .png's.
The Space Invaders, Auto Bots, and Pigs use a ActiveX control but the rest are just normal Picture controls.

tidbit wrote:Description:
* Came from an idea for maestrith and he arduino light display.
* Start out with N dots and an N wide display. The dots have a chance to move
left, right or stay still.
* A baby dot may also be created If:
- 2 or more dots overlap
- AND a 1-in-3 chance is rolled
- AND there has been no baby created within N time
- AND the board isn't full.
* There is also a death system, but it was behaving funny so it's disabled.
* The map is reset once full.


That sounds a bit like "The Game Of Life". I was thinking of doing something like that a few months ago, but the other guy I had mentioned (SpawnNova) had just made a Langstons ant program.
User avatar
nnnik
Posts: 2187
Joined: 30 Sep 2013, 01:01
Location: Germany

Re: AutoHotkey Games.

24 Sep 2017, 05:00

I have been thinking of creating a sort of Canvas class for some time.
That would allow creators of games to use this class to display their games without having to decide if they want to create a game using gdip or some other API that will be connected to the canvas.
However currently I'm rather busy with other projects.
Recommends AHK Studio
Hellbent
Posts: 7
Joined: 23 Sep 2017, 13:34

Re: AutoHotkey Games.

02 Oct 2017, 10:43

Just started a new project. This time it is making a Flappy Bird game.

These are short videos detailing the progress of the game in steps.









User avatar
Delta Pythagorean
Posts: 237
Joined: 13 Feb 2017, 13:44
Location: Equestria

Re: AutoHotkey Games.

03 Oct 2017, 07:16

I might make a Super Mario Bros (The original) and maybe even add a "multiplayer" option. It'll be quite interesting...

Return to “Offtopic”

Who is online

Users browsing this forum: No registered users and 4 guests