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.

Newcomers DBPro Corner / DBC... Resizing and positioning Bitmaps

Author
Message
Stupot
18
Years of Service
User Offline
Joined: 13th Jul 2006
Location: East Sussex
Posted: 19th Jul 2006 23:48
I feel terrible asking this question because it's basic stuff, but I've tried everything and I cant seem to be able to position my pictures where I want them on the page...
This is what ive got, can anyone tell me what to do now so that i can have the picture (which is about 300x200 pixels in size) sitting just underneath the text.


And if anyone could tell me what commands to use to resize a bitmap on the screen i would be very grateful... it's funny, i can do it with an animation but the same commands dont seem to work with picture files.

thanks
-Stu

-Stu
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 20th Jul 2006 00:15
LOAD IMAGE is what you need - make sure and set the optional texture flag to keep pixel perfect. Then just use PASTE IMAGE to paste image where you want.

Boo!
Pincho Paxton
21
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 20th Jul 2006 00:20 Edited at: 20th Jul 2006 00:21
get image or Load Image..
sprite .......image No
scale sprite ....whatever size

Stupot
18
Years of Service
User Offline
Joined: 13th Jul 2006
Location: East Sussex
Posted: 20th Jul 2006 00:31
Im think you've put me on the right track with LOAD IMAGE, but PASTE IMAGE doesn't seem to be a valid command. Are you sure that was DBC you were referring to?
Do you think you could give me a bit of example code using my snippet up there? Cheers Spooky.

-Stu
Stupot
18
Years of Service
User Offline
Joined: 13th Jul 2006
Location: East Sussex
Posted: 20th Jul 2006 00:49
Ahh, I've got it.

Easy when you know how.
Cheers guys.
the next step is to make that picture clickable but I'll try and work it out for myself before I get you guys on the case again.. hehe.

-Stu

Login to post a reply

Server time is: 2024-11-26 16:51:16
Your offset time is: 2024-11-26 16:51:16