by DilloDude » Tue Feb 20, 2007 9:03 am
I have decided to release the ones I have now, as I don't have any good ideas for more. If I think of more, I'll post them here.
In the 'shots' folder there are some screenshots, most of which I've posted here previously. The code to draw these is in the create actor of Canvas. Just uncomment the script(s) you want to use. (If you are using more than one, you only need to uncomment the 'int i;' line from one of them) In the draw actor event, there is code to make a rotating spiral (this takes a lot out of the framerate, so you wouldn't want to actually use it in a game, but if you have a screen capture program that can capture an animation, you could use it elsewhere.) Reference.rtf contains info on all the functions, with examples, tips, and explanations of what the function parameters do. If you have any problems, just ask. Functions.c contains the separate functions, so you can easily use them in another project.
Special thanks to my dad, for the elipse rotation, and to Novice, for posting the original code which inspired me.
If you write any fancy scripts to draw cool patterns, using these functions, you can post the code here, and let everyone see it. On the other hand, you could be stingy and keep it to yourself, but it's nicer to let other people see it, so they can tell you how awesome it is.
- Attachments
-
- MoreDrawingFunctions.zip
- Finally, after all that rant, here is the file! Enjoy!
- (469.62 KiB) Downloaded 406 times