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 Professional Discussion / sprite visible() no work?

Author
Message
Flashing Blade
21
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 10th Nov 2002 23:13
sprite viible() don't work

i installed patch 2 (it says on the list of things fixed in patch2 is the SPRITE VISIBLE() but it no work on my computer.

do i need to install patch2 again or is SPRITE VISIBLE() still busted and accidently appeared under the heading "stuff fixed" instead of under the heading "stuff still bolloxed".

thnx
Easily Confused
21
Years of Service
User Offline
Joined: 22nd Oct 2002
Location: U.K. Earth. (turn right at Venus)
Posted: 10th Nov 2002 23:58
"stuff still bolloxed" hehe

Well I can tell you that since installing patch 2, Sprite Visible() works fine for me. So the problem does appear to be at your end I'm afraid.

What actualy happens? Can you give an example?

"Earth is the cradle of humanity,
but one cannot live in a cradle forever"
Konstantin E. Tsiolkovsky (1911)
ToXic
21
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Australia
Posted: 11th Nov 2002 00:05
working ok here.
if this code dont work then install patch 2 again.




ToXic.
Flashing Blade
21
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 11th Nov 2002 13:41
ok works fine...but let me explain why i thought broke

i tried to use the SPRITE VISIBLE() within a select-case thingy and it said error out of place something or other. now i looked at the line and sprite was written blue but visible was written black - so i pressed F1 on the visible bit and it didn't take me to the sprite visible() help it took me to the help main menu. so i jumped to the conclusion sprite visible() not a valid command. but now i know u can't do:
select x
case 1: if....

sorry for being stoopid and jumping to conclusions. but sprite visible() should appear all in blue to stop fool n00bs (like me) from getting confused

neway thnx for answering
Flashing Blade
21
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 11th Nov 2002 13:58
sorry i didn't read that b4 clicking post.

this what i did:
select x
case1:if sprite visible(1):.....:endcase
end select

its the if thats wrong and i thought it was the sprite visible() (because of the blue black thing i said above)

now i changed it to this:
select x
case 1 and sprite visible(1):......:endcase
end select

thnx

Login to post a reply

Server time is: 2024-04-27 02:02:55
Your offset time is: 2024-04-27 02:02:55