How to make game speed up as score increases? (4.5.9)

Alright so now it’s finally working without errors, except the gameplay doesn’t seem to be speeding up. I’ve tried multiple methods of increasing the “myLevel” value, but no matter how much it increases nothing appears to change.
 

smilehero65

Active member
Alright so now it’s finally working without errors, except the gameplay doesn’t seem to be speeding up. I’ve tried multiple methods of increasing the “myLevel” value, but no matter how much it increases nothing appears to change.
I think it is working...but the speed increase is not noticed.
In your code you're increasing it by ones with INC myLevel.

I would recommend (maybe):

Code:
LDA #$0A       ;;;Load 10
ADC myLevel    ;;;Add 10 to the Accumulator/myLevel
 
I think it is working...but the speed increase is not noticed.
In your code you're increasing it by ones with INC myLevel.

I would recommend (maybe):

Code:
LDA #$0A       ;;;Load 10
ADC myLevel    ;;;Add 10 to the Accumulator/myLevel
Actually I was using AddValue. First I tried INC, but realized it wouldn’t raise the value fast enough, so then I tried adding 5 via AddValue, but that didn’t do the trick so I tried adding 10 instead. Would this work any different?
 

smilehero65

Active member
Actually I was using AddValue. First I tried INC, but realized it wouldn’t raise the value fast enough, so then I tried adding 5 via AddValue, but that didn’t do the trick so I tried adding 10 instead. Would this work any different?
Well AddValue is primarily used for variables like MyScore.
I don't know if it is any difference... but I think it is more efficient/optimized.

Remember that Add Value is a macro = involves more code (calculating decimal places, etc. etc.)
ADC is just an assembly instruction (as far as I am concerned)
 
Top Bottom