Game: ManyTetris - Customizable Pocket Tetris
[*:33heoun5]Fixed : Maximum drop speed was not obeyed properly. Caused some games to generate a runtime error (thanks Obi-Wahn).
[*:33heoun5]Fixed : Games dropdown list should now be unfocused on startup. Should fix the issue of the dropdown changing during gameplay (noticed on some computers) (thanks Obi-Wahn).
Obi-Whan - can you please confirm that its ok now?
Z_Gecko - didnt notice your response there up until now, sorry. Yeah, the MaxDropSpeed is in fact "MinDropSpeed" - all speeds are in fact times used by the Sleep command. so MaxDropSpeed needs to be LOWER than DropSpeed. I left your game settings as is in the current release (start with 200, then try to reduce by 10 but since 200-10 is lower than 900, we use 900)
Icarus, that is very professionally done! :!: I happily relinquish the title of "Best self-contained AHK game produced to date." You've earned it.
jaco - can you point me to your game? I am curious.
1.) Preview window for the next Block
2.) The Tetris Melody playing in the Background
That'd make the Game like the old Gameboy experience...
(you know, that's just Ideas, Inspiration,...)
EDIT: And a Pause-Button, which I could code by myself, but I'd have to change the script every time a new version comes out.
One problem: the game sometimes slows down, then it gets back to normal speed after a couple of minutes (Vista-32). I wonder if it is due to the sound... Have you tried the multimedia timer instead of AHK’s SetTimer? It could make the speed more consistent.
Another issue is when a popup window steals the focus. When I get back to Tetris, a few pieces have already dropped. Maybe making the game always on top, and a timer activates it in reaction to window-change system messages, or just periodically? Or, with always on top game window, the hotkeys could work when the Tetris window exists, not only when it is active?
I am not familiar with the multimedia timer you are mentioning. What is it?
I also believe that these small halts are related to disk access, when trying to play a sound.
About the focus issue - how about I make the game so it automatically pauses when the focus is lost, and unpause when focus is back?
Ok, implemented the focus change + changed the speed values of the game templates so it will be slower.
Posting version 0,16 in a few.
[*:1sywcw3c]Changed: Reduced speed increase, max speed and starting speed for most of the games (thanks Laszlo).
Pausing the script when the focus is lost allows cheating: just Alt-TAB to a small window somewhere let you think about the next move. I think AlwaysOnTop and #IfWinExist is better.
The Pause feature already allows you to cheat - but people required to be able to pause.
But, what I did is that with each pause (and with each pause that is created by the alt tab) you lose 5 points.
So, its cheating with a price...
Will check that timer, thanks.
I have not yet tried this, but I am about to download it