Jump to content
IGNORED

Sprite colours


Recommended Posts

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.

Link to comment
https://forums.atariage.com/topic/94257-sprite-colours/#findComment-1144573
Share on other sites

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.

Link to comment
https://forums.atariage.com/topic/94257-sprite-colours/#findComment-1144632
Share on other sites

  • 2 months later...

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

 

post-7456-1159328950_thumb.jpg

 

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

Link to comment
https://forums.atariage.com/topic/94257-sprite-colours/#findComment-1190703
Share on other sites

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

Link to comment
https://forums.atariage.com/topic/94257-sprite-colours/#findComment-1190732
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...