98.6
It's 98 degrees right now (not sure about the .6 part) I was having trouble. I discovered that left in my Bert game wasn't working on real controller. So I tried various things but to no avail. I thought my 7 button was broken. So I opened the controller up and cleaned 7. It was clean already. Put it back together. Then I thought of the keypad test I had on my computer, so I put it to the test on a real Atari 2600. All my numbers were working fine. So it must have been something in my code. Eventually I found the problem:
Draw_Bert_InGame: lda #$FF clc Draw_Bert_InGame2: ror sta SWCHA ldy #120 .wait2: dey bne .wait2 BottomRow: bit INPT0 bpl DoesBertGrabBox_ bit INPT4 bpl DoesBertDropBox_ Draw_Bert_InGame3: lda #$FF clc Draw_Bert_InGame4: ror ror sta SWCHA ldy #20 .wait3: dey bne .wait3 Thirdow: bit INPT0 bpl MoveBertLeft bit INPT4 bpl MoveBertRight
As it turned out, there was a second pause I needed (at .wait3, beginning with ldy #20). So now everything works. Pressing 7 moves Bert left. Now I need to work on sfx. It's a quarter after 5 p.m. and I got burned out trying to fix the dumb problem I was having. I don't even know if the game is even worth continuing on since it's not a very complicated game and I can probably get it done in 4k. I know it's a kid's game, but still. I don't know...
1 Comment
Recommended Comments