XxasBDCUX ( @ (//(  0/80@0?/8 0( ?G@POWOXOP?H0@/7@O_``h_hPX 0(P_oppxow_g@O/8'' 7p`o?G/7 0??H/8`/o?GOX@H0?/pOW?H/8 7OP?G/7( P0@PX@O0@ 0O @H/@' 00@@P0?'_OP@H( 7/7' ^^^^^^^^^^^^^^^^^^^^^^^^^^TeeBBBBeTT^^^^^^^eBDJ33333JJDBeZ^^^^TD33==#####==3JDBT^^^^eJ=###=3DeZ^^TB3# #=3JBZ^^T3#  #=JBT^^J# Sll #=JBZ^T# %,68??86,/@A*< ##45('.6787-9%:;*<=#$+&,--.,/01)2 3 $%&&'%($!)* ##  !"#     ??dQV@draw_healthring/* draw_healthring(x,y,hrad,rad,mincol,maxcol,value,maxvalue); x - The x drawing position y - The y drawing position hrad - The radius of the 'hole' in the center (set to 0 to have no hole) rad - The radius of the circle mincol - Minimum color maxcol - Maximum color value - The value to act upon maxvalue - The maximum value Draws a circular healthring depending on the given arguments This only works with registered / pro Game Maker Made by tophunter7, give credit if used */ draw_primitive_begin(pr_linelist); for(i=0;i<(argument6/argument7)*360;i+=1) { draw_vertex_color(argument0+lengthdir_x(argument2,i),argument1+lengthdir_y(argument2,i),merge_color(argument4,argument5,argument6/argument7),1); draw_vertex_color(argument0+lengthdir_x(argument3,i),argument1+lengthdir_y(argument3,i),merge_color(argument4,argument5,argument6/argument7),1); } draw_primitive_end();udraw_healthring/* udraw_healthring(x,y,hrad,rad,mincol,maxcol,value,maxvalue); x - The x drawing position y - The y drawing position hrad - The radius of the 'hole' in the center (set to 0 to have no hole) rad - The radius of the circle mincol - Minimum color maxcol - Maximum color value - The value to act upon maxvalue - The maximum value Draws a circular healthring depending on the given arguments This works with unregistered / lite Game Maker Made by tophunter7, give credit if used */ for(i=0;i<(argument6/argument7)*360;i+=1) { draw_set_color(merge_color(argument4,argument5,argument6/argument7)); draw_line(argument0+lengthdir_x(argument2,i),argument1+lengthdir_y(argument2,i),argument0+lengthdir_x(argument3,i),argument1+lengthdir_y(argument3,i)); }draw_text_outline/* draw_text_outline(x,y,string,col,ocol); Draws text at the given position with the given color and outline color Made by tophunter7 */ draw_set_color(argument4); draw_text(argument0-1,argument1,argument2); draw_text(argument0+1,argument1,argument2); draw_text(argument0,argument1-1,argument2); draw_text(argument0,argument1+1,argument2); draw_set_color(argument3); draw_text(argument0,argument1,argument2);fnt_instructionsTahoma obj_healthring [@maxhp = 100; // Define the maximum hp hp = maxhp; // Set the hp0000000[// Changing the value if keyboard_check(vk_up) { if hp < maxhp { hp += 1; } } if keyboard_check(vk_down) { if hp > 0 { hp -= 1; } }0000000[F// Use a certain script depending if we are registered or not if (gamemaker_registered) { draw_healthring(room_width/2,room_height/2,0,40,c_red,c_green,hp,maxhp); } else { udraw_healthring(room_width/2,room_height/2,0,40,c_red,c_green,hp,maxhp); } // Draw text for the instructions draw_set_halign(fa_center); draw_set_valign(fa_center); draw_set_font(fnt_instructions); draw_text_outline(room_width/2,16,"Press Up and Down to change the value",c_white,c_black); draw_text_outline(room_width/2,room_height-16,"Healthrings made by tophunter7",c_white,c_black);0000000rm_test,,@        0XGame InformationX{\rtf1\ansi\ansicpg1252\deff0\deflang2057{\fonttbl{\f0\fnil Arial;}} {\colortbl ;\red0\green0\blue0;} \viewkind4\uc1\pard\cf1\f0\fs24 \par } SpritesSounds BackgroundsPathsScriptsdraw_healthringudraw_healthringdraw_text_outline Fonts fnt_instructions Time LinesObjectsobj_healthringRoomsrm_test Game Information Global Game Settings