Jump to content
lerugray

Struggling with playfield design

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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.

 

image.thumb.png.cde9f79f9f18b63a065cc19c71a3e657.png

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...