adjusted map camera and sprite values, added placeholder battle maps

This commit is contained in:
Vinyis 2022-08-20 02:22:51 -06:00
parent 6319a08052
commit 206c731207
11 changed files with 6 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 800 KiB

View File

@ -0,0 +1 @@
21.73337745666504 , 17.503263473510742 , 16.766698837280273

Binary file not shown.

After

Width:  |  Height:  |  Size: 299 KiB

View File

@ -0,0 +1 @@
21.73337745666504 , 17.503263473510742 , 16.766698837280273

View File

@ -1 +1 @@
1.0 , 0.699999988079071 , 0.06869175285100937
1.399999737739563 , 1.1000003814697266 , 0.06869175285100937

Binary file not shown.

Before

Width:  |  Height:  |  Size: 391 KiB

After

Width:  |  Height:  |  Size: 204 KiB

View File

@ -26,7 +26,7 @@ function getView(){
var _x = global.camerax;
var _y = global.cameray;
var half = (7.5*32)+40;
return matrix_build_lookat(_x,_y+180,150,_x,_y,0,0,0,-1);
return matrix_build_lookat(_x,_y+60,90,_x,_y,0,0,0,-1);
}
function setCam(){

View File

@ -4,7 +4,7 @@ draw_set_color(c_black);
//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,0,90,0,0,1,1,1);
var worldMat2 = matrix_build(x,y+6,0,50,0,0,0.6,0.6,0.6);
matrix_set(matrix_world,worldMat2);
if waiting image_blend = c_grey else image_blend = c_white;
var tempx = x;
@ -21,7 +21,7 @@ draw_rectangle(0-ts.x/2, 0-sprite_height-1,
0-ts.x/2+(ts.x*(data.hp.val/data.hp.cap)),
0-sprite_height+1, false
);
draw_text(0, 0-sprite_height-4, data.hp.val);
draw_text(5, -6-sprite_height-6, data.hp.val);
//draw_set_color(c_red);
//draw_circle(x, y, 5, false);