Yes I’m still working on it
Just learning up on delegates
…. Solved a problem I’ve been having with them

Now I can create a short custom function to bullets and they’ll behave accordingly

The motivation behind this one was to make bullets move in a wave pattern

The bullet would travel in a straight line, and a modifier function would move the bullet side to side based on a trig function

It’s so I don’t have to create a big function specifically for wave bullets on my bullet generator. I can just put the function contents in the initialization part of the pattern that uses it


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s