Hi! Thanks for your answer! actually my aim is not only to reduce compile time, it's reduce game size. Thanks!
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 MenuQuoteWhile most in-game text is translated automatically, there are a few instances when this is not possible. These are when a script uses functions like Append to build up a string, or CompareTo to check some user input. In these cases, you can use the GetTranslation function to make it work.
String sText = "";
sText = sText .Append("bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla[");
sText = sText .Append("bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla[");
sText = sText .Append("bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla[");
sText = sText .Append("bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla[");
sText = sText .Append("bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla[");
sText = sText .Append("bla bla bla bla");
Quote from: heltenjon on Thu 18/11/2021 21:45:18Quote from: manu_controvento on Thu 18/11/2021 21:25:49Quote from: arj0n on Thu 18/11/2021 14:23:32
I think his blog was here (http://cmioe.blogspot.com), but it's gone...
Yes, I meant I couldn't find the blog where I expected... did anyone download all the stuff before it went down?
At http://www.g4g.it/2011/11/21/the-curse-of-monkey-island-classic-edition-demo/ the download zip is nearly 80 Mb, and it looks like it contains both compiled and raw data. But the upload date seems to be 2011, so I'm not sure everything is there.
Quote from: heltenjon on Thu 18/11/2021 21:45:18Quote from: manu_controvento on Thu 18/11/2021 21:25:49Quote from: arj0n on Thu 18/11/2021 14:23:32
I think his blog was here (http://cmioe.blogspot.com), but it's gone...
Yes, I meant I couldn't find the blog where I expected... did anyone download all the stuff before it went down?
At http://www.g4g.it/2011/11/21/the-curse-of-monkey-island-classic-edition-demo/ the download zip is nearly 80 Mb, and it looks like it contains both compiled and raw data. But the upload date seems to be 2011, so I'm not sure everything is there.
Quote from: arj0n on Thu 18/11/2021 14:23:32
I think his blog was here (http://cmioe.blogspot.com), but it's gone...
// called when a key is pressed
function on_key_press(eKeyCode keycode)
if (keycode == eKeyAlt) //
{ }
else if (keycode == eKeyCtrl) //
void SetStepSoundForView(int viewNumber)
{
int loopCount = Game.GetLoopCountForView(viewNumber);
for (int loopIndex = 0; loopCount - 1; loopIndex++)
{
int frameCount = Game.GetFrameCountForLoop(viewNumber, loopIndex);
ViewFrame* frame;
switch(loopIndex)
{
// Down, Up: 3, 7
case 0:
case 3:
frame = Game.GetViewFrame(viewNumber, loopIndex, 3);
frame.LinkedAudio = aStep;
frame = Game.GetViewFrame(viewNumber, loopIndex, 7);
frame.LinkedAudio = aStep;
break;
// Left, Right: 1, 5
case 1:
case 2:
frame = Game.GetViewFrame(viewNumber, loopIndex, 1);
frame.LinkedAudio = aStep;
frame = Game.GetViewFrame(viewNumber, loopIndex, 5);
frame.LinkedAudio = aStep;
break;
}
}
}
int frameCount = Game.GetFrameCountForLoop(viewNumber, loopIndex);
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.067 seconds with 13 queries.