In GameMaker currently, there is no built-in way to modify sequences in runtime without modifying the main sequence resource.
One of the use cases of modifying sequences in runtime is, for example, creating a layout for UI button / resource art / character animation with placeholder images and text in the IDE, and then change it with the final ones for each instance before sending them on screen.
This function is aimed to fix this issue, so you can create a deep copy of your sequence resource, modify its properties and spawn a new sequence instance without breaking the original one.
What versions does your resource support?
[ ] LTS+
[X] 2023.1+
[ ] 2024.2+
[ ] Latest current runtime version (local packages)
What kind of resource is this?
Library
If other was selected, what is it?
No response
Logo
No response
Description
Use sequences as graphics templates!
Authors
KeeVeeGames
Link to your resource
https://github.com/KeeVeeGames/DuplicateSequence.gml
Tags
sequences, deep-copy, duplication
Post
In GameMaker currently, there is no built-in way to modify sequences in runtime without modifying the main sequence resource.
One of the use cases of modifying sequences in runtime is, for example, creating a layout for UI button / resource art / character animation with placeholder images and text in the IDE, and then change it with the final ones for each instance before sending them on screen.
This function is aimed to fix this issue, so you can create a deep copy of your sequence resource, modify its properties and spawn a new sequence instance without breaking the original one.
What versions does your resource support?
What platforms has this been tested on?