Jump to content

How to Write an Effect Plugin (Part 5 of 4 - Beyond CodeLab)


Recommended Posts

I've never been happy with the C# code syntax highlighter here on the forums. So, I have moved this tutorial here:

http://boltbait.com/pdn/CodeLab/help/tutorial5.asp

It includes sections on how to move a CodeLab script into a full Visual Studio project and how to add slider decorations to your effects.

NewColorBalanceUI.png

  • Upvote 3

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
Share on other sites

Very nice tutorial! Thanks BoltBait. +1.

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 year later...

For anyone that's interested, I would like to point out a few more CodeLab limitations I've noticed that were not mentioned.

  • The default value of the Angle Chooser control can't be changed from 45 degrees, and also constrained ranges (ex: 45 degrees to 90 degrees) can't be set.
  • The default value of the Double Vector control can't be changed from (0,0), and also ranges can't be changed from -1.00 to 1.00.
  • The default value of the 3D Roll Ball control can't be changed from (0,0,0)
  • All ranges, defaults, and strings must be hard-coded values.
Edited by toe_head2001
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...