clueless
02-01-2008, 05:35 PM
Overview
This is a Version2 tool for dynamic mixing of background masks in AMS to give the illusion of an extending 'Draw or Draws' on the side of the main program window. file size 24kb :cool .It can be set up for multiple draws extending to many levels.
Info on the orig version/concept can be found here: http://www.indigorose.com/forums/showthread.php?t=17863&highlight=dmt
http://www.fataloverdose.copperstream.co.uk/files/programming_tools/dmt/dmt_examplepic_web.gif
This version is using Direct Memory Access to perform the pixel operations and is at least 13x faster than V1 :yes
Using the DMT
This is a Command Line Tool so its an .EXE file that has to have 3 bits of data passed to it to mix the masks. Note : all filenames have to be passed as 'short filenames' to avoid extra spaces in the command line.
Syntax
[MainPic] [Action] [Draw]
[MainPic] :A mask image of the program window with all the draws open
[Action] : Either 'Add' or 'Sub' to add or remove a draw from the main Mask image
[Draw] : A Mask image of a draw in the open position
Example:
CommandLine = MainPic.." ".."Sub".." "..ADrawPicLocation;
File.Run("AutoPlay\\Prg\\DMT.exe", CommandLine, "", SW_SHOWNORMAL, true);
Global Functions example:
function OpenDraw(ADrawPicLocation)
RunDMT (MainPic.." ".."Add".." "..ADrawPicLocation);
Audio.Load(CHANNEL_NARRATION, "AutoPlay\\Audio\\Keys.ogg", true, false);
return true
end
----------------------------------------------------------------------------------------------------------------
function ShutDraw(ADrawPicLocation)
RunDMT (MainPic.." ".."Sub".." "..ADrawPicLocation);
Audio.Load(CHANNEL_NARRATION, "AutoPlay\\Audio\\Knocker.ogg", true, false);
return false
end
Download
This prog is free for you to use in your own projects. A small note of credit would be appeciated in anything you use it for.
Heres a quick example of how to use the DMT, its a demo prog with a few random functions in it.
Download DMT_Clueless.rar (http://www.fataloverdose.copperstream.co.uk/files/programming_tools/DMT_Clueless.rar)
Next ill be converting this and whole bunch of other image/picture functions into a DLL file which i that I may charge a small fee for.
This is a Version2 tool for dynamic mixing of background masks in AMS to give the illusion of an extending 'Draw or Draws' on the side of the main program window. file size 24kb :cool .It can be set up for multiple draws extending to many levels.
Info on the orig version/concept can be found here: http://www.indigorose.com/forums/showthread.php?t=17863&highlight=dmt
http://www.fataloverdose.copperstream.co.uk/files/programming_tools/dmt/dmt_examplepic_web.gif
This version is using Direct Memory Access to perform the pixel operations and is at least 13x faster than V1 :yes
Using the DMT
This is a Command Line Tool so its an .EXE file that has to have 3 bits of data passed to it to mix the masks. Note : all filenames have to be passed as 'short filenames' to avoid extra spaces in the command line.
Syntax
[MainPic] [Action] [Draw]
[MainPic] :A mask image of the program window with all the draws open
[Action] : Either 'Add' or 'Sub' to add or remove a draw from the main Mask image
[Draw] : A Mask image of a draw in the open position
Example:
CommandLine = MainPic.." ".."Sub".." "..ADrawPicLocation;
File.Run("AutoPlay\\Prg\\DMT.exe", CommandLine, "", SW_SHOWNORMAL, true);
Global Functions example:
function OpenDraw(ADrawPicLocation)
RunDMT (MainPic.." ".."Add".." "..ADrawPicLocation);
Audio.Load(CHANNEL_NARRATION, "AutoPlay\\Audio\\Keys.ogg", true, false);
return true
end
----------------------------------------------------------------------------------------------------------------
function ShutDraw(ADrawPicLocation)
RunDMT (MainPic.." ".."Sub".." "..ADrawPicLocation);
Audio.Load(CHANNEL_NARRATION, "AutoPlay\\Audio\\Knocker.ogg", true, false);
return false
end
Download
This prog is free for you to use in your own projects. A small note of credit would be appeciated in anything you use it for.
Heres a quick example of how to use the DMT, its a demo prog with a few random functions in it.
Download DMT_Clueless.rar (http://www.fataloverdose.copperstream.co.uk/files/programming_tools/DMT_Clueless.rar)
Next ill be converting this and whole bunch of other image/picture functions into a DLL file which i that I may charge a small fee for.