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 / Sprites appearing doubled the size (Possible bug?)

Author
Message
SJPro
23
Years of Service
User Offline
Joined: 3rd Jul 2003
Location:
Posted: 6th Sep 2011 14:12
I've hit what I think might be a bug, but wanted to hear other people's thoughts and experiences just in case I missed something. I'm near the end of making game and suddenly found certain sprites appearing double in size.

During investigation I found if I query the size of the sprite via sprite width(#) the sprites then behave appropriately. To fix the problem in my game I had to insert the line:

dummy=sprite width(id)

after I had used:

sprite id,0,0,imagenum

If I have time and people think it will be useful I will try and isolate the code that can recreate it.

Thanks

www.freewarehub.net
BatVink
Moderator
23
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 6th Sep 2011 19:12
Can you recreate it on a different computer? It may be a graphics card issue.

Login to post a reply

Server time is: 2026-07-10 09:57:06
Your offset time is: 2026-07-10 09:57:06