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 / Loading anything

Author
Message
May0naise
16
Years of Service
User Offline
Joined: 16th Nov 2008
Location: Lost in Time
Posted: 22nd May 2010 06:29
I've been having problems loading anything. I've always had this problem too. Ill set the Dir to "D:\Pong\Media\" But not one thing I try to load works. For example, Ill try loading 'Paddle.jpg" but it doesn't work.

Who you chose to be around you, lets you know who you are.
luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 22nd May 2010 13:25
Can you show some example code that is not working for you?

For example how you need to load your image :


Anyway my advice is to use relative paths to your media like this:


Where there is a will, there is a way.
I often edit my posts, that`s who i am

Login to post a reply

Server time is: 2024-11-24 15:35:43
Your offset time is: 2024-11-24 15:35:43