View Issue Details

IDProjectCategoryView StatusLast Update
0026342RunnerHTML5Public2017-08-03 11:45
ReporterStewart BishopAssigned ToFritz 
PriorityMediumSeverityA - Crash/HangReproducibility100%
Status ClosedResolutionNo Change Required 
Product Version 
Target VersionFixed in Version 
Summary0026342: HTML5: tile_get_ids...() with tile_delete can freeze drawing and fail to return values
DescriptionStep event:

// add a tile
if mouse_check_button_pressed(mb_left){
tile_add( bg, 0,0, 16,16, mouse_x,mouse_y, 1000);
}
// delete a tile
if mouse_check_button_pressed(mb_right){
tile_delete( tile_layer_find(1000,mouse_x,mouse_y) );
}
// test tile id functions
if keyboard_check(vk_space){
MyId = tile_get_id(0); // drawing will freeze upon deleting the tile with the lowest ID and there's 1 or more tiles remaining or until you add a new tile.
MyArr = tile_get_ids(); // drawing will freeze upon deleting any tile
MyArr = tile_get_ids_at_depth(1000); // drawing will freeze upon deleting any tile
}

if you execute either of the tile_get_id functions every step the game is frozen permanently.
Steps To ReproduceReproduce: delete tiles (right mouse) and hold either 1,2,3.

Observe: drawing will freeze (try adding tiles with left mouse while holding either 1,2,3)
1.4 Found In1.99.533
2.x Runtime Found In
2.x Runtime Verified In

Activities

Stewart Bishop

2017-04-28 17:14

Adminstrator  

html5--tile_get_id-cause-draw-freeze.gmz (9,440 bytes)

Mike Dailly

2017-05-18 08:42

Manager   ~0053192

Already fixed