View Issue Details

IDProjectCategoryView StatusLast Update
0020862RunnerFunctionsPublic2019-10-10 08:57
ReporterMark AlexanderAssigned ToCoreTech 
PriorityMediumSeverityC - GeneralReproducibilityN/A
Status AssignedResolutionReopened 
Product Version2.1.3 
Target VersionFixed in Version 
Summary0020862: Functions: No functions to set the tilemap animation speed
DescriptionThe tilemap functions have a function to retrieve the current animation frame, but no function to set it. Nor is there a function to set the frame speed for a tilemap. So we need this to set the frame index:

tilemap_frame(element_id, frame_index);

as well as:

tilemap_frame_speed(element_id, speed);
tilemap_get_frame_speed(element_id);

I would also suggest a more general set of functions:

tilemap_pause();
tilemap_unpause();

The above would be required for those people that want to pause the animations of ALL tilemaps when the game pauses or whatever, and be very simple to use (as otherwise you'd have to loop through all the tilemaps, get the current frame speed and store it, then set the frame speed to 0 to pause them, then do it again to unpause them).
Tagsfunctions, rendering, Runner
1.4 Found In
2.x Runtime Found In
2.x Runtime Verified In

Activities

Mike Dailly

2016-09-14 23:35

Developer   ~0048602

You can't do this. Animation isn't a per-tile state, its procedural based on tables built during compile time.

As designed.

You can obviously write tiles into the map directly, but that's all you'll ever be able to do.