Did you use the given template?
It's under Wrapper\Swig\IAGSEngine.cs
It's under Wrapper\Swig\IAGSEngine.cs
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
bool ShakeScreen;
//when you want to start the shaking put
ShakeScreen = true;
//in repeatedly execute
if (ShakeScreen) ShakeScreenBackground(...);
//in some other function when you want to stop it:
ShakeScreen = false;
//We choose CSCompileStringToInt because we want a function that gets a string
//and returns an int.
//The first argument to this is the c# code, the second argument is the name of the class.
//The name of the class will also be used as the name of the created dll file.
//The functions returns true if compilation succeeds or false if failed.
if (CSCompileStringToInt("return value.LastIndexOf('n');", "GetLastIndexOf"))
{
Display("Compiled successfully!");
}
else
{
Display("Compilation failed!");
}
//The first argument is the input value we give to the function we compiled earlier,
//the second argument is the name of the class/dll to use.
int lastIndex = CSRunStringToInt("An example string", "GetLastIndexOf");
ob.SetPosition(mouse.x-width/2, ob.Y);
Quote from: anian on Fri 13/08/2010 22:24:33
...well not to be the one that brings religion into the topic, but if the "it's part of the weekEND" argument is not enough, acording to the Bible, Sunday was the end of the week therefore it isn't at the begining...some weird nations use it as a begining of a week, but I don't get the concept since Monday is the day you start the part of the week that you work thus it's logical that that is the begining
...then again some nations use metric system (which uses the same logic as the number sistem) unlike other nations which use 3/8 of stuff etc. ...it takes all kinds.
//This function will speak the chosen text, with the selected voice,
//at the chosen speech rate and volume.
//The voice index range is from 0 to the number of voices installed on the computer
// (this can be queried with TTSGetVoicesCount)
bool TTSSpeak(const string text, int voiceIndex, int speechRate, int volume);
//Returns the number of installed voices on the computer
int TTSGetVoicesCount()
//Returns the name of a specific voice index, can be useful
//if you are looking for a specific voice
String TTSGetVoiceName(int voiceIndex)
Quote from: Monsieur OUXX on Tue 03/08/2010 15:32:38
Calin, did that eventually work?
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.158 seconds with 16 queries.