XaiJu
eropharaoh
eropharaoh

patreon


Summer's Birthday code snippet

A little bit of behind-the-scenes for everyone! This is a screenshot of the code for the "breasts" option button in the Summer interactive loop.  The gotoAndPlay(1) codes are for resetting Summer & Mr. PB's animation so the objects all stay synced when it changes. The "breastsize" code changes what the button's "current:" says, while the "boobs" label switches the actual boobs out. I'm sure there's a better way of fixing the sync in Actionscript 3.0 other than resetting the animations, but I'm still transitioning from 2.0 and while it's similar... a lot of functions are different.  Anyway, it gets the job done.

You can't see it all in the screenshot, but there's a total of 94 lines of code for this one button. It's a lot of work behind-the-scenes! I appreciate everyone who supports me through this, both financially and creatively!!

Summer's Birthday code snippet

Comments

hey i play summer birthday but i click journal has error can't proceed

vivolt neh

Summer's birthday? Next version will be coming, hopefully within a month. :)

EroPharaoh

your not continueing this?

Delquan Nelson

Thanks for the tip! This would only bring the options to the end though and not bring them back to the first option, no?

EroPharaoh

You could really simplify this if check and just get rid of all the if checks by doing: boobs.gotoAndStop(boobs.currentFrame + 1) MovieClip(root).breastsize.gotoAndStop(boobs.currentFrame + 1)

Dougomite


More Creators