Lately, after a about 9 months of taking a break at programming I am going back into it fully refreshed. But this time I'm making a few changes to the way I'm doing it.
1.) Using simpler graphics, so I have more time to work on game mechanics
2.) Using the stack pointer more often, so I don't need to waste a register that I'm only going to use once.
Instead of doing this:
stx register
clc
adc register
I now do this:
phx
clc
adc $01,s
plx
3.) I check my work for errors before I test it, instead of checking it after.
4.) I write my subroutines on other docs first so I don't have the navigational confusion of scrolling my code document up and down to find anything.
5.) I use labels for everything now. I realized after everybody kept bugging me to label everything, how much easier it is when you start labeling everything from the beginning.
1.) Using simpler graphics, so I have more time to work on game mechanics
2.) Using the stack pointer more often, so I don't need to waste a register that I'm only going to use once.
Instead of doing this:
stx register
clc
adc register
I now do this:
phx
clc
adc $01,s
plx
3.) I check my work for errors before I test it, instead of checking it after.
4.) I write my subroutines on other docs first so I don't have the navigational confusion of scrolling my code document up and down to find anything.
5.) I use labels for everything now. I realized after everybody kept bugging me to label everything, how much easier it is when you start labeling everything from the beginning.