Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Mon Oct 14, 2019 4:14 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: SpriteSurface: Moving sprite leaves trail on Vista/Windows 7
PostPosted: Fri Oct 28, 2011 6:10 am 
Offline

Joined: Thu Oct 27, 2011 3:23 am
Posts: 3
I am updating a system that makes use of RealBasic's SpriteSurface and the issue is that when sprites move they leave behind a trail of color wherever they have been. The color is not a solid color but at about 20% intensity of the color of the original sprite - underlying background images appear faded where the sprite has been. This occurs on Windows 7 and Vista only, XP is unaffected. The Mac platform is unaffected. All programs containing SpriteSurface and moving sprites are affected.

- The sprites and the SpriteSurface both have a bit depth of 32 bits. Going down to 24 bits and up to 64 bits has no effect.
- Running the program in XP compatibility mode has no effect.
- Placing one or more MoviePlayer control objects onto the window has no effect.
- SpriteSurface1.Refresh and SpriteSurface1.Update in the NextFrame event has no effect.
- SpriteSurface.Run / Timer and SpriteSurface.Update: No effect.
- Moving away from RBs SpriteSurface is not an option right now.

This issue has been noted in the past without a stable resolution being found:
http://www.monkeybreadsoftware.eu/lista ... 28-3.shtml
viewtopic.php?f=10&t=29973&p=165107
viewtopic.php?f=4&t=9263
http://www.realsoftware.com/listarchive ... 01271.html

I am using RB 2011 Release 3, professional edition. It is not clear if this is due to changes to RB Release 3.

There must be a way around this? Can anyone please help - I am out of ideas!
Thanks in advance - Sarah


Top
 Profile  
Reply with quote  
 Post subject: Re: SpriteSurface: Moving sprite leaves trail on Vista/Windo
PostPosted: Fri Oct 28, 2011 9:12 am 
Offline

Joined: Mon May 31, 2010 5:35 am
Posts: 2412
Location: Netherlands
Read this (below the page)

http://docs.realsoftware.com/index.php/Deprecations_in_REALbasic

you will see this on the bottom:
Quote:
Deprecated in 2008 Release 1
SpriteSurface (use SuperSpriteSurface from http://tinrocket.com)
NewAppleEvent (use AppleEvent constructor)
CSV Plugin (use third-party replacements)
Removed PPPSocket

_________________
SWORT™
- Windows Vista, Windows XP, Windows 7, Linux Mint 11 and Mac OSX Lion
- REAL Studio Enterprise(latest) and WEB Edition(latest)
- Plugins (MBS Complete, ToringoLib, Einhugur, VanHoek + Some open source plugins)
For Dutch User Groups ask me to enter!


Top
 Profile  
Reply with quote  
 Post subject: Re: SpriteSurface: Moving sprite leaves trail on Vista/Windo
PostPosted: Fri Oct 28, 2011 1:29 pm 
Offline

Joined: Thu Oct 27, 2011 3:23 am
Posts: 3
I am aware that SpriteSurface is deprecated, however I am also aware that a lot of people are still using it and for the moment I need to use it.

For those that are still using RBs SpriteSurface is there any way around this that does not involve recoding for SuperSpriteSurface or similar?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group