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.

2D All the way! / sprites and the texture flag

Author
Message
BlinkOk
22
Years of Service
User Offline
Joined: 22nd Oct 2003
Location:
Posted: 22nd Aug 2005 14:38 Edited at: 22nd Aug 2005 15:01
hi,
i'm just wondering about the "create animated sprite" command. i'm doing some tests at the moment and it appears that if i use "load image" with the texture flag set to 1. then "create animated sprite" using the same image filename. then set the image number of the sprite to the "load image" number i get a crisper image.
is this the way i should be going about getting the best quality sprite or is there another way?
is there a memory overhead when i "create animated sprite" and then throw away that image to use a previously loaded image?
is there some command that can set the texture flag for an animated sprite?
thanks in advance
blink

P4 2.8Ghz, 2Gb, 128Mb Radeon Pro, Dark Basic PRO
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 23rd Aug 2005 13:18
Due to a bad bug in 'create animated sprite' introduced in last patch, then you need to reload image into same image number with the texture flag. See here for full details:

http://forum.thegamecreators.com/?m=forum_view&t=56605&b=15

Before 5.8, 'create animated sprite' loaded everything pixel perfect, whatever size sprite you chose.

Now, however you will find a garbled blurry mess, unless you reload the image. At least there is a workaround until it's fixed hopefully in next patch

Boo!
BlinkOk
22
Years of Service
User Offline
Joined: 22nd Oct 2003
Location:
Posted: 24th Aug 2005 00:32
thanks spooky.

P4 2.8Ghz, 2Gb, 128Mb Radeon Pro, Dark Basic PRO

Login to post a reply

Server time is: 2026-07-08 15:13:52
Your offset time is: 2026-07-08 15:13:52