Guide by Pvic
Put these codes in obj_hud. Create:
dist=99999; frm=0; d1=1000; //800 520 250 d2=660; d3=250;Step:
if instance_exists(obj_character){if instance_exists(objEmeraldPiece){//d1 d2 d3with obj_character{obj_hud.dist=distance_to_object(objEmeraldPiece)}if dist>d1{frm=0}if dist<d1 && dist>d2 {frm=1}if dist<d2 && dist>d3 {frm=2}if dist<d3 {frm=3}}else{frm=4}}Draw:
//draw_spritedraw_sprite_ext(sprEmeraldRadar, frm,view_xview[0]+view_wport[0]/2, view_yview[0]+view_hport[0]-sprite_get_height(sprEmeraldRadar), image_xscale, 1, image_angle, image_blend, image_alpha);sprEmeraldRadar :
Origin: https://cdn.discordapp.com/attachments/396805629768892416/397801974457827329/unknown.png
objEmeraldPieceSprite:
https://cdn.discordapp.com/attachments/396805629768892416/397802389048131584/sprEmeraldPiece.png
make it par_control
collision with par_player:
if other.ai_flag==false{sound_play(snd_sfx_emerald);instance_destroy();}and I think that is it