Sign in to follow this  
Followers 0
LimeSeed

Geting a pic to move

1 post in this topic

How can i get a pic created with guictrlcreategraphic to move?

i used to use

$3 = guictrlcreatepic("grr.bmp", $1, $2, 50, 50
if _ispressed("25", $vDLL) then
$1 = $1 - 1
guictrlsetpos($3, $1, $2, 50, 50)oÝ÷ Ù»­-«bºÇ­+-¢f¤y©â¨×hzÉíÂäjx zÖ§f yÊÞj×Â+a趹­æ­z
Ú¦jëh×6$1 = guictrlcreategraphic(100, 100, 70, 35)
GUICtrlSetGraphic($1, $GUI_GR_COLOR, 0xFF0000, 0xFF0000)
GUICtrlSetGraphic($1, $GUI_GR_PIE, $rl, $rt, 42, 180, -180)

while 1
if _ispressed("25", $vDLL) then
guictrlsetpos($1, $rl, $rt, 50, 50)
wend

global $warming = true

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  
Followers 0