DAY 7 (Cont.)
Last night I talked about with() and ‘other’ and how you can use them to approach your code structure in a new way and hopefully, a simpler way. I also started to use these techniques to start tackling moving platforms.
I added both horizontal moving platforms and sub-pixel movement to the platforms last night. Again, to add sub-pixel movement, I collect the rounded sub-pixel numbers and add them to the movement calculations when they exceed a whole number.
Continue reading “DevLog: Creating a Platformer Pt.4”