This forum provides RSS feed. To query recent posts use this url. More...
//the starting position is at the bottom left of the screen (1024x768)this.X = 2;this.Y = 768;var move; //by increasing or decreasing "i" the pop-up window movement speed increase or decreasefor (var i = 0; i<=this.Height; i = i+2){ Sleep(1); move = 768 - i; this.Y = move; }//wait some time before window scrolls down and disappearSleep(3000);for (var j = 0; j<=this.Height; j = j+2){ Sleep(1); move = (Scene.Height - this.Height) + j; this.Y = move; }
Now i'm facing another problem...if player click on the window...he can drag and drop it, and obviously i don't want it to be...
Just a note, avoid too short periods when calling Sleep....Use at least 20 milliseconds
Just set window's "Transparent" property to true in WindowEdit. That way it will ignore mouse clicks completely.