diff --git a/eastern flames/objects/ARTICULATOR/Create_0.gml b/eastern flames/objects/ARTICULATOR/Create_0.gml index 9342aee..ed4b359 100644 --- a/eastern flames/objects/ARTICULATOR/Create_0.gml +++ b/eastern flames/objects/ARTICULATOR/Create_0.gml @@ -1,4 +1,5 @@ c_addunit(un.chara, ARMY.US); +c_addunit(un.kris, ARMY.THEM); var i; /*for (i=0; i= 0 { } } } -if(left){ - global.camerax--; -} -if(right){ - global.camerax++; -} -if(up){ - global.cameray--; -} -if(down){ - global.cameray++; -} \ No newline at end of file diff --git a/eastern flames/objects/o_unit/Draw_0.gml b/eastern flames/objects/o_unit/Draw_0.gml index 4520b9d..72cf52d 100644 --- a/eastern flames/objects/o_unit/Draw_0.gml +++ b/eastern flames/objects/o_unit/Draw_0.gml @@ -17,11 +17,11 @@ x = tempx; y = tempy; //log(data); draw_set_color(c_red); -draw_rectangle(0-ts.x/2, 0-ts.y/2-1, +draw_rectangle(0-ts.x/2, 0-sprite_height-1, 0-ts.x/2+(ts.x*(data.hp.val/data.hp.cap)), - 0-ts.y/2+1, false + 0-sprite_height+1, false ); -draw_text(x, y-ts.y, data.hp.val); +draw_text(0, 0-sprite_height-4, data.hp.val); //draw_set_color(c_red); //draw_circle(x, y, 5, false); diff --git a/eastern flames/scripts/c_input/c_input.gml b/eastern flames/scripts/c_input/c_input.gml index da20fb2..f0e90c1 100644 --- a/eastern flames/scripts/c_input/c_input.gml +++ b/eastern flames/scripts/c_input/c_input.gml @@ -10,6 +10,6 @@ function c_input() { rightp = keyboard_check_pressed(ord("D")) + keyboard_check_pressed(vk_right); select = mouse_check_button_pressed(mb_left) + keyboard_check_pressed(vk_enter); - back = mouse_check_button_pressed(mb_right) + keyboard_check_pressed(vk_escape); + back = mouse_check_button_pressed(mb_right) + keyboard_check_pressed(vk_escape) + keyboard_check_pressed(ord("Q")); stop = keyboard_check(vk_shift); } \ No newline at end of file diff --git a/eastern flames/scripts/st_moving/st_moving.gml b/eastern flames/scripts/st_moving/st_moving.gml index 726d650..9afd426 100644 --- a/eastern flames/scripts/st_moving/st_moving.gml +++ b/eastern flames/scripts/st_moving/st_moving.gml @@ -1,8 +1,8 @@ function st_moving() { var mov = data.mov.val; c_input(); - hspd = lerp(hspd, (right-left)*.05, .4); - vspd = lerp(vspd, (down-up)*.05, .4); + hspd = lerp(hspd, (right-left)*.07, .4); + vspd = lerp(vspd, (down-up)*.07, .4); if !stop dir = DIR.NONE; if left dir = DIR.LEFT; if down dir = DIR.DOWN; @@ -47,27 +47,23 @@ function st_moving() { //var rng = [1]; var guy = c_gettile(x, y, true); var hitting = noone; - if guy != noone && stop { + if guy != noone { switch dir { case DIR.LEFT: hitting = c_gettile(guy.x-1, guy.y); - c_colortile(guy.x-1, guy.y, c_red); sprite_index = data.down; image_xscale = -1; break; case DIR.DOWN: hitting = c_gettile(guy.x, guy.y+1); - c_colortile(guy.x, guy.y+1, c_red); sprite_index = data.down; break; case DIR.UP: hitting = c_gettile(guy.x, guy.y-1); - c_colortile(guy.x, guy.y-1, c_red); sprite_index = data.up; break; case DIR.RIGHT: hitting = c_gettile(guy.x+1, guy.y); - c_colortile(guy.x+1, guy.y, c_red); sprite_index = data.down; image_xscale = 1; break; @@ -77,7 +73,8 @@ function st_moving() { break; } - if hitting != noone && select { + if hitting != noone && select && stop { + c_colortile(hitting.x, hitting.y, c_red); log("found one"); log(hitting.contents, hitting.x, hitting.y); var i; diff --git a/eastern flames/scripts/tiledata/tiledata.gml b/eastern flames/scripts/tiledata/tiledata.gml index 7bd2efd..a0cc322 100644 --- a/eastern flames/scripts/tiledata/tiledata.gml +++ b/eastern flames/scripts/tiledata/tiledata.gml @@ -24,7 +24,7 @@ function c_informtiles() { } } c_informtiles(); -global.tilesize = new vec2(32, 32); +global.tilesize = new vec2(20, 20); function tiledata(passable_=true, contents_=[], overlays_=[], statmods=[]) constructor { passable = passable_; diff --git a/eastern flames/sprites/s_guy/s_guy.yy b/eastern flames/sprites/s_guy/s_guy.yy index db53a58..37eed1b 100644 --- a/eastern flames/sprites/s_guy/s_guy.yy +++ b/eastern flames/sprites/s_guy/s_guy.yy @@ -2,7 +2,7 @@ "bboxMode": 0, "collisionKind": 0, "type": 0, - "origin": 4, + "origin": 7, "preMultiplyAlpha": false, "edgeFiltering": false, "collisionTolerance": 0, @@ -55,7 +55,7 @@ "backdropXOffset": 0.0, "backdropYOffset": 0.0, "xorigin": 16, - "yorigin": 16, + "yorigin": 32, "eventToFunction": {}, "eventStubScript": null, "parent": {"name":"s_guy","path":"sprites/s_guy/s_guy.yy",}, diff --git a/eastern flames/sprites/s_momiji/s_momiji.yy b/eastern flames/sprites/s_momiji/s_momiji.yy index 9fba884..a39002b 100644 --- a/eastern flames/sprites/s_momiji/s_momiji.yy +++ b/eastern flames/sprites/s_momiji/s_momiji.yy @@ -2,7 +2,7 @@ "bboxMode": 0, "collisionKind": 0, "type": 0, - "origin": 4, + "origin": 9, "preMultiplyAlpha": false, "edgeFiltering": false, "collisionTolerance": 0, @@ -59,7 +59,7 @@ "backdropXOffset": 0.0, "backdropYOffset": 0.0, "xorigin": 16, - "yorigin": 16, + "yorigin": 27, "eventToFunction": {}, "eventStubScript": null, "parent": {"name":"s_momiji","path":"sprites/s_momiji/s_momiji.yy",}, diff --git a/eastern flames/sprites/s_momijidown/s_momijidown.yy b/eastern flames/sprites/s_momijidown/s_momijidown.yy index b5b51c3..f4233ea 100644 --- a/eastern flames/sprites/s_momijidown/s_momijidown.yy +++ b/eastern flames/sprites/s_momijidown/s_momijidown.yy @@ -2,7 +2,7 @@ "bboxMode": 0, "collisionKind": 0, "type": 0, - "origin": 4, + "origin": 9, "preMultiplyAlpha": false, "edgeFiltering": false, "collisionTolerance": 0, @@ -67,7 +67,7 @@ "backdropXOffset": 0.0, "backdropYOffset": 0.0, "xorigin": 16, - "yorigin": 16, + "yorigin": 28, "eventToFunction": {}, "eventStubScript": null, "parent": {"name":"s_momijidown","path":"sprites/s_momijidown/s_momijidown.yy",}, diff --git a/eastern flames/sprites/s_momijiup/0e22985f-c93d-41b6-8778-bc58d1256abb.png b/eastern flames/sprites/s_momijiup/0e22985f-c93d-41b6-8778-bc58d1256abb.png index 0f3fb64..add7661 100644 Binary files a/eastern flames/sprites/s_momijiup/0e22985f-c93d-41b6-8778-bc58d1256abb.png and b/eastern flames/sprites/s_momijiup/0e22985f-c93d-41b6-8778-bc58d1256abb.png differ diff --git a/eastern flames/sprites/s_momijiup/layers/0e22985f-c93d-41b6-8778-bc58d1256abb/435f8b7b-618a-4baf-a455-7772f7ddc10b.png b/eastern flames/sprites/s_momijiup/layers/0e22985f-c93d-41b6-8778-bc58d1256abb/435f8b7b-618a-4baf-a455-7772f7ddc10b.png index 0f3fb64..add7661 100644 Binary files a/eastern flames/sprites/s_momijiup/layers/0e22985f-c93d-41b6-8778-bc58d1256abb/435f8b7b-618a-4baf-a455-7772f7ddc10b.png and b/eastern flames/sprites/s_momijiup/layers/0e22985f-c93d-41b6-8778-bc58d1256abb/435f8b7b-618a-4baf-a455-7772f7ddc10b.png differ diff --git a/eastern flames/sprites/s_momijiup/s_momijiup.yy b/eastern flames/sprites/s_momijiup/s_momijiup.yy index c7cdac3..4d201d7 100644 --- a/eastern flames/sprites/s_momijiup/s_momijiup.yy +++ b/eastern flames/sprites/s_momijiup/s_momijiup.yy @@ -2,7 +2,7 @@ "bboxMode": 0, "collisionKind": 0, "type": 0, - "origin": 4, + "origin": 9, "preMultiplyAlpha": false, "edgeFiltering": false, "collisionTolerance": 0, @@ -10,7 +10,7 @@ "bbox_left": 5, "bbox_right": 22, "bbox_top": 3, - "bbox_bottom": 26, + "bbox_bottom": 27, "HTile": false, "VTile": false, "For3D": false, @@ -67,7 +67,7 @@ "backdropXOffset": 0.0, "backdropYOffset": 0.0, "xorigin": 16, - "yorigin": 16, + "yorigin": 26, "eventToFunction": {}, "eventStubScript": null, "parent": {"name":"s_momijiup","path":"sprites/s_momijiup/s_momijiup.yy",},