View Issue Details

IDProjectCategoryView StatusLast Update
0029842RunnerSpritesPublic2018-11-05 16:31
ReporterSteven CampbellAssigned ToMike Dailly 
PriorityVery HighSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
Product Version2.1.5 
Target Version2.2.0Fixed in Version2.2.0 
Summary0029842: Sprites: image_index no longer increments on single-frame sprites
DescriptionDue to an optimisation, image_index will not increment when a sprite only has one frame. This is a change in behaviour from previous versions of GameMaker, where it seems to have been relied upon as a makeshift timer by some users.
Steps To ReproduceCreate a new object and a sprite with one frame ( a )
Create a new object and a sprite with two frames ( b )

In each create function, image_speed = 0.1;
In each step function, show_debug_message(string(image_index))

Add each object to the room and run.

Notice that a's image_index does not increment, whereas b's does.
Additional InformationThis has been fixed on Red, and Blue already and came in as a Helpdesk ticket #146967
1.4 Found In
2.x Runtime Found In2.1.5.246
2.x Runtime Verified In2.2.0.259



2018-08-13 10:44

Adminstrator   ~0061163

Last edited: 2018-09-04 13:48

View 2 revisions

Doesn't affect 1.4, as the code was inside a GMS2 check. Has been picked to green.


2018-10-05 17:14

Adminstrator   ~0061723

All works fine now. Attached a sample. Closing.

IDE v2.2.0.344 Runtime v2.2.0.259

testanimationendsingleframe.yyz (26,371 bytes)