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 Discussion / Objects don't exist?

Author
Message
Binary Coder
18
Years of Service
User Offline
Joined: 26th Feb 2007
Location: Queensland, Australia
Posted: 18th Apr 2007 13:39
Hi,
I was busy writing this program about ANZAC monuments ect. for a school assignment. But when it was almost complete and working, something weird happend. I was trying to change the textures of my matrix and backdrop from moss and tiled clouds to green grass and a large clouds. From the on all I know is that it says that the objects and textures don't exist! I don't understand because it was working before!

Here is the code:


thank you!

Why buy a game when you can make one?
SimSmall
20
Years of Service
User Offline
Joined: 7th Aug 2004
Location: United Kingdom
Posted: 18th Apr 2007 15:19 Edited at: 18th Apr 2007 15:20
Most probably caused by the relative path...

to see, store a variable with get dir$() - which will return the current directory... then use the set dir statement to change into the correct directory

...and avoid using absolute pathnames

Login to post a reply

Server time is: 2025-05-27 22:47:45
Your offset time is: 2025-05-27 22:47:45