CodyBarrett Posted May 9, 2009 Author Share Posted May 9, 2009 haha i was actually thinking of making an asteroids game in autoit... [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
UEZ Posted May 9, 2009 Share Posted May 9, 2009 haha i was actually thinking of making an asteroids game in autoit... Currently I'm working on it -> http://www.autoitscript.com/forum/index.ph...st&p=680298UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Achilles Posted May 9, 2009 Share Posted May 9, 2009 I wrote this a while ago, it has a little border around the bottom (where the taskbar is around me), so that way the taskbar is still easy to use. I took out y wrap just 'cause I don't like it, and on a widescreen monitor the part that matters is the x wrap. This also doesn't have the bug where if you leave the mouse right on the border it will continuously jump back and forth. #noTrayIcon While 1 $pos = MouseGetPos() If $pos[1] < @DesktopHeight - 35 then If $pos[0] = @DesktopWidth - 1 then MouseMove(1, $pos[1], 0) $pos[0] = 1 ElseIf $pos[0] = 0 then MouseMove(@DesktopWidth - 2, $pos[1], 0) $pos[0] = @DesktopWidth - 2 EndIf EndIf ;~ If $pos[1] = 0 then ;~ MouseMove($pos[0], @DesktopHeight - 1, 0) ;~ EndIf Sleep(100) WEnd My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
WideBoyDixon Posted May 10, 2009 Share Posted May 10, 2009 (edited) The code that I provided earlier in this topic: [a] Doesn't cause the mouse to jump back and forth Handles properly multiple monitors with different resolutions [c] Handles properly multiple monitors with any configuration set-up (side-by-side, one on top of the other etc.) WBD Edited May 10, 2009 by WideBoyDixon [center]Wide by name, Wide by nature and Wide by girth[u]Scripts[/u]{Hot Folders} {Screen Calipers} {Screen Crosshairs} {Cross-Process Subclassing} {GDI+ Clock} {ASCII Art Signatures}{Another GDI+ Clock} {Desktop Goldfish} {Game of Life} {3D Pie Chart} {Stock Tracker}[u]UDFs[/u]{_FileReplaceText} {_ArrayCompare} {_ToBase}~ My Scripts On Google Code ~[/center] Link to comment Share on other sites More sharing options...
CodyBarrett Posted May 10, 2009 Author Share Posted May 10, 2009 either way... :\ i am now using this EVERY day... haha it does take some time to get used to (not overshooting when you move your mouse)but after like half an hour its very easy to use... idk WHY i didn't think of this before xD [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
CodyBarrett Posted May 10, 2009 Author Share Posted May 10, 2009 lol i fixed the Y bug... (completely removed Y wrapping)i haven't added the dual moniters.. sorry you guys... and cut down the CPU usage from 50% to 7% by adding a sleepUPDATED AT THE TOPlol i find this so much fun WBD - i haven't been able to grab anything from your above code... DLL calls are slightly too advanced for me... so yeah [size="1"][font="Tahoma"][COMPLETED]-----[FAILED]-----[ONGOING]VolumeControl|Binary Converter|CPU Usage| Mouse Wrap |WinHide|Word Scrammbler|LOCKER|SCREEN FREEZE|Decisions Decisions|Version UDF|Recast Desktop Mask|TCP Multiclient EXAMPLE|BTCP|LANCR|UDP serverless|AIOCR|OECR|Recast Messenger|AU3C|Tik-Tak-Toe|Snakes & Ladders|BattleShips|TRON|SNAKE_____________________[u]I love the Helpfile it is my best friend.[/u][/font][/size] Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now