Jump to content
Sign in to follow this  

Creating overlapping pictures is causing a bug

Recommended Posts

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.zip

EDIT: See next post for solution

Edited by Piano_Man

My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]

Share this post

Link to post
Share on other sites

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


While 1 
    Switch GuiGetMsg() 
        Case -3 


Edited by rasim

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...