DCEmu.co.uk
23/08/2007, 03:47
Yodaz (http://www.gp32x.com/board/index.php?showtopic=38242&view=findpost&p=551185) posted this news:
Samurai X has done an new version of this wonderfull engine for great beat'em up
changes:
For scripting I have added new features as well as fixed some bugs.
Scripting Functions:
-id = loadsample(filename, packfile)
-unloadsample(id)
-playsample(id, priority, lvolume, rvolume, speed, loop)
Scripting Examples:
CODE
int id;
id = loadsample("data\sounds\wow.wav", mymod.pak);
if(id >= 0)
{
playsample(id, 0, 120, 120, 100, 0);
unloadsample(id);
}
Scripting Bug Fixes:
- Some scripting functions did not handle both constants and integers. This is no longer an issue as we will automatically handle each type.
New Command Types:
- bounce [int]
Command Example:
* bounce 0 = Normal no bounce effect.
* bounce 1 = executes the double fall bounce effect when model falls. This means model will bounce for a second time as well as play the sound effect again. This applies to all models, not type dependent.
General Bug Fixes:
- Players and Enemies only play fall effect once. See bounce command for more than once.
- Recovery from throw no-longer removes energy. Which caused other issues as well.
- General bug fixes here and there....
Damon's Additions:
- antigravity command now accessible through scripting.
Mostly I just wanted to get an ALL Platform release out here which has not been done in a while so that platform users can now enjoy all of bug fixes that have gone in. Enjoy this new fine build!Download Here (http://archive.gp2x.de/cgi-bin/cfiles.cgi?0,0,0,0,20,2302)
Más información... (http://www.dcemu.co.uk/vbulletin/showthread.php?t=71650&goto=newpost)
Samurai X has done an new version of this wonderfull engine for great beat'em up
changes:
For scripting I have added new features as well as fixed some bugs.
Scripting Functions:
-id = loadsample(filename, packfile)
-unloadsample(id)
-playsample(id, priority, lvolume, rvolume, speed, loop)
Scripting Examples:
CODE
int id;
id = loadsample("data\sounds\wow.wav", mymod.pak);
if(id >= 0)
{
playsample(id, 0, 120, 120, 100, 0);
unloadsample(id);
}
Scripting Bug Fixes:
- Some scripting functions did not handle both constants and integers. This is no longer an issue as we will automatically handle each type.
New Command Types:
- bounce [int]
Command Example:
* bounce 0 = Normal no bounce effect.
* bounce 1 = executes the double fall bounce effect when model falls. This means model will bounce for a second time as well as play the sound effect again. This applies to all models, not type dependent.
General Bug Fixes:
- Players and Enemies only play fall effect once. See bounce command for more than once.
- Recovery from throw no-longer removes energy. Which caused other issues as well.
- General bug fixes here and there....
Damon's Additions:
- antigravity command now accessible through scripting.
Mostly I just wanted to get an ALL Platform release out here which has not been done in a while so that platform users can now enjoy all of bug fixes that have gone in. Enjoy this new fine build!Download Here (http://archive.gp2x.de/cgi-bin/cfiles.cgi?0,0,0,0,20,2302)
Más información... (http://www.dcemu.co.uk/vbulletin/showthread.php?t=71650&goto=newpost)