satyrsfaction #1 Posted July 2, 2020 OK, I'm trying to make missile 0 eight pixels wide in DPC+. I use NUSIZ0 = $30, but it doesn't do anything. The missile is still 1 pixel wide. what am I missing? Quote Share this post Link to post Share on other sites
CapitanClassic #2 Posted July 2, 2020 Do you only have one copy, or multiple copies of P0? Quote Share this post Link to post Share on other sites
satyrsfaction #3 Posted July 2, 2020 41 minutes ago, CapitanClassic said: Do you only have one copy, or multiple copies of P0? just one copy...I just want missile0 to be 8 x 8 pixels Quote Share this post Link to post Share on other sites
+Random Terrain #4 Posted July 2, 2020 It seems to be working here, but it was compiled a long time ago: https://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#ex_dpc_13_objects Try compiling it and see if you can change the size of the missiles by selecting them, holding down the fire button, then moving the joystick left or right. Quote Share this post Link to post Share on other sites
satyrsfaction #5 Posted July 2, 2020 10 minutes ago, Random Terrain said: It seems to be working here, but it was compiled a long time ago: https://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#ex_dpc_13_objects Try compiling it and see if you can change the size of the missiles by selecting them, holding down the fire button, then moving the joystick left or right. yes, that program works fine, though it's a bit confusing to look at for me. Is there something else I need to set for this to work? I mean, if you were writing a game that did nothing but set the missile0 width to 8, what would it look like? Quote Share this post Link to post Share on other sites
satyrsfaction #6 Posted July 2, 2020 33 minutes ago, Random Terrain said: It seems to be working here, but it was compiled a long time ago: https://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#ex_dpc_13_objects Try compiling it and see if you can change the size of the missiles by selecting them, holding down the fire button, then moving the joystick left or right. Well, I got it to work by moving the statement to inside the main loop...I don't know what that made a difference. Quote Share this post Link to post Share on other sites
+Random Terrain #7 Posted July 2, 2020 16 minutes ago, satyrsfaction said: Well, I got it to work by moving the statement to inside the main loop...I don't know what that made a difference. Yep, the bB page tells you when things need to be in the main loop: https://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#nusiz You might also want to look at this section: https://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#ephvarreg Quote Share this post Link to post Share on other sites
TwentySixHundred #8 Posted July 2, 2020 Yeah it needs to be in the mainloop with DPC+. The only reason i could think is the value is stored as a temp variable that gets obliterated after the drawscreen function is called (unlike most TIA registers) Quote Share this post Link to post Share on other sites
+Karl G #9 Posted July 2, 2020 It gets wiped out by the score routine specifically, which sets both player objects to 3 copies close in order to do a 6-digit score. 2 1 Quote Share this post Link to post Share on other sites
satyrsfaction #10 Posted July 2, 2020 Thank you everyone. Quote Share this post Link to post Share on other sites