View Issue Details

IDProjectCategoryView StatusLast Update
0029880RunnerFunctionsPublic2018-10-29 11:28
ReporterStewart BishopAssigned ToRussell Kay 
PriorityLowSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Product Version2.1.5 
Target Version2.2.1Fixed in Version2.2.1 
Summary0029880: Functions: sprite_collision_mask() doesn't allow you to create collision masks bigger than your sprite
DescriptionIf you create a sprite in the IDE and manually edit the sprite's collision mask, then you're able to make the collision mask larger than the sprite, which is a perfectly normal use-case. However, if you instead choose to do this using sprite_collision_mask() in-game you are limited to making the mask fit within the sprite's height and width.
TagsRunner
1.4 Found In
2.x Runtime Found In2.1.5.246
2.x Runtime Verified In2.2.1.268

Activities

Stewart Bishop

2018-08-24 15:13

Adminstrator  

SpriteCollisionMask.yyz (23,949 bytes)

Russell Kay

2018-08-27 12:10

Manager   ~0061387

Fixed in github

Dan

2018-09-02 22:56

Adminstrator   ~0061456

Fix is actually to restore previously-removed functions:
sprite_get_bbox_mode(ind)
sprite_set_bbox_mode(ind,mode)
sprite_set_bbox(ind,left,top,right,bottom)