Captain Spazer Posted December 25, 2016 Share Posted December 25, 2016 I have a question about using the pfhline, is it possible to have a hole in the line at a random location, and if so, how would I go about making it? Quote Link to comment Share on other sites More sharing options...
+Lewis2907 Posted December 25, 2016 Share Posted December 25, 2016 I think so with pfpixel or pfhline using the on and off switch like I did for the walls in Pac man eat and run and for the Safe house in that game. Quote Link to comment Share on other sites More sharing options...
bogax Posted December 26, 2016 Share Posted December 26, 2016 draw a line then poke a hole in it Quote Link to comment Share on other sites More sharing options...
+Gemintronic Posted December 28, 2016 Share Posted December 28, 2016 One performance and size optimization is to access the playfield variables instead of line drawing commands. Each variable is eight pixels on the screen. The value 255 is like eight pixels drawn in a row. http://www.randomterrain.com/atari-2600-memories-batari-basic-commands.html#playfield So, you want a line near the middle of the screen? Try: var20 = 255 : var21 = 255 : var22 = 255 : var23 = 255 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.