This is awesome. I used SimpleCV in Python to detect the walls, much like you did. But I used it to transform the screen to make the platforms fall vertically: https://github.com/shaunlebron/super-hexagon-unwrapper
An amazing concept, excellently executed. You just changed how I think about this game.
Super Hexagon Bot
21–30 of 31 posts
Re: Super Hexagon Bot
#22This is awesome. I used SimpleCV in Python to detect the walls, much like you did. But I used it to transform the screen to make the platforms fall vertically: https://github.com/shaunlebron/super-hexagon-unwrapper
Re: Super Hexagon Bot
#23Ever since my 8-year old son beat the game multiple times on level 6, I have been working on getting there as well. The best I have made has been 19 seconds on level 6 - though I have beat the first five levels, level 6 is truly insane. Watching my son play is quite the experience. It seems my reflexes are not what they once were. It's an amazing game. I want to think that writing my own bot would count as beating th…
I got pretty good at Super Hexagon and can beat all 6 levels, but on their hard mode's I can't get very far on levels 5 & 6. I think my level 1 record is somewhere near 10 minutes now.
I've beaten that but I'm keen for a harder challenge!
Re: Super Hexagon Bot
#24Re: Super Hexagon Bot
#25Re: Super Hexagon Bot
#26Earlier quoted context omitted.
I got pretty good at Super Hexagon and can beat all 6 levels, but on their hard mode's I can't get very far on levels 5 & 6. I think my level 1 record is somewhere near 10 minutes now.
What's this "hard mode" you speak of? As far as I know, there are only 6 levels, the hardest being "hexagonest" in hyper mode, which is the "hardestestest" level. I'm playing it on PC via steam. I've beaten that but I'm keen for a harder challenge!
Re: Super Hexagon Bot
#27For anyone interested in alternate bot approaches: While the author made this "pixel bot" to pair their Super Hexagon with ambitions to learn OpenCV, pixel bots are almost always inferior to memory-based bots. As mentioned elsewhere in these comments, code injection should use caves and jumps, not overwrite existing code. With a memory-based bot you often do not even need to write to the game's memory. You can use th…
Re: Super Hexagon Bot
#28For anyone interested in alternate bot approaches: While the author made this "pixel bot" to pair their Super Hexagon with ambitions to learn OpenCV, pixel bots are almost always inferior to memory-based bots. As mentioned elsewhere in these comments, code injection should use caves and jumps, not overwrite existing code. With a memory-based bot you often do not even need to write to the game's memory. You can use th…
Re: Super Hexagon Bot
#29For anyone interested in alternate bot approaches: While the author made this "pixel bot" to pair their Super Hexagon with ambitions to learn OpenCV, pixel bots are almost always inferior to memory-based bots. As mentioned elsewhere in these comments, code injection should use caves and jumps, not overwrite existing code. With a memory-based bot you often do not even need to write to the game's memory. You can use th…
Interesting. Do you have any more resources about how these bots are made? ²
For example in a game where you fish, you would wait until a fish is on hook by watching the representative value in memory and pressing a key to catch a fish when that value indicates you have a fish on-hook.
In Super Hexagon you would watch the values indicating where walls were placed, which is likely an array of enumerable values indicating a shape (each shape has at least one opening). So a 1 might indicate a wall only at north, a 3 might indicate every odd side of the hexagon is a wall which must be avoided, etc.
Finding values is obviously easier when the value is displayed on-screen, like ammo in first-person shooters. It takes some time to become familiar with exploring memory like this and you certainly wouldn't want to write your own memory scanning primitives to do it, start with a tool like Cheat Engine (http://www.cheatengine.org/), ArtMoney (http://www.artmoney.ru/), or one of the many other memory editors available (https://www.google.com/search?q=memory+editor).
If you'd like more details please be specific about what you'd like explained!
Re: Super Hexagon Bot
#30For anyone interested in alternate bot approaches: While the author made this "pixel bot" to pair their Super Hexagon with ambitions to learn OpenCV, pixel bots are almost always inferior to memory-based bots. As mentioned elsewhere in these comments, code injection should use caves and jumps, not overwrite existing code. With a memory-based bot you often do not even need to write to the game's memory. You can use th…
Interesting. Do you have any more resources about how these bots are made?