update: fix link to drgtk docs spritesheet section (#29)

Fix link to drgtk docs spritesheet section
This commit is contained in:
Robert Pelger 2023-07-25 16:31:28 -04:00 committed by GitHub
parent 8f94198555
commit e130d582b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ Then we take the `player_sprite_index` and use that when specifying the `path` o
## A Note on Spritesheets
If you've done any game development before, you may be familiar with spritesheets, where each frame of an animation is contained within one image file. When using a spritesheet for animation, instead of changing which image file path is used for the sprite to render, you change which piece of the large spritesheet you render. [The DragonRuby GTK docs have a detailed example of how to do this.](https://bit.ly/drgtk-spritesheet)
If you've done any game development before, you may be familiar with spritesheets, where each frame of an animation is contained within one image file. When using a spritesheet for animation, instead of changing which image file path is used for the sprite to render, you change which piece of the large spritesheet you render. [The DragonRuby GTK docs have a detailed example of how to do this.](http://docs.dragonruby.org/#----animation-using-sprite-sheet---main-rb)
## Extra Credit