boski Posted August 12, 2011 Share Posted August 12, 2011 I just started batari basic a few weeks ago, and I can't figure this one out. I'm trying to create a multicolor sprite, but it always comes out all black. I've tried rearranging the commands, but the result is always the same. Here's my most recent code: player0: %00011100 %00011000 %00111100 %00111110 %00111100 %00111000 %00011000 %00011000 end player0x=45 player0y=60 Main COLUBK=$EE player0color: $40 $D0 $D0 $5E $5E $5E $2E $2E end drawscreen goto Main Also, I can't figure out the "set kernel multisprite" command. I never get an error message, but only two large sprites and an enlarged portion of the playfield show up in the emulator. Thank you anyone for any help! Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted August 12, 2011 Share Posted August 12, 2011 I just started batari basic a few weeks ago, and I can't figure this one out. I'm trying to create a multicolor sprite, but it always comes out all black. I've tried rearranging the commands, but the result is always the same. Here's my most recent code: player0: %00011100 %00011000 %00111100 %00111110 %00111100 %00111000 %00011000 %00011000 end player0x=45 player0y=60 Main_Loop COLUBK=$EE player0color: $40 $D0 $D0 $5E $5E $5E $2E $2E end drawscreen goto Main_Loop Here's one way you can do it: set kernel_options player1colors player1: %00011100 %00011000 %00111100 %00111110 %00111100 %00111000 %00011000 %00011000 end player1x=45 player1y=60 Main_Loop COLUBK=$EE player1color: $40 $D0 $D0 $5E $5E $5E $2E $2E end drawscreen goto Main_Loop Click on the link below for more information: http://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#kerneloptions Also, I can't figure out the "set kernel multisprite" command. I never get an error message, but only two large sprites and an enlarged portion of the playfield show up in the emulator. First thing I'd do is search the bB forum for Multisprite programs that people have posted and look at their code. Quote Link to comment Share on other sites More sharing options...
freshbrood Posted May 4, 2016 Share Posted May 4, 2016 In using the multi color sprite kernel (both players) is it possible to toggle it off then back on so I could use the missiles? For example, write the code to make the sprite one solid color when a missile is fired, then once the missile clears, go back to multi colors? Quote Link to comment 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.