Welcome Guest [Log In] [Register]
Welcome to Awsomisoft. We hope you enjoy your visit.


You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
Dice Random Plug-in; Plug-in for random values
Topic Started: May 14 2011, 06:28 PM (389 Views)
Gregg
Member Avatar
DS App Studio™
[ *  *  *  *  * ]
I just made a new plug-in that allows users to use Dice within their games and applications. All you have to do is implement this function into an ifbuttonheld(); function:

Code:
 

MakeDice(int numbertostartat, int numbermin, int numbermax);


and then at ifbuttonpressed(); add this function:

Code:
 

StopDice();


Before doing all this though, you must load the plug-in by going to Resources | Load Plug-in and select the plug-in to load. Here is the plug-in.
Attached to this post:
Attachments: MakeDice.fpn (850 Bytes)
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · DS App Studio Plug-ins · Next Topic »
Add Reply