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 / trying to load 2 bipmaps

Author
Message
sinkler20
23
Years of Service
User Offline
Joined: 12th Mar 2003
Location: United States
Posted: 20th Jun 2003 05:48
I created 2 bitmaps and I can get one to load but the other will not.
i'm just playing around trying to learn this and that, but eventually I would like to side scoll the 2nd image.
i'll put my source so you can look at it. ( it's a spin off of the scroll effect in the tutorial)
any help will be nice
thanks
philippians 4:13
Yuri
23
Years of Service
User Offline
Joined: 12th Jun 2003
Location: Italy
Posted: 20th Jun 2003 12:03
if you wato to use "get image" on this pic :load bitmap "halfcloud.jpg",1

you have to switch the working bitmap:

load bitmap "halfcloud.jpg",1
x1 = 0
y1 = 0
x2 = 800
y2 = 300
get image 1,0,0,800,300,0
set current bitmap 1 :rem switch to bitmap1
get image 2, x1,y1,x2,y2,0
set current bitmap 0 :rem switch back to bitmap 0

bye

CBMZone main administrator
http://www.cbmzone.com

Login to post a reply

Server time is: 2026-07-05 18:17:34
Your offset time is: 2026-07-05 18:17:34