Mantis

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0026342RunnerHTML5Public2017-04-28 17:142017-08-03 11:45
ReporterStewart Bishop 
Assigned ToFritz 
PriorityMediumSeverityA - Crash/HangReproducibility100%
StatusClosedResolutionNo Change Required 
PlatformOSOS 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 Version1.99.533
2.x Runtime Version
2.x Runtime Version Verified In
Attached Files? file icon html5--tile_get_id-cause-draw-freeze.gmz [^] (9,440 bytes) 2017-04-28 17:14

- Relationships

-  Notes
(0053192)
Mike Dailly (Manager)
2017-05-18 08:42

Already fixed


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker