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.

Bug Reports / DBP 7.5 - Sprite Visible command bug

Author
Message
Marco A G Pinto
17
Years of Service
User Offline
Joined: 26th May 2006
Location: Portugal
Posted: 8th Aug 2010 04:45
Hello!

If we hide a sprite and then use the command to check if it is visible, it always returns TRUE.

Thanks!

Kind regards,
>Marco A.G.Pinto
---------------
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 8th Aug 2010 13:47 Edited at: 8th Aug 2010 13:51
[Edit Oops! Misread your post - I'll be back shortly with a further test. ]
[Edit2 OK fixed my code - it still works perfectly.

Post some simple code showing the problem.

The following code works perfectly with U7.5.

Marco A G Pinto
17
Years of Service
User Offline
Joined: 26th May 2006
Location: Portugal
Posted: 8th Aug 2010 16:28
Hello Green Gandalf!

This is wierd.

I coded a small routine and it works okay in it too...

but in the game I am coding, it doesn't...

I don't know what to say...

I have used lots of effects like alpha channel and others... maybe it is because of that that it fails?

Thanks!

Kind regards,
>Marco A.G.Pinto
---------------
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 9th Aug 2010 00:31
Quote: "but in the game I am coding, it doesn't..."


Suggests the error is caused by something else in your code but not necessarily. If you're still having the problem and can't find the cause then try to narrow it down by removing everything that is irrelevant to the bug. Proceed in stages carefully - if you remove too much at once you may find it hard to decide what is causing the problem.

One possibility is that you are not using the correct sprite numbers. Have you checked those carefully?

Login to post a reply

Server time is: 2024-04-24 12:04:45
Your offset time is: 2024-04-24 12:04:45