1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
{
id: "text_flash_negative",
serializable: false,
ignore_collide: true,
properties: {
set_text: "def(text) [set(vars.txt, text), fire_event(me, 'create')]",
},
vars: {
txt: "+",
size: 2,
font: "numbers_red_large",
},
hidden_in_game: true,
on_create: "[if(vars.txt, text(vars.txt, vars.font, size)),
schedule(60,die())]",
on_end_anim: "animation('normal')",
zorder: 100,
timer_frequency: 5,
on_timer: "add(text_alpha,-12)",
editor_info: {
category: "controllers",
},
animation: {
velocity_y: -50,
id: "normal",
image: "effects/particles.png",
x: 179,
y: 197,
w: 28,
h: 28,
frames: 1,
duration: 1000,
},
}
|