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 Professional Discussion / Scaling a texture

Author
Message
EdzUp
22
Years of Service
User Offline
Joined: 8th Sep 2002
Location: UK
Posted: 18th Jan 2003 11:11
In DB it was Scale Image IIRC but for the life of me I cant find anywhere in the docs a DBPro equivalent, anyone have any ideas ?
-EdzUp
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 18th Jan 2003 12:20
I cant find one either - you can get around it by getting a sprite to use the image and then scale that...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
EdzUp
22
Years of Service
User Offline
Joined: 8th Sep 2002
Location: UK
Posted: 18th Jan 2003 23:35
not the same as using one command tho

-EdzUp
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 19th Jan 2003 00:24
No, sorry - looking through the DBC help, there is no evidence of a SCALE IMAGE command in DB classic or DBPro for that matter. The only option is to create a sprite on screen, scale it, get the image from the screen and delete the sprite.

Agreed - Scale image would be nicer.

NOBODY has a forum name as stupid as Darth Shader. I do.
EdzUp
22
Years of Service
User Offline
Joined: 8th Sep 2002
Location: UK
Posted: 19th Jan 2003 13:04
Found it its SCALE OBJECT TEXTURE this will only scale when the texture is on an object, IMHO we need a scale texture command to scale textures 'devoid' of the object its gonna be put on.

-EdzUp
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 20th Jan 2003 00:44
I agree. I think I've nagged Lee too much recently so won't forward the request to him just yet.

NOBODY has a forum name as stupid as Darth Shader. I do.
brittd
22
Years of Service
User Offline
Joined: 28th Oct 2002
Location:
Posted: 20th Jan 2003 05:30
EdzUp the command copy bitmap allows you to scale an image. Look it up in the help. You can tell the destination image to be smaller or larger.

Login to post a reply

Server time is: 2025-05-18 15:33:58
Your offset time is: 2025-05-18 15:33:58