THREEDEE
This commit is contained in:
parent
757034f5b5
commit
bc06894859
7 changed files with 129 additions and 12 deletions
|
@ -1,12 +1,28 @@
|
|||
draw_set_color(c_gray);
|
||||
draw_set_alpha(0.25);
|
||||
draw_circle(x,y+5,10,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,0,90,0,0,1,1,1);
|
||||
matrix_set(matrix_world,worldMat2);
|
||||
if waiting image_blend = c_grey else image_blend = c_white;
|
||||
var tempx = x;
|
||||
var tempy = y;
|
||||
x = 0;
|
||||
y = 0;
|
||||
draw_self();
|
||||
drawstate();
|
||||
x = tempx;
|
||||
y = tempy;
|
||||
//log(data);
|
||||
draw_set_color(c_red);
|
||||
draw_rectangle(x-ts.x/2, y-ts.y/2-1,
|
||||
x-ts.x/2+(ts.x*(data.hp.val/data.hp.cap)),
|
||||
y-ts.y/2+1, false
|
||||
draw_rectangle(0-ts.x/2, 0-ts.y/2-1,
|
||||
0-ts.x/2+(ts.x*(data.hp.val/data.hp.cap)),
|
||||
0-ts.y/2+1, false
|
||||
);
|
||||
draw_text(x, y-ts.y, data.hp.val);
|
||||
//draw_set_color(c_red);
|
||||
//draw_circle(x, y, 5, false);
|
||||
//draw_circle(x, y, 5, false);
|
||||
|
||||
matrix_set(matrix_world,worldMat);
|
Loading…
Add table
Add a link
Reference in a new issue