Achilles Posted December 27, 2007 Share Posted December 27, 2007 (edited) I am making a card game and in the script several card images overlap... this causes a problem with the pictures blending... I have included a simple script that demonstrates the problem: Problem.zipEDIT: See next post for solution Edited December 27, 2007 by Piano_Man My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
Achilles Posted December 27, 2007 Author Share Posted December 27, 2007 I found the solution! I created the blank pictures before the GuiSetState() and then used GuiCtrlSetImage() with the image I wanted My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
rasim Posted December 27, 2007 Share Posted December 27, 2007 (edited) Hello Piano_Man! I created the blank pictures before the GuiSetState() and then used GuiCtrlSetImage()Sorry if my advise is stupid, you try this?: GuiCreate('Testing', 190, 125) $x = 10 For $index = 1 to 7 GuiCtrlCreatePic(@ScriptDir & '\c' & $index & '.jpg', $x, 15, 71, 96) $x += 16 Next GuiSetState() While 1 Switch GuiGetMsg() Case -3 Exit EndSwitch WEnd Edited December 27, 2007 by rasim Link to comment Share on other sites More sharing options...
Achilles Posted December 27, 2007 Author Share Posted December 27, 2007 I realized that would work too, for the given problem... however this is going to be a card game in which cards are dealt multiple times... I can't recreate the whole GUI (or rather don't want to) every time in order to have the cards set up... My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] 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