User Tools

Site Tools


development:csdk:2.0:sprites

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
development:csdk:2.0:sprites [2024/11/21 04:46] clydedevelopment:csdk:2.0:sprites [2024/11/21 04:59] (current) – [Drawing by rectangle] clyde
Line 50: Line 50:
 =====Drawing by rectangle===== =====Drawing by rectangle=====
  
-Once your graphics are loaded into a sprite bank, you can draw them with ''queue_draw_sprite''+Once your graphics are loaded into a sprite bank, you can draw them with [[development:csdk:2.0:headers:draw_queue#queue_draw_sprite|queue_draw_sprite]]
  
 <code c> <code c>
Line 64: Line 64:
 =====Drawing by frame number===== =====Drawing by frame number=====
  
-If you've exported a packed sprite sheet alongside JSON frame data, you can use ''queue_draw_sprite_frame''. This function can not only select the rectangle in your sprite sheet from a frame number, it also centers your sprite on the canvas center used in Aseprite and had a parameter for flipping horizontally and/or vertically.+If you've [[development:aseprite##using_the_sdk|exported a packed sprite sheet alongside JSON frame data]], you can use ''queue_draw_sprite_frame''. This function can not only select the rectangle in your sprite sheet from a frame number, it also centers your sprite on the canvas center used in Aseprite and had a parameter for flipping horizontally and/or vertically.
  
 <code c> <code c>
development/csdk/2.0/sprites.1732164378.txt.gz · Last modified: 2024/11/21 04:46 by clyde