RikFuzz Posted September 26, 2006 Share Posted September 26, 2006 Hi all, Is it possible to change a sprite's colour mid drawscreen? Ie, for each "line". Can't seem to find any way of doing this within bB. Many thanks Quote Link to comment https://forums.atariage.com/topic/94257-sprite-colours/ Share on other sites More sharing options...
+batari Posted September 26, 2006 Share Posted September 26, 2006 Hi all, Is it possible to change a sprite's colour mid drawscreen? Ie, for each "line". Can't seem to find any way of doing this within bB. Many thanks Yes. You need to be using the latest (unreleased) version of bB (0.99c), and set the playercolors or player1colors kernel options. If you want the patch to upgrade to 0.99c, send me a PM. Quote Link to comment https://forums.atariage.com/topic/94257-sprite-colours/#findComment-1144573 Share on other sites More sharing options...
+atari2600land Posted September 26, 2006 Share Posted September 26, 2006 What is the code in order to make a multi-colored sprite (since it does seem to be possible, is that what we're talking about)? Quote Link to comment https://forums.atariage.com/topic/94257-sprite-colours/#findComment-1144597 Share on other sites More sharing options...
+batari Posted September 26, 2006 Share Posted September 26, 2006 What is the code in order to make a multi-colored sprite (since it does seem to be possible, is that what we're talking about)? To specify the colors, use player0color: or player1color:, and the syntax is the same as player0: and the like. Quote Link to comment https://forums.atariage.com/topic/94257-sprite-colours/#findComment-1144632 Share on other sites More sharing options...
+atari2600land Posted September 27, 2006 Share Posted September 27, 2006 Do I need to set any kernel options? Quote Link to comment https://forums.atariage.com/topic/94257-sprite-colours/#findComment-1144773 Share on other sites More sharing options...
SeaGtGruff Posted September 27, 2006 Share Posted September 27, 2006 Do I need to set any kernel options? Yes, you need to specify "set kernel_options playercolors". I'm sure somebody can do better than this, so get busy. MR test_multicolor_players.bas test_multicolor_players.bas.bin Quote Link to comment https://forums.atariage.com/topic/94257-sprite-colours/#findComment-1144812 Share on other sites More sharing options...
pacfanboy Posted December 8, 2006 Share Posted December 8, 2006 Do I need to set any kernel options? Yes, you need to specify "set kernel_options playercolors". I'm sure somebody can do better than this, so get busy. MR I just downloaded 0.99 and i have a big question...how come when I try to compile the test_multicolor_players.bas file by typing "2600bas [name of the file].bas", i get an error message saying something about the "kernel name unknown"...i got the same thing when i tried to compile source code with "no blank lines" thing...how do you successfully compile with 0.99? thanks Quote Link to comment https://forums.atariage.com/topic/94257-sprite-colours/#findComment-1190703 Share on other sites More sharing options...
SeaGtGruff Posted December 8, 2006 Share Posted December 8, 2006 I just downloaded 0.99 and i have a big question...how come when I try to compile the test_multicolor_players.bas file by typing "2600bas [name of the file].bas", i get an error message saying something about the "kernel name unknown"...i got the same thing when i tried to compile source code with "no blank lines" thing...how do you successfully compile with 0.99? thanks There are three "releases" (or "un-releases"?) of 0.99-- two that batari posted in his blog, which are known as 0.99a and 0.99b, plus a third version which hasn't been posted in his blog, although you can get a copy of it by sending batari a PM and asking him for it. That third version-- 0.99c-- is the one which adds multi-colored sprites, so you won't be able to successfully compile the test program I'd posted unless you get version 0.99c. Also, to install 0.99c (if or when you get it from batari), you should install it on *top* of 0.99b, since it's a "patch" rather than a full release. Michael Quote Link to comment https://forums.atariage.com/topic/94257-sprite-colours/#findComment-1190732 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.