Screenshot button.
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
enum but { info, area, plus, minus };
|
||||
enum but { info, area, plus, minus, image };
|
||||
enum src { red, yellow, green, blue, black, pink, orange, purple, white };
|
||||
|
||||
hover = false;
|
||||
|
|
|
|||
|
|
@ -6,4 +6,5 @@ savedata_load();
|
|||
boxes_spawn();
|
||||
selected_set();
|
||||
scr_window_resize();
|
||||
button_create(0, 0, but.image);
|
||||
button_update_all();
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ switch(zone)
|
|||
break;
|
||||
|
||||
case region.mid_right:
|
||||
case region.bot_right:
|
||||
var x_start = global.window_width*0.75 + global.window_width*0.25/2;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,6 +9,10 @@ switch(zone)
|
|||
case region.mid_right:
|
||||
var y_start = global.window_height * 0.7;
|
||||
break;
|
||||
|
||||
case region.bot_right:
|
||||
var y_start = global.window_height * 0.9;
|
||||
break;
|
||||
}
|
||||
|
||||
var deplacement = global.unit * percent;
|
||||
|
|
|
|||
|
|
@ -24,4 +24,8 @@ switch(argument0)
|
|||
savedata_write(savedata_section_get(global.show_shiny)+" Count", global.selecting.idno, global.counter);
|
||||
change_add();
|
||||
break;
|
||||
|
||||
case but.image:
|
||||
make_screenshot();
|
||||
break;
|
||||
}
|
||||
|
|
@ -46,6 +46,14 @@ switch(type)
|
|||
x_ = button_align_x(region.mid_right, -1.5);
|
||||
y_ = button_align_y(region.mid_right, 0);
|
||||
break;
|
||||
|
||||
case but.image:
|
||||
text = "IMAGE ö";
|
||||
length = 1;
|
||||
scale = global.icon_scale * 1.25;
|
||||
x_ = button_align_x(region.bot_right, 0);
|
||||
y_ = button_align_y(region.bot_right, 0);
|
||||
break;
|
||||
};
|
||||
|
||||
x = x_;
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ global.window_height = window_get_height();
|
|||
global.box_len = global.window_width/2/7;
|
||||
global.icon_scale = 2;
|
||||
|
||||
global.font = font_add_sprite_ext(spr_font,"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZéÉ#-'!?():@_.% /♂♀+", true, 1);
|
||||
global.font = font_add_sprite_ext(spr_font,"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZéÉ#-'!?():@_.% /♂♀+äöü", true, 1);
|
||||
|
||||
global.dex_len = array_height_2d(global.dexdata);
|
||||
|
||||
|
|
@ -28,4 +28,4 @@ global.counter = 9999;
|
|||
|
||||
global.change = false;
|
||||
|
||||
enum region { boxes, top, mid_left, mid_right, bottom }
|
||||
enum region { boxes, top, mid_left, mid_right, bot_left, bot_right }
|
||||
|
Before Width: | Height: | Size: 99 B After Width: | Height: | Size: 95 B |
|
Before Width: | Height: | Size: 89 B After Width: | Height: | Size: 81 B |
|
Before Width: | Height: | Size: 97 B After Width: | Height: | Size: 94 B |
|
After Width: | Height: | Size: 100 B |
|
After Width: | Height: | Size: 92 B |
|
Before Width: | Height: | Size: 102 B After Width: | Height: | Size: 100 B |
|
Before Width: | Height: | Size: 105 B After Width: | Height: | Size: 99 B |
|
Before Width: | Height: | Size: 100 B After Width: | Height: | Size: 97 B |
|
Before Width: | Height: | Size: 98 B After Width: | Height: | Size: 91 B |
|
Before Width: | Height: | Size: 105 B After Width: | Height: | Size: 84 B |
|
After Width: | Height: | Size: 95 B |
|
After Width: | Height: | Size: 100 B |
|
After Width: | Height: | Size: 92 B |
|
After Width: | Height: | Size: 95 B |
|
|
@ -1224,6 +1224,72 @@
|
|||
"LayerId": "e69b6581-b178-4877-915f-d3e726eaa004"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "35fbaea9-770f-432b-9e3b-62abc46500b3",
|
||||
"modelName": "GMSpriteFrame",
|
||||
"mvc": "1.0",
|
||||
"SpriteId": "a6bfc673-f83a-4ef8-9157-215789abf337",
|
||||
"compositeImage": {
|
||||
"id": "404b5f45-85cf-45f6-b003-203c7284ba47",
|
||||
"modelName": "GMSpriteImage",
|
||||
"mvc": "1.0",
|
||||
"FrameId": "35fbaea9-770f-432b-9e3b-62abc46500b3",
|
||||
"LayerId": "00000000-0000-0000-0000-000000000000"
|
||||
},
|
||||
"images": [
|
||||
{
|
||||
"id": "68dd7c16-7f37-485c-87a5-7ce2d5111f5b",
|
||||
"modelName": "GMSpriteImage",
|
||||
"mvc": "1.0",
|
||||
"FrameId": "35fbaea9-770f-432b-9e3b-62abc46500b3",
|
||||
"LayerId": "e69b6581-b178-4877-915f-d3e726eaa004"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "3d74c1a8-b1a6-411d-bfa9-9d9349ddd3b4",
|
||||
"modelName": "GMSpriteFrame",
|
||||
"mvc": "1.0",
|
||||
"SpriteId": "a6bfc673-f83a-4ef8-9157-215789abf337",
|
||||
"compositeImage": {
|
||||
"id": "498a250c-90eb-411c-ba83-ed81d6cff4e7",
|
||||
"modelName": "GMSpriteImage",
|
||||
"mvc": "1.0",
|
||||
"FrameId": "3d74c1a8-b1a6-411d-bfa9-9d9349ddd3b4",
|
||||
"LayerId": "00000000-0000-0000-0000-000000000000"
|
||||
},
|
||||
"images": [
|
||||
{
|
||||
"id": "ba50e6b1-4363-429e-8ea3-06b924b64725",
|
||||
"modelName": "GMSpriteImage",
|
||||
"mvc": "1.0",
|
||||
"FrameId": "3d74c1a8-b1a6-411d-bfa9-9d9349ddd3b4",
|
||||
"LayerId": "e69b6581-b178-4877-915f-d3e726eaa004"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "af47c41d-a616-400a-ab54-2143b1d23423",
|
||||
"modelName": "GMSpriteFrame",
|
||||
"mvc": "1.0",
|
||||
"SpriteId": "a6bfc673-f83a-4ef8-9157-215789abf337",
|
||||
"compositeImage": {
|
||||
"id": "41d69460-6101-4182-9bfe-e53dc0fcf61f",
|
||||
"modelName": "GMSpriteImage",
|
||||
"mvc": "1.0",
|
||||
"FrameId": "af47c41d-a616-400a-ab54-2143b1d23423",
|
||||
"LayerId": "00000000-0000-0000-0000-000000000000"
|
||||
},
|
||||
"images": [
|
||||
{
|
||||
"id": "8508d436-eddf-442b-9f46-75c97374372f",
|
||||
"modelName": "GMSpriteImage",
|
||||
"mvc": "1.0",
|
||||
"FrameId": "af47c41d-a616-400a-ab54-2143b1d23423",
|
||||
"LayerId": "e69b6581-b178-4877-915f-d3e726eaa004"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"gridX": 0,
|
||||
|
|
|
|||