![]() # We don't need the mouse location for this example so we prefix that argument with _ to indicate it is unusedĭragon. # This lambda is called by the input service with this sprite (dragon) plus the mouse location. Sprite Platform game 2D computer graphics, 2d furniture top view, game. register_clickable ( dragon ) # Turn the dragon red when the mouse is clicked down. Dragon character in different angles, Sprite Animation Pixel art, sprite, dragon. See DRGTK docs on attr_sprite: /#-attr_sprite.rb # This only needs to be done once globally, usually in your Zif::Scene#prepare_scene method Includes attr_sprite – supports what DRGTK provides for these classes in addition to what is documented here. The foundation for most of the Zif library. Find game assets tagged Dragons and Sprites like Dragon Asset Pack 16x16, 32x32, RPG Fantasy Battlers, Dragon Foes, Monster Sprite. A basic sprite which combines actions / animations, click handling, mass assignment and more.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |