at last: #uxn tutorial day 6, towards pong, is now online!
here we talk about how we can integrate everything that we have covered so far in order to create more complex subroutines and programs for the #varvara computer.
besides using previous strategies and snippets of code, we cover strategies for drawing and controlling multi-tile sprites, and for checking collisions.
@neauoire just so you know, i plan to edit day 2 to mention the auto byte in the ppu, and afterwards i want to include a more prominent example of using it here in day 6 :)
@sejo in @draw-tiles at the end, you have a comment ( variables ) but it's missing
&height $2 &width $2 &y $2 &x $2 &limit-y $2
@neauoire haha i know, in theory all of that was about showing some ways of abstracting the procedure, but the road was way bumpier than expected
don't tell anybody (?) but when i realized that i had left the color hardcoded inside and i couldn't really reuse the subroutine, i was like "i'll leave correcting it as an exercise for the reader"
i like your suggestion and your approach
Revel in the marvels of the universe. We are a collective of forward-thinking individuals who strive to better ourselves and our surroundings through constant creation. We express ourselves through music, art, games, and writing. We also put great value in play. A warm welcome to any like-minded people who feel these ideals resonate with them.