How to Auto rotate Film strip knob
-
-
@d-healey said in How to Auto rotate Film strip knob:
Show us the image you want to use. Are you tring to apply it to a knob/slider control or are you trying to make a knob/slider using a panel?
Both Slider and Panel.
-
Well for a slider you just set it as the slider's film strip image. For the panel you need to use a paint routine.
-
@d-healey No no... I want this type of animation using Hise. I want to create this with Film strip.
https://www.studiolinked.com/product/infinitiplayer/infiniti-player/#tab-description
-
I think a paint routine is the only way to do that (but I could be wrong).
-
@Tania-Mosh Please Download The Below ZIp File, And Load It, I Guess This Is What You Try To Get :)
Star Animation.zip -
@Natan Exactly. Yeah Yeah... That's what I wanted. Thank you so very much. :)
How do you all know HISE !! I wanna learn HISE badly. You guys are my inspiration.Thank you,
TM -
@Tania-Mosh Glad to Help
-
@Natan
Fr some reason I keep getting this code...'%' is not allowed on the String type
anyone have any idea why?
-
@BWSounds
You Just Need To Change The Below Numbers, So They Match To Your Png Image:reg Star_total_frames = 65; // total frames in the filmstrip reg Star_frame_height = 100; // the height(y) of each frame
And The Image PNG Name, Or Just Rename Your PNG To star.png And You're All Set.
Star.loadImage("{PROJECT_FOLDER}star.png", "Star"); // Just Change The star.png
I Don't See Any Errors Here