diff --git a/Configs/Default.config.gmx b/Configs/Default.config.gmx index 0367298..474aa60 100644 --- a/Configs/Default.config.gmx +++ b/Configs/Default.config.gmx @@ -222,7 +222,7 @@ True False Alpha - 2 + 3 Royal Games lolno diff --git a/objects/o_wall_norm.object.gmx b/objects/o_wall_norm.object.gmx index 68e52ac..7944ac3 100644 --- a/objects/o_wall_norm.object.gmx +++ b/objects/o_wall_norm.object.gmx @@ -8,56 +8,6 @@ o_generale <undefined> - - - 1 - 410 - 0 - 0 - -1 - -1 - 1 - action_if_aligned - - self - 0 - -1 - - - 0 - 32 - - - 0 - 32 - - - - - 1 - 117 - 0 - 0 - 0 - -1 - 1 - action_snap - - self - 0 - 0 - - - 0 - 32 - - - 0 - 32 - - - - 1 @@ -148,7 +98,7 @@ physics_draw_debug(); 0.100000001490116 0.100000001490116 0.5 - -1 + 0 0 0,0 diff --git a/objects/stack.object.gmx b/objects/stack.object.gmx index 215c42b..e40cb51 100644 --- a/objects/stack.object.gmx +++ b/objects/stack.object.gmx @@ -298,7 +298,14 @@ 1 //Fai spawnare l'oggetto selezionato in base all'array stack_names. -instance_create(mouse_x,mouse_y,stack_names[selected]); +if (selected = 10) +{ + instance_create(floor((mouse_x div 32))*32,floor((mouse_y div 32))*32,stack_names[selected]); +} +else +{ + instance_create(mouse_x,mouse_y,stack_names[selected]); +} diff --git a/scripts/scrcursor.gml b/scripts/scrcursor.gml index 56aabeb..28bb1a4 100644 --- a/scripts/scrcursor.gml +++ b/scripts/scrcursor.gml @@ -1 +1,8 @@ -draw_sprite_ext(object_get_sprite(stack_names[selected]), 0, mouse_x, mouse_y, 1, 1, 0, c_white, 0.4); +if (selected = 10) +{ + draw_sprite_ext(object_get_sprite(stack_names[selected]), 0, floor((mouse_x div 32))*32,floor((mouse_y div 32))*32, 1, 1, 0, c_white, 0.4); +} +else +{ + draw_sprite_ext(object_get_sprite(stack_names[selected]), 0, mouse_x, mouse_y, 1, 1, 0, c_white, 0.4); +}