lerugray Posted February 23, 2021 Share Posted February 23, 2021 Hello all, I have a simple idea for a roguelike type game that I am trying to implement. I've been doing okay with various tutorials up until it comes to drawing playfields, I pretty much can't figure out how to do this correctly for the life of me. Basically just want to have a square room with 4 doors/openings on each side. I am mostly programming in 6502 so any resources or tutorials you guys can point me to is appreciated. Quote Link to comment Share on other sites More sharing options...
+SpiceWare Posted February 23, 2021 Share Posted February 23, 2021 Heres the index for Collect, my tutorial on writing a 2K 2600 game. The playfield is covered in Step 3 - Score & Timer display and in Step 7 - draw the playfield 1 Quote Link to comment Share on other sites More sharing options...
Just Jeff Posted February 24, 2021 Share Posted February 24, 2021 The easiest way to help is to see your code.. So you may want to post it. Short of that.. Did you set CTRLPF to reflect? After that, you will be writing your data to registers PF0, PF1, and PF2 to draw the top and bottom of your design, and need only PF0 for the middle of it (though you could just repeatedly write 0s to the PF1 and PF2 registers there). Are you aware of the fact that you have to put your PF0 and PF2 data in backwards? (For the left half of the screen) This is all on page 39 of the programming guide if you need to read up on it. 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.