Uploaded May 2012 | Updated September 2026, 3 weeks ago
This is a tutorial on how to create some neat looking retro sprite outlines onto your sprites in which you can later make objects in Game Maker. This can also save you a lot of time if you want to create ground with one flat line going different directions ^)^
Codes used in this tutorial:
Draw Event:
scr_ground(2,c_black)
Script:
draw_sprite(spr_ground,0,x,y)
draw_set_color(argument1)
if !place_meeting(x,y-1,obj_ground)
{
draw_line_width(x,y,x+32,y,argument0)
}
if !place_meeting(x,y+1,obj_ground)
{
draw_line_width(x,y+32,x+32,y+32,argument0)
}
if !place_meeting(x-1,y,obj_ground)
{
draw_line_width(x,y,x,y+32,argument0)
}
if !place_meeting(x+1,y,obj_ground)
{
draw_line_width(x+32,y,x+32,y+32,argument0)
}
This is a tutorial on how to create some neat looking retro sprite outlines onto your sprites in which you can later make objects in Game Maker. This can also save you a lot of time if you want to create ground with one flat line going different directions ^)^
Codes used in this tutorial:
Draw Event:
scr_ground(2,c_black)
Script:
draw_sprite(spr_ground,0,x,y)
draw_set_color(argument1)
if !place_meeting(x,y-1,obj_ground)
{
draw_line_width(x,y,x+32,y,argument0)
}
if !place_meeting(x,y+1,obj_ground)
{
draw_line_width(x,y+32,x+32,y+32,argument0)
}
if !place_meeting(x-1,y,obj_ground)
{
draw_line_width(x,y,x,y+32,argument0)
}
if !place_meeting(x+1,y,obj_ground)
{
draw_line_width(x+32,y,x+32,y+32,argument0)
}


