Jump to content
IGNORED

can't place the sprites


mehguy

Recommended Posts

I tried writing the sprite x and y coordination, it wouldn't let me run it.

 

playfield:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
................................
................................
................................
................................
................................
................................
................................
................................
................................
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
end
COLUBK = $9C
COLUPF = $58
player0x=50:player0y=50
NUSIZ0 = 16
sprites
player0:
%00101000
%00101000
%01111100
%01111100
%01111100
%00111000
%00101000
%00010000
end
loop
drawscreen
goto loop

 

 

 

Link to comment
Share on other sites

not sure what your problem is

this works

 playfield:
 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 ................................
 ................................
 ................................
 ................................
 ................................
 ................................
 ................................
 ................................
 ................................
 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
end
 
 COLUBK = $9C
 COLUPF = $58
 player0x=50:player0y=50
 
 NUSIZ0 = 16
 
sprites

 player0:
 %00101000
 %00101000
 %01111100
 %01111100
 %01111100
 %00111000
 %00101000
 %00010000
end
 
 
 
loop
 drawscreen
 goto loop

sprites
Link to comment
Share on other sites

Ok it's either multicolored sprites or the missile...

 

Or you can use the DPC+ kernel and everything changes:

 

randomterrain.com/atari-2600-memories-batari-basic-commands.html#dpcplus

 

(Meaning you get multicolored sprites and you get to keep the missiles.)

Link to comment
Share on other sites

Or you can use the DPC+ kernel and everything changes:

 

randomterrain.com/atari-2600-memories-batari-basic-commands.html#dpcplus

I'm sure this is for the X value, but it's not specified so it might confuse newbies:

Player Graphics (DPC+)

...

Player1 only wraps because values larger than 165 cannot be supported, so to prevent crashes, DPC+ wraps automatically. It is up to the programmer to wrap player0, and the missiles and ball.

  • Like 1
Link to comment
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...