satyrsfaction Posted July 2, 2020 Share 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 Link to comment Share on other sites More sharing options...
CapitanClassic Posted July 2, 2020 Share Posted July 2, 2020 Do you only have one copy, or multiple copies of P0? Quote Link to comment Share on other sites More sharing options...
satyrsfaction Posted July 2, 2020 Author Share 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 Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 2, 2020 Share 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 Link to comment Share on other sites More sharing options...
satyrsfaction Posted July 2, 2020 Author Share 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 Link to comment Share on other sites More sharing options...
satyrsfaction Posted July 2, 2020 Author Share 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 Link to comment Share on other sites More sharing options...
+Random Terrain Posted July 2, 2020 Share 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 Link to comment Share on other sites More sharing options...
+TwentySixHundred Posted July 2, 2020 Share 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 Link to comment Share on other sites More sharing options...
+Karl G Posted July 2, 2020 Share 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 Link to comment Share on other sites More sharing options...
satyrsfaction Posted July 2, 2020 Author Share Posted July 2, 2020 Thank you everyone. 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.