diff --git a/src/uxn_tutorial_day_6.gmo b/src/uxn_tutorial_day_6.gmo index 333c16a..a68b0ec 100644 --- a/src/uxn_tutorial_day_6.gmo +++ b/src/uxn_tutorial_day_6.gmo @@ -332,13 +332,7 @@ in this part we will see how to draw the paddles based on these parameters, and ## drawing the multi-tile paddles -in theory, we could use our previous draw-tiles subroutine to draw the rectangles corresponding to our paddles, with a given tile. - -in practice, that might be a little bit inconvenient, because the sprite byte that determines the layer and color of our tile was left hardcoded inside our subroutine: if we reuse it, we'll end up drawing with the same color and in the same layer as the background texture! - -i leave it as an exercise for you to modify the subroutine so that the sprite byte is received as an argument in the stack :) - -in any case, i want to use the paddles as an example of drawing a sprite composed of multiple tiles. +i want to use the paddles as an example of drawing a sprite composed of multiple tiles! ### the data @@ -489,8 +483,6 @@ it would be up to discussion if there are more efficient ways of drawing it. for @draw-sprite ( x^ y^ width height addr* color ) ``` -it could work similar to the draw-tiles subroutine we created above. - creating that could be a good exercise for you to try! in this case i'll just stay with the manual approach. the good thing of this process being in a subroutine is that we can "forget" about its inner working and just use it :)