looks like battle animations to me

This commit is contained in:
the me 2022-08-23 01:34:45 -07:00
parent 64a74d6f36
commit b0e718f879
12 changed files with 107 additions and 20 deletions

View file

@ -0,0 +1,4 @@
amount = 0;
count = 0;
hspd = 0;
vspd = 0;

View file

@ -0,0 +1,16 @@
cpp();
draw_set_color(c_black);
//draw_set_alpha(0.25);
//draw_circle(x,y,5,false);
//draw_set_alpha(1);
var worldMat = matrix_get(matrix_world);
//this is the location of where i want to draw from !!!
var worldMat2 = matrix_build(x,y+6,0,50,0,0,0.6,0.6,0.6);
matrix_set(matrix_world,worldMat2);
draw_set_halign(fa_center);
draw_text(0, 0, amount);
draw_set_halign(fa_left);
//draw_set_color(c_red);
//draw_circle(x, y, 5, false);
matrix_set(matrix_world,worldMat);

View file

@ -0,0 +1,7 @@
vspd -= .2;
x += hspd;
y += vspd;
if count >= 40 {
image_alpha -= .1;
if !image_alpha instance_destroy();
}

View file

@ -0,0 +1,35 @@
{
"spriteId": null,
"solid": false,
"visible": true,
"spriteMaskId": null,
"persistent": false,
"parentObjectId": null,
"physicsObject": false,
"physicsSensor": false,
"physicsShape": 1,
"physicsGroup": 1,
"physicsDensity": 0.5,
"physicsRestitution": 0.1,
"physicsLinearDamping": 0.1,
"physicsAngularDamping": 0.1,
"physicsFriction": 0.2,
"physicsStartAwake": true,
"physicsKinematic": false,
"physicsShapePoints": [],
"eventList": [
{"isDnD":false,"eventNum":0,"eventType":0,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
{"isDnD":false,"eventNum":0,"eventType":8,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
{"isDnD":false,"eventNum":0,"eventType":3,"collisionObjectId":null,"resourceVersion":"1.0","name":"","tags":[],"resourceType":"GMEvent",},
],
"properties": [],
"overriddenProperties": [],
"parent": {
"name": "Objects",
"path": "folders/Objects.yy",
},
"resourceVersion": "1.0",
"name": "o_damage",
"tags": [],
"resourceType": "GMObject",
}