<undefined>
0
-1
0
-1
objDebugList
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
event_inherited();
x = 4;
y = 4;
header = "search...";
written = false;
instances = -1;
items = -1;
keyboard_string = "";
keyboard_string_prev = "";
color_timer = 0;
game_started_before = variable_global_get(global.__synthasmagoria_debug_inspector_global_game_start_name);
variable_global_set(global.__synthasmagoria_debug_inspector_global_game_start_name, false);
event_user(0);
1
603
7
0
0
-1
2
self
0
0
1
variable_global_set(global.__synthasmagoria_debug_inspector_global_game_start_name, game_started_before);
1
603
7
0
0
-1
2
self
0
0
1
event_inherited();
color_timer++;
if (keyboard_string != keyboard_string_prev) {
header = keyboard_string;
keyboard_string_prev = keyboard_string;
event_user(0);
}
1
603
7
0
0
-1
2
self
0
0
1
/// update instances
var
_search = string_lower(keyboard_string),
_instances = array_create(instance_count),
_items = array_create(instance_count),
_count = 0;
for (var i = 0; i < instance_count; i++) {
if (instance_exists(instance_id[i]) &&
(_search == "" || (string_count(_search, string_lower(object_get_name(instance_id[i].object_index)))))) {
_instances[_count] = instance_id[i];
_items[_count] = object_get_name(instance_id[i].object_index) + " - inst_" + string(instance_id[i]);
_count++;
}
}
instances = array_create(_count);
items = array_create(_count);
array_copy(instances, 0, _instances, 0, _count);
array_copy(items, 0, _items, 0, _count);
item_highlight_index = -1;
event_inherited();
1
603
7
0
0
-1
2
self
0
0
1
if (item_highlight_index != -1 &&
instance_exists(instances[item_highlight_index]) &&
instances[item_highlight_index].sprite_index != -1) {
var _inst = instances[item_highlight_index];
var _view = scrDebugInspectorGetView(0);
draw_sprite_ext(
_inst.sprite_index,
_inst.image_index,
_inst.x - _view[0],
_inst.y - _view[1],
_inst.image_xscale,
_inst.image_yscale,
_inst.image_angle,
make_color_hsv(color_timer % 255, 255, 255),
1.0);
}
event_inherited();
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
0