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 / get image problem

Author
Message
elie
20
Years of Service
User Offline
Joined: 12th Sep 2004
Location:
Posted: 29th Dec 2004 23:52
i am writting a small program ( or trying ) that converts singe images into an animation strip but i have come across a problem.

the program works like this ...

loads images ( frames ) 1 - 30
puts frames onto screen via sprite & size sprite command
get image ( whole screen - 0,0,1024,768 )
save image xxx.bmp

however when i load image xxx.bmp in an art package all i am getting is a blank screen ... im hoping its something simple i need to adjust .. any advise ?
demons breath
21
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 29th Dec 2004 23:57
have you used create bitmap before save bitmap 'cos I think you need to do that (not sure though). Also, try the set current bitmap command. It would be easier to understand and help if you posted some of your code.

Am I the only one here who's really confused?
http://db1games.topcities.com
http://demonsbreath.topcities.com
elie
20
Years of Service
User Offline
Joined: 12th Sep 2004
Location:
Posted: 30th Dec 2004 00:03
i have not used the bitmap command ( as im not sure what the difference between image, sprite, bitmap is ) - i will try and fiddle around with the bitmap commands.

thanxs
the_winch
21
Years of Service
User Offline
Joined: 1st Feb 2003
Location: Oxford, UK
Posted: 30th Dec 2004 00:34
GET IMAGE will not capture sprites. You need to use either PASTE IMAGE or PASTE SPRITE to put the image on the screen bitmap so it can be captured by GET IMAGE.

Quote: "this is not a quote"
elie
20
Years of Service
User Offline
Joined: 12th Sep 2004
Location:
Posted: 31st Dec 2004 16:54
i am now using the paste sprite command which in theroy is working - however i cant seem to paste more than 1 sprite on the screen at a time - as one appears the other disapears.

please help this is driving me mad
elie
20
Years of Service
User Offline
Joined: 12th Sep 2004
Location:
Posted: 31st Dec 2004 18:34
ok now my head hurts ....

can someone explain how to create a bitmap - ive given it a go create bitmap 1,1024,768 & set current bitmap 1 but now all i get is a black screen ( none of the paste sprite commands / paste image / text and so on are appearing ) and to top it off the save image command is still capturing a plain BLUE screen.

i thought this program would be so simple to create
wmf
20
Years of Service
User Offline
Joined: 6th Nov 2004
Location:
Posted: 31st Dec 2004 21:44
set windowed 1024x768 in the settings panel on the right then try something like this:
elie
20
Years of Service
User Offline
Joined: 12th Sep 2004
Location:
Posted: 31st Dec 2004 22:26
thanx buddy - that did the trick

Login to post a reply

Server time is: 2024-11-27 18:46:19
Your offset time is: 2024-11-27 18:46:19