|
72 | 72 | "description": "Gets the sprite's flag"
|
73 | 73 | },
|
74 | 74 | "graphics.fset": {
|
75 |
| - "prefix": "fget", |
| 75 | + "prefix": "fset", |
76 | 76 | "scope": "pico8p8",
|
77 | 77 | "body": [
|
78 |
| - "fget(${1:sprite_index},${2:optional_flag_index},${3:value})", |
| 78 | + "fset(${1:sprite_index},${2:optional_flag_index},${3:value})", |
79 | 79 | "$0"
|
80 | 80 | ],
|
81 | 81 | "description": "Sets the sprite's flag"
|
|
179 | 179 | ],
|
180 | 180 | "description": "Sets the spritesheet value of the pixel at the given coords"
|
181 | 181 | },
|
182 |
| - "graphics.sprsimple": { |
| 182 | + "graphics.spr": { |
183 | 183 | "prefix": "spr",
|
184 | 184 | "scope": "pico8p8",
|
185 | 185 | "body": [
|
186 |
| - "spr(${1:sprite_number},${2:x},${3:y})", |
187 |
| - "$0" |
188 |
| - ], |
189 |
| - "description": "Simple draw sprite at given coords" |
190 |
| - }, |
191 |
| - "graphics.sprfull": { |
192 |
| - "prefix": "sprf", |
193 |
| - "scope": "pico8p8", |
194 |
| - "body": [ |
195 |
| - "spr(${1:sprite_number},${2:x},${3:y},${4:width},${5:height},${6:flip_x},${7:flip_y})", |
| 186 | + "spr(${1:sprite_number},${2:x},${3:y}${4:,optional_width}${5:,optional_height}${6:,optional_flip_x}${7:,optional_flip_y})", |
196 | 187 | "$0"
|
197 | 188 | ],
|
198 | 189 | "description": "Full draw sprite at given coords with given size and flip flags"
|
199 | 190 | },
|
200 |
| - "graphics.ssprsimple": { |
| 191 | + "graphics.sspr": { |
201 | 192 | "prefix": "sspr",
|
202 | 193 | "scope": "pico8p8",
|
203 | 194 | "body": [
|
204 |
| - "sspr(${1:spritesheet_x},${2:spritesheet_y},${3:spritesheet_width},${4:spritesheet_height},${5:x},${6:y})", |
205 |
| - "$0" |
206 |
| - ], |
207 |
| - "description": "Simple draw sprite sheet texture at given coords" |
208 |
| - }, |
209 |
| - "graphics.ssprfull": { |
210 |
| - "prefix": "ssprf", |
211 |
| - "scope": "pico8p8", |
212 |
| - "body": [ |
213 |
| - "sspr(${1:spritesheet_x},${2:spritesheet_y},${3:spritesheet_width},${4:spritesheet_height},${5:x},${6:y},${7:width},${8:height},${9:flip_x},${10:flip_y})", |
| 195 | + "sspr(${1:spritesheet_x},${2:spritesheet_y},${3:spritesheet_width},${4:spritesheet_height},${5:x},${6:y}${7:,optional_width}${8:,optional_height}${9:,optional_flip_x}${10:,optional_flip_y})", |
214 | 196 | "$0"
|
215 | 197 | ],
|
216 |
| - "description": "Simple draw sprite sheet texture at given coords" |
| 198 | + "description": "Draw sprite sheet texture at given coords" |
217 | 199 | },
|
218 | 200 | "graphics.fillp": {
|
219 | 201 | "prefix": "fillp",
|
|
0 commit comments