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 / This doesnt work

Author
Message
Cyberflame
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: Im not sure....
Posted: 7th Apr 2004 03:23
Im lost to why this wouldn't work. It says the image wont load. I have the images in their directoy. I have the source and the part of the code thats giving me trouble.


DANGIT NEO, YOU CHANGED THE CODE AND NOW THE MATRIX WONT TEXTURE RIGHT.
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 7th Apr 2004 03:29 Edited at: 7th Apr 2004 03:30
Quote: "load image "MediaBucket Kaboom.bmp" , bucket,1
load image "Mediafront veiw.bmp" , front1,1
load image "MediaKaboom Robber.bmp" , rob,1
load image "Mediabomb.bmp" , bomb,1
load image "Mediabackdrop kaboom.bmp" , back1,1"



ok lets break it down.

spelling issues : front veiw.bmp is that spelt correctly?

filename syntax : Capitals and spaces are not advised for simplisity

media control : are you storing the media numbers in these words? front, rob, bomb, back1 ? in your source button they would all be zero since they are not global and being used inside a function.

dbp issue : recreate the dbp file if no external media is loading


fall down seven times, stand up eight
Cyberflame
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: Im not sure....
Posted: 7th Apr 2004 22:57 Edited at: 7th Apr 2004 23:04
It was the global variables problem. I have qanother problem though.
This doesnt make the buckets move.



DANGIT NEO, YOU CHANGED THE CODE AND NOW THE MATRIX WONT TEXTURE RIGHT.
Emperor Baal
20
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 7th Apr 2004 23:46
is z# global?

if not, then the variable z# is created with value 0, the buckets are positioned to the new position, and variable z# is destroyed.

Quote: "
UPDATED

Amd 2800+ 1024mb pc3200 A7N8X - Deluxe Ati Radeon 9800PRO 256mb
"
zircher
21
Years of Service
User Offline
Joined: 27th Dec 2002
Location: Oklahoma
Posted: 7th Apr 2004 23:48 Edited at: 7th Apr 2004 23:49
Is z# a global variable? Otherwise, in a function it will be treated as a local variable and zero + .5 is always .5 each time you call the function.
--
TAZ


LOL, looks like Baal beat me to the punch.

Cyberflame
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: Im not sure....
Posted: 12th Apr 2004 01:58
Thanks, that worked

DANGIT NEO, YOU CHANGED THE CODE AND NOW THE MATRIX WONT TEXTURE RIGHT.

Login to post a reply

Server time is: 2024-09-22 04:26:36
Your offset time is: 2024-09-22 04:26:36