Jump to content
Sign in to follow this  
TooSlowGamer

Quick Sprites Question in visualbB

Recommended Posts

OK, this is probably a dumb question with a simple answer, but I just can't find out how to do this.

 

In VisualbB when I create a new sprite, I double click it and the sprite editor pops up. It's always set on 7X7 I know it can only have 7 across, but how do I get taller sprites?

 

Also, is it possible to have multicolored sprites in VisualbB?

 

EDIT: Sorry, I figured it out. I knew it was a simple answer. But, in case anyone looks at this thread years from now trying to figure out how to do it, you just right click.

Edited by TooSlowGamer

Share this post


Link to post
Share on other sites

Remember to set the Region to NTSC before editing yer sprite. Otherwise the colors will be off when you drag-and-drop the sprite into your code.

 

Also remember to SAVE ALL before dragging and dropping your sprite as the changes aren't applied until then.

Edited by theloon

Share this post


Link to post
Share on other sites

Remember to set the Region to NTSC before editing yer sprite. Otherwise the colors will be off when you drag-and-drop the sprite into your code.

 

Also remember to SAVE ALL before dragging and dropping your sprite as the changes aren't applied until then.

 

Thanks, but now I ran into another problem. This is the code for my playfield:

 

pfcolors:

$F6

$F6

$F6

$F6

$F6

$F6

$F6

$F6

$F6

$F6

$F6

end

playfield:

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

XX............................XX

XX............................XX

XX............................XX

XX......XX....................XX

XX......XX...........XX.......XX

XX...................XX.......XX

XX............................XX

XX............................XX

XX............................XX

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

end

 

When I attempt to compile it it says "PFcolors kernel options not set" and won't compile.

Share this post


Link to post
Share on other sites

You got yer kernel options rockin'?

 

Something like:

 set kernel_options pfcolors

 

Random Terrain has an awesome page that details the options

http://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#kerneloptions

 

Thanks, that piece of code worked. You have to keep in mind that I'm a complete beginner and I'm just messing around before I start a program.

 

Now, third problem. The colors appear, but (well, I think) I set the playfield to gray and the background to black (using COLUBK = 240), but when I try it in Stella it comes out brown.

 

I think it could be something to do with the emulator, though? Like a different region?

 

EDIT: Just completely ignore that, I actually did set them to brown.

Edited by TooSlowGamer

Share this post


Link to post
Share on other sites

Remember to set the Region to NTSC before editing yer sprite. Otherwise the colors will be off when you drag-and-drop the sprite into your code.

 

Also remember to SAVE ALL before dragging and dropping your sprite as the changes aren't applied until then.

 

That will be fixed in the next update.

Share this post


Link to post
Share on other sites

I don't want to start a new topic for every little question I have, so I'll ask the minor ones in here.

 

Could someone explain to me how to put music and a title screen together? I have the .bas file for the music and I have the code for the playfield (title screen). How do I put them together? A tutorial on this would be nice if there is one out there.

 

Also, how would you go about putting in a command to get out of the title screen?

 

A tutorial on title screens would be really nice.

Edited by TooSlowGamer

Share this post


Link to post
Share on other sites

I don't want to start a new topic for every little question I have, so I'll ask the minor ones in here.

 

Could someone explain to me how to put music and a title screen together? I have the .bas file for the music and I have the code for the playfield (title screen). How do I put them together? A tutorial on this would be nice if there is one out there.

 

Also, how would you go about putting in a command to get out of the title screen?

 

A tutorial on title screens would be really nice.

 

 

As a start I'd make music with the Music and Sound Editor and then use CREATE .BAS to make a template for my game. You can add your title screen to music.bas and the rest of your game. I personally merge the code from music.bas to my main program manually which can be a pain.

 

I usually add a line in the title screen loop like:

 if joy0fire then goto main

where main is the main routine of your game.

 

The post for the VisualbB download also has these helpful links:

http://www.randomterrain.com/atari-2600-memories-batari-basic-vbb.html

http://www.tinkernut.com/archives/1396

Share this post


Link to post
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.

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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...