【GAMEMAKER】advance Radar

 Information about object: obj1

Sprite: sprObj1
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children:
Mask:
No Physics Object
Information about object: objController
Sprite: sprController
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children:
Mask:
No Physics Object
Draw Event:
execute code:

pen_color=c_black;
pen_size=3;
brush_color=c_green;
draw_rectangle(view_xview[0],view_yview[0],view_xview[0]+100,view_yview[0]+100,false);
brush_color=c_blue;
for (i=0; i<instance_count; i+=1) {
  iii = instance_id[i];
    if (iii != id && iii.visible = true) {
    draw_sprite_ext(iii.object_index,0,view_xview[0]+iii.x/11,view_yview[0]+iii.y/11,0.25, 0.25, 0,-1,1);
  }
}
          
          
          //draw_sprite_scaled(sprPlayer,-1,view_left[0]+objPlayer.x/11,view_top[0]+objPlayer.y/11,0.25);
Information about object: objPlayer
Sprite: sprPlayer
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children:
Mask:
No Physics Object
Step Event:
execute code:

if keyboard_check(vk_left) then x-=4;
if keyboard_check(vk_right) then x+=4;
if keyboard_check(vk_up) then y-=4;
if keyboard_check(vk_down) then y+=4;

Information about object: object3
Sprite: sprite3
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent:
Children:
Mask:
No Physics Object

No comments:

New T-shirt Design Contest!

I know you Intel Weebs can draw... ͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­͏     ­...

Contact Form

Name

Email *

Message *