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 / Paste Image Help

Author
Message
Dodo
20
Years of Service
User Offline
Joined: 8th Aug 2004
Location: eating lunch
Posted: 12th Sep 2004 00:17 Edited at: 12th Sep 2004 00:19
Please help!!

when I call this function:



it comes up with "error image does not exist at line 192"(the paste image line)

I do not know why as i have loaded the image like this:



Can somebody help me please? any help greatly appreciated

Edit: sorry forgot to mention i was using DBPro
medwayman
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: uk
Posted: 12th Sep 2004 06:08
Every time you use set display mode it erases all of your images.

Based on Amiga PD game Squigs. Currently being re-written.

Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 12th Sep 2004 19:26
You can better make it a gosub instead of a function

Do you need a complete FPS engine ?? well here it is:
http://forum.thegamecreators.com/?m=forum_view&t=38869&b=6&p=0
Dodo
20
Years of Service
User Offline
Joined: 8th Aug 2004
Location: eating lunch
Posted: 13th Sep 2004 02:02 Edited at: 13th Sep 2004 02:03
cool thanks i never knew set display mode erased any images. hmm perhaps i'll have to load the image after changing the display mode thanks everyone. btw jopie dopie i prefer functions to gosubs. don't know why though.

does it erase objects as well? I hope not
Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 13th Sep 2004 05:33
no

Do you need a complete FPS engine ?? well here it is:
http://forum.thegamecreators.com/?m=forum_view&t=38869&b=6&p=0

Login to post a reply

Server time is: 2024-11-27 09:45:17
Your offset time is: 2024-11-27 09:45:17