Duck Game

Duck Game

View Stats:
TheEdge 25 Mar, 2018 @ 1:51am
How to make a hat with special effect like the SenpaiHat?
Normally a hat is combined with two pictures and they switch during quack. But in the game there's the Senpai Hat, which is quite unique. When u quack there's a yellow star rotating and zooming in the back.
I really want to make one with such effect. Hope someone can tell me how...
Originally posted by Azrael:
int timer = 0; public override void quack() { timer = (timer + 1) % (numberofframes); graphic.frame = timer; }
< >
Showing 1-2 of 2 comments
The author of this thread has indicated that this post answers the original topic.
Azrael 26 Mar, 2018 @ 3:18am 
int timer = 0; public override void quack() { timer = (timer + 1) % (numberofframes); graphic.frame = timer; }
Last edited by Azrael; 26 Mar, 2018 @ 3:18am
Frostbyte 2 Oct, 2018 @ 8:11am 
How would I go about implementing this with a custom hat? Is there some sort of template code for .hat files that I could use with my own sprites?
< >
Showing 1-2 of 2 comments
Per page: 1530 50