Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Moving images around on screen

Author
Message
sgalland
22
Years of Service
User Offline
Joined: 18th Nov 2002
Location: United States
Posted: 21st Mar 2004 03:59
Greetings, in my previous posts I been mentioning that I am trying to make a window, but maybe I am not explaining it right. What I am doing is making a bitmap that a user can click on any portion of it and it will move where you drag the mouse. But when you drag the mouse it just stutters the image and will not move it correctly. Here is the code I am using to move the bitmap around:



Any suggestions in being able to move the bitmap around is appreciated.
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 21st Mar 2004 06:40
The PASTE IMAGE command is good for putting an image on screen if you plan on keeping it there a while. For constantly moving images check out the SPRITE commands.

Crazy Donut Productions
Current Project: KillZone

Login to post a reply

Server time is: 2025-06-02 06:15:12
Your offset time is: 2025-06-02 06:15:12