Trip2018 Posted June 4, 2019 Share Posted June 4, 2019 (edited) I kinda got to thinking, what if you could use pfpixel as a sort of fake missile. It would flip every frame and motion would be on the second frame. Edited June 4, 2019 by Trip2018 Quote Link to comment Share on other sites More sharing options...
+SpiceWare Posted June 4, 2019 Share Posted June 4, 2019 Activision's Chopper Command uses the playfield as the shots from the chopper. You can see that by using a Developer Key to turn on Stella's Fixed Debug Colors mode. By referencing the color key on the TIA Tab of Stella's Integrated Debugger you can see that anything purple is drawn using the playfield. 1 Quote Link to comment Share on other sites More sharing options...
KevKelley Posted June 4, 2019 Share Posted June 4, 2019 This sounds interesting. Doesn't the pfpixel have different kind of coordinates versus a missile x y coordinate? Quote Link to comment Share on other sites More sharing options...
KevKelley Posted June 4, 2019 Share Posted June 4, 2019 (edited) I was curious if I understand this correctly. Looking at the Activision logo, I see it is made from player0 and player1. I assume that is because of pixel width limitations for the Sprite. I was wondering about how they alternate. Is that deal with how the image is drawn on the screen so as to not flicker? And as for using the pfpixel or playfield as a missile, would performing such an action provide a certain benefit, apart from freeing up a missile? Edited June 4, 2019 by KevKelley Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted June 4, 2019 Share Posted June 4, 2019 This example program shoots a pfpixel: randomterrain.com/atari-2600-memories-batari-basic-commands.html#ex_shoot_pfpixel This program shoots pfpixels: atariage.com/forums/topic/283446-simple-horizontal-shooter-wip/ 3 Quote Link to comment Share on other sites More sharing options...
+SpiceWare Posted June 4, 2019 Share Posted June 4, 2019 I was curious if I understand this correctly. Looking at the Activision logo, I see it is made from player0 and player1. I assume that is because of pixel width limitations for the Sprite. I was wondering about how they alternate. Is that deal with how the image is drawn on the screen so as to not flicker? That's the standard 48 pixel display that's normally used for drawing 6 digit scores. In this case it's used to draw the radar and logo. And as for using the pfpixel or playfield as a missile, would performing such an action provide a certain benefit, apart from freeing up a missile? The playfield is not used for anything else in that section of the screen, so using it for the player's shots allows it to have a color distinct from everything else. Also allows it to be significantly longer than the 8 pixel limit of a standard missile - this is what caused me to investigate how Activision did this game. Quote Link to comment Share on other sites More sharing options...
Trip2018 Posted June 5, 2019 Author Share Posted June 5, 2019 I was thinking more along the lines of kicking shells in sprybug's princess rescue. Quote Link to comment Share on other sites More sharing options...
Lillapojkenpåön Posted June 5, 2019 Share Posted June 5, 2019 Then just turn on one pfpixel instead of many, same thing. Quote Link to comment Share on other sites More sharing options...
+Gemintronic Posted June 5, 2019 Share Posted June 5, 2019 The main issue I've had is using too much CPU time with the pfread command to check for projectile <-> player collisions. At times I've gone over cycle with just 4 pfread commands in one game loop. Probably can mitigate this by checking only every other frame or more. Quote Link to comment Share on other sites More sharing options...
Trip2018 Posted June 5, 2019 Author Share Posted June 5, 2019 The main issue I've had is using too much CPU time with the pfread command to check for projectile <-> player collisions. At times I've gone over cycle with just 4 pfread commands in one game loop. Probably can mitigate this by checking only every other frame or more. Agreed. I had the same problem with my 3d tennis game. Quote Link to comment Share on other sites More sharing options...
+Gemintronic Posted June 6, 2019 Share Posted June 6, 2019 It might be worth it to figure out a technique that determines which screen var the player is sitting on for a non 0 value. If it is greater than 0 do a pfread. But, this is all theory and probably easier said than done 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.