Real Software Forums
http://forums.realsoftware.com/

SpriteSurface: Moving sprite leaves trail on Vista/Windows 7
http://forums.realsoftware.com/viewtopic.php?f=6&t=41203
Page 1 of 1

Author:  sarah_rb [ Fri Oct 28, 2011 6:10 am ]
Post subject:  SpriteSurface: Moving sprite leaves trail on Vista/Windows 7

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

Author:  swort [ Fri Oct 28, 2011 9:12 am ]
Post subject:  Re: SpriteSurface: Moving sprite leaves trail on Vista/Windo

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

Author:  sarah_rb [ Fri Oct 28, 2011 1:29 pm ]
Post subject:  Re: SpriteSurface: Moving sprite leaves trail on Vista/Windo

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?

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/