Templetize Simple Tweens using Nim's Templates/Macros #2
Labels
enhancement
New feature or request
good first issue
Good for newcomers
Hacktoberfest
help wanted
Extra attention is needed
I tried doing a
simpleSingleValueTween
template here, but when I did some testing later it seemed like it really didn't work as I expected. Currently, a lot of tweens follow a very copy-paste-ey pattern which seems ideal for a template, but I currently don't know enough about the system to get it to work.Anyone with more experience in Nim or time to get it to function properly are welcome to Fix the issue :)
This is what my attempt looked like:
but it seemed like the untyped
valueName
didn't quite work. It would also be nice to support multiple valueNames in avararg[untyped]
kind-of way, but that would require a macro.The text was updated successfully, but these errors were encountered: