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 / Draw command for sprites and images

Author
Message
kinnon
18
Years of Service
User Offline
Joined: 31st May 2006
Location:
Posted: 31st May 2006 15:15
Hi, I\'m an old developer whose new to this.

Can anyone tell me how to draw shapes to images, sprites, or bitmaps, instead of direct to the screen?

I want to make a sprite, 20x20 pixels, and draw a square inside it so I dont have to draw the image in a paint package of a basic square. I dont have any code for this yet, as I really dont have a clue.

Thanks,
kinnon
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 31st May 2006 17:52
You draw the box and then use Get Image to grab it off the bitmap.

Login to post a reply

Server time is: 2025-05-25 04:11:36
Your offset time is: 2025-05-25 04:11:36