Difference between revisions of "Mala Plugins"
m (changed see also to a categori) |
m (same as below) |
||
Line 37: | Line 37: | ||
Have a play.. It's lots of fun :-) | Have a play.. It's lots of fun :-) | ||
− | + | {{Mala-Wiki}} |
Revision as of 07:34, 9 April 2007
Installing MaLa Plug-Ins
Istalling a plug-in varies a little but basically you need to have the *.mplugin file in the ../mala/plugins directory as well as any other files (like set-up files) that are provided with the Plug-In.
When MaLa starts it looks to see what *.mplugin files are in that directory. It will then list them in..
Assuming you have done the relevent set-up (if any) required for that plug-in, it should work straight away.
Creating MaLa Plug-Ins
Know how to code in Delphi or C++?
Well why not make your own Plug-in.
It can be as complex or as simple as you like.
In a Nutshell. The plug-ins are triggered on various events.
eg:
- MaLa Start
- Game Start
- Screen Saver Start
- more....
On these events you decide what your plug-in will do..
You for example may have the PC do something like make a BEEP noise when you start a game or you may have it do something more complex like mapping controls for your Josticks for a custom control panel.
In any case.. Download the Plug-in SDK and have a play
The explample provided. 'EVENT LOGGER' Saves line to a text file every time a event happens.
When you are ready you can subsitute this code with code of your own to make the plug-in do somethings else..
Have a play.. It's lots of fun :-)
Back to Mala Wiki - Mala Forum |