[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
Pete's QBASIC Site Discuss QBasic, Freebasic, QB64 and more 2018-12-15T19:06:37-05:00 http://petesqbsite.com/phpBB3/app.php/feed/topic/9408 2018-12-15T19:06:37-05:00 2018-12-15T19:06:37-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=32612#p32612 <![CDATA[Re: QB45 sprite/palette management]]> Statistics: Posted by mathias — Sat Dec 15, 2018 7:06 pm


]]>
2018-12-15T17:53:32-05:00 2018-12-15T17:53:32-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=32611#p32611 <![CDATA[QB45 sprite/palette management]]>
I checked most tutorials about palette and sprites. They all start either by drawing the sprites with QB commands(circle, line, ..) or with some pre-defined DATA statements.
What I'd like to do is to use external paint or pixel art software to draw the sprites and then import them as 1-byte Bitmaps. I thought this is easy, but I experience some stumble blocks: I've drawn three 20px* 20px sprites as a test, but I already don't know how to proceed. Obviously, but I realized this only afterwards, I should have started with palette management before drawing sprites, because if the total amount of colors used in my sprites exceeds 256, I can't show them all together on SCREEN 13. But even managing to use less than 256 colors I do not know how to proceed. It seems to me one would need some special software or libraries to manage all this. Or how does one do this sort of stuff?

Any ideas?

Statistics: Posted by mathias — Sat Dec 15, 2018 5:53 pm


]]>