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 / Noob need help!

Author
Message
Slooper
21
Years of Service
User Offline
Joined: 13th Feb 2003
Location: Sweden
Posted: 19th Nov 2004 02:04 Edited at: 19th Nov 2004 02:11
okay I have been member here for a long time but I am still a noob. But now I rally want to learn this thing

the problem is that i cant see the image when i test the program.



in the code: "paste image" there are numbers 1,255,85 1 is of curse for the imagenumber but what are the other 2 for?

(the image is attached to this message)

You never fail, only make mistakes.

Attachments

Login to view attachments
The Nerd
20
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 19th Nov 2004 02:17
i think its because darkbasic cant take a TGA file try to make it BMP or JPG (If you have dbpro then you can have JPG)


the first (like you said) is the image number the two others are the X and Y cordinates(i think).


Hope that helped



-Waggames

wanna join Waggames?
then visit our site at : http://www.freewebs.com/waggames
my old forum name was: The Nerd
Slooper
21
Years of Service
User Offline
Joined: 13th Feb 2003
Location: Sweden
Posted: 19th Nov 2004 02:20 Edited at: 19th Nov 2004 02:52
the thing is that it can handle .tga files, any other soloution? I really need help

You never fail, only make mistakes.
computer
20
Years of Service
User Offline
Joined: 5th Oct 2004
Location:
Posted: 19th Nov 2004 04:48 Edited at: 19th Nov 2004 04:51
Try using the SYNC command after the paste image. This will update the screen. Don't forget to set SYNC ON at the top of your program.

Also, if you are setting up other bitmaps in the program, use the command SET CURRENT BITMAP 0 before pasting the image. This is the main screen.Try reading this http://www.100megspop2.com/magellan/dbj.html

bleep bleep
Slooper
21
Years of Service
User Offline
Joined: 13th Feb 2003
Location: Sweden
Posted: 20th Nov 2004 06:09
hmm suddenly it works i just restarted darkbasic and it worked strange

You never fail, only make mistakes.

Login to post a reply

Server time is: 2024-11-27 14:33:28
Your offset time is: 2024-11-27 14:33:28