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 / Background help

Author
Message
attackmac
17
Years of Service
User Offline
Joined: 23rd Mar 2007
Location:
Posted: 24th May 2007 18:47
i am making a pong game for my school, and i am trying to put a background in it. I have used the code

load image "C:\Documents and Settings\kevini\Desktop\BG\BG-3.jpg",1
paste image 1,0,0

for it, but the background wont load at all... is there any other code that loads a background image? or can someone tell me where i have to
put it????
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 24th May 2007 23:59
Firstly, don't use an absolute path like that. You can't move that code to another computer because it's specific to your hard-drive.

Secondly, try looking at the Space Invaders tutorial, that may help...

http://www.thegamecreators.com/data/newsletter/newsletter_issue_45.html#9

attackmac
17
Years of Service
User Offline
Joined: 23rd Mar 2007
Location:
Posted: 25th May 2007 18:28
ok, thanks a lot. im reading the tut now.

Login to post a reply

Server time is: 2024-09-26 22:42:37
Your offset time is: 2024-09-26 22:42:37