View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0029842||Runner||Sprites||Public||2018-08-01 12:25||2018-11-05 16:31|
|Reporter||Steven Campbell||Assigned To||Mike Dailly|
|Priority||Very High||Severity||C - General||Reproducibility||100%|
|Target Version||2.2.0||Fixed in Version||2.2.0|
|Summary||0029842: Sprites: image_index no longer increments on single-frame sprites|
|Description||Due 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 Reproduce||Create 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 Information||This has been fixed on Red, and Blue already and came in as a Helpdesk ticket #146967|
|1.4 Found In|
|2.x Runtime Found In||126.96.36.199|
|2.x Runtime Verified In||188.8.131.529|
Doesn't affect 1.4, as the code was inside a GMS2 check. Has been picked to green.
All works fine now. Attached a sample. Closing.
IDE v184.108.40.2064 Runtime v220.127.116.119
testanimationendsingleframe.yyz (26,371 bytes)