GameMaker LT pamoka 8# 3D Vaistinėlė.





Hud-Step :

if (global.hp>100)
 {
global.hp = 100;
}


Vaistinele-Player :

global.hp+=10

Vaistinele-Draw :

d3d_draw_block(x-3,y-3,0,x+3,y+3,5,background_get_texture(Vaistine),1,1);

Komentarų nėra:

Rašyti komentarą