Jump to content

Achilles

Active Members
  • Posts

    2,857
  • Joined

  • Last visited

About Achilles

  • Birthday 09/13/1989

Profile Information

  • Location
    Quito, Ecuador

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Achilles's Achievements

Universalist

Universalist (7/7)

4

Reputation

  1. Really nice work on this.. the images and functionality are well done. Some thoughts for improving it: -Integrate the starting GUI into a menu, this would let the user start right at the main GUI (better flow imo) and allow them to make changes during game. The menu could have a help and about section and whatever other fun stuff menus have. -This kind of goes with above: give the user new game option.. I didn't look at your code so I don't know how easy that would be to do. -It sort of looks like you redraw the board after every move, that could probably be avoided.. or I'm just seeing things. -I sort of think there should be a easier way to rotate the smallest pieces rather than all the buttons, but I can't think of one right now.. if those buttons could be removed you could put the count and resign button below the board to shrink up the amount of empty space on the left and right sides.. it feels a bit desolate. -AI would be fun, and a lot of work.. I enjoyed playing around with this.
  2. no, in that example you can't do anything while dragging the window.. instead of using the build in drag functions I just wrote my own using WinMove and a While _IsPressed('01') loop..
  3. nevermind, I found a work around.. just made my own custom drag function instead of parent drag..
  4. I think I used to know how to do this but now I've forgotten.. anyway, I want to be able to process while dragging a window around. Purpose being is I'm going to be using a small representation of a window to drag around the full sized window. Here's some of what I tried: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <ButtonConstants.au3> Opt("GUIOnEventMode", 1) GUICreate("Parent1", 400, 400, -1, -1, $WS_POPUPWINDOW) GUISetOnEvent($GUI_EVENT_CLOSE, "CLose") GUICtrlCreateLabel("I DRAG WINDOW!", 0, 0, 400, 400, -1, $GUI_WS_EX_PARENTDRAG) GUICtrlSetOnEvent(-1, "OKPressed") GUISetState(@SW_SHOW) GUIRegisterMsg($WM_COMMAND, 'SpecialEvents') $dragging = False ; Just idle around While 1 Sleep(10) If $dragging then ConsoleWrite('> I Want to be workign here...' & @CRLF) EndIf WEnd Func _Work() ConsoleWrite('> I Want to be workign here...' & @CRLF) EndFunc Func OKPressed() ConsoleWrite('-> ENDING MOVING WINDOW...' & @CRLF) $dragging = False AdlibUnRegister('_Work') EndFunc Func CLose() Exit EndFunc Func SpecialEvents() ConsoleWrite('+> MOVING WINDOW...' & @CRLF) $dragging = True AdlibRegister('_Work', 10) EndFunc ;==>SpecialEvents
  5. thanks! that looks like exactly what I wanted. @Mat: I think that's what UEZ's program does exactly lol
  6. Anybody have any pointers on what sort of functions might be able to do this? Basically I want to be able to get a screen shot of a window that is not the window on top. _ScreenCapture_CaptureWnd will only capture the region that the window is in.. if there is another window on top then it won't work. Windows 7 seems to have a lot of this build in with their new menu bar. If I could use the same functions they do that would be ideal.. I've looked through all of the _WinAPI functions but I don't seem to see anything that would work. If there was some sort of way to hook into the active feed for what the window is displaying that would be amazing. Alternatively if someone knows of an easy and light way to hook events like any windows losing focus that would work too.. 'cause then I could just grab a screen shot real quick before it gets covered up. (Preferably something more elegant than a while loop waiting for the top window to change.)
  7. Are you supposed to be able to die? Because I can't seem to manage it.. You could add walls to make it more interesting.. not just on the sides but throughout the middle of the maze too..
  8. First game I played I died on the first click.. the windows game always had it so that couldn't happen, you might want to change that, not really an essential thing though. It works good and the GUI looks nice. In addition to the right click for mines I really like the right and left click together to automatically cancel everything that isn't a mine. Only other suggestion I have is to change the contrast a little between the empty places and the ones where you haven't clicked yet. I was getting a confused because they just seemed to similar. Side note a little off topic: Anyone know why windows 7 decided to take out their games? I really enjoyed being able to play those whenever I was bored..
  9. Looks really good.. I played against myself and won both times!
  10. Nice! I can get some words to work great, others not at all.. however I'm definitely thinking of hooking this up with a few key things I use a lot on my computer.. say "mail" to open gmail, or music to open foobar.. other random things: "shut down", "watermelon" (key word to tell my computer to get rid of all incriminating files ), "number calc".. et cetera.. actually I might do that right now and post here just so people can see more.. or I might go to bed.. Just change the SpRecEvent_Recognize function to this.. I was surprised by how little I had to add: Func SpRecEvent_Recognition($StreamNumber, $StreamPosition, $RecognitionType, $Result) $temp = $Result.PhraseInfo.GetText ConsoleWrite($RecognitionType & "||" & $Result.PhraseInfo.GetText & @CRLF) Switch $temp Case 'mail' ShellExecute('www.gmail.com') Case 'music' Run('C:\Program Files (x86)\foobar2000\foobar2000.exe') Case 'number' Run('calc.exe') EndSwitch EndFunc ;==>SpRecEvent_Recognition
  11. Mind posting it in a non rar format as well?
  12. When it's not compiled FileInstall acts as pretty much a FileCopy command.. check the helpfile for more info on that. As for suggestions, these are all just my opinions on what would make your program look more professional and operate more functionally.. Take the "error" out of the "Do you want to create a music library?" Your asking a question, it's not really an error at all.. I'm used to seeing that x and expecting that my program has crashedYour main GUI wastes lot of open space, I personally think GUI's shouldn't have lots of blank useless spaceInstead of a progressbar for the song progress, let the user use a seek bar, what you have now is kind of cool, but seek bars are definitely more functional for thisRight clicked the playlist listview and clicking edit crashes the program for me (at least when the list is blank)This next one is really tricky, I had a media player once and it took me forever to figure out how.. but instead of having an extra almost hidden column for the full file name.. use an array, look at the _GUICtrlListView_MapIDtoIndex and MapIDtoIndexHaving a pretty listview isn't worth having to completely redraw it whenever you delete an itemIn the title column of your listview, trim out the.mp3.. the user doesn't care (or at least I never do)I think it's kind of weird that the "Playlist" window is always on top of the other window.. (try dragging one below the other to see what I mean)Your seek/timer update freezes if you click on a menu item.. to fix this you can use AdLibRegister and put everything in you main While loop (or most of it) into the function.. One thing I don't like in random play is that occasionally it will repeat the same song right after it's just been played..First time I exited the msgbox disappeared before I could answer.. Plus, I would just automatically save window positions.. also column widthsLoad a song list is weird.. first of all because it doesn't let you select a song list.. secondly it doesn't seem to make the listview pretty like what happens when you select add song to libraryLast thing I'll mention is that this isn't recognizing any of my media data (no track#, no album no artist..).. I'm not really sure why
  13. I figured it out.. it has to do with the FileInstall lines... seeing as I have no G drive it causes some issues. I just commented those all out (seeing as the file was already right where all the includes were) and it worked fine. It's a pretty good start. However, there's lots that can be done to make it more functional..
  14. All I did was download the zip, extract it, then put the Bobs_media_player.au3 into the folder.. ran it.. and that error pops up non stop (have use task manager to kill it). Win7/64bit latest autoit
  15. Good job on these! I learned about sorts but never used them much.. It's nice to know that _ArraySort is the fastest (at least for what I tested on).. I also got a bug like pierrotm777, but adding a _ on line 51 fixed it...
×
×
  • Create New...