Dear moderators, can you please delete this subject?
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
PlayVideo("cinematic.avi",eVideoSkipEscKey, 0);
Quote from: eri0o on Sat 09/11/2019 10:35:51
What is normal languages data? Can you give me some screenshots to accompany your description?
Have you read here?
https://adventuregamestudio.github.io/ags-manual/Translations.html
Other relevant function is here:
https://adventuregamestudio.github.io/ags-manual/Game.html#gamechangetranslation
Remembering a choice requires writing and reading to some file so that you can read this before starting the game.
Quote from: Crimson Wizard on Wed 25/09/2019 15:27:35Quote from: fancasopedia on Wed 25/09/2019 08:07:16
Guys, is it for AGS Dark Theme?
This is a tool that lets you configure your own custom theme. If you only want to use existing theme, then simply download the theme itself and install it through editor's Preferences.Quote from: fancasopedia on Wed 25/09/2019 08:07:16
How can I install this? Can you write to steps?
Follow the download link in the first post that sais "compiled app" (https://bitbucket.org/rulaman/ags-themeeditor/downloads/)
Download the one with the highest version number.
Create a folder and unpack a zip.
Run ThemeApp.exe.
Quote from: Snarky on Sun 08/09/2019 15:27:43
Usually if you want to display a DynamicSprite temporarily, you assign it as the Graphic of a room object or a GUI control (e.g. a Button), and show that. Or you can use a graphical Overlay. That way you can easily get rid of it when you no longer need it. Drawing onto the room background is something you'd usually only do if you're making a permanent change to the entire room.
Quote from: eri0o on Sun 08/09/2019 14:14:09
The function you need is this: DynamicSprite.CreateFromBackground(). You need to store this Dynamic Sprite somewhere.
I can't write you a code because it's unclear what you are trying to do. :/ For instance, I can't even understand if the scope of the copy of background sprite needs to be on the function or globally in your case.
Quote from: eri0o on Sun 08/09/2019 11:16:07
Once a Sprite is draw to any surface you can't remove from it, because it's no longer a sprite, instead it's now a bunch of pixels. If you wish to preserve any surface after drawing, instead, you need to copy those pixels elsewhere, the easiest way being creating a dynamic sprite that holds a copy of the pixels at the previous state.
function Speak(this Character*, int iconNumber, String chardialog)
{
DynamicSprite* sprite = DynamicSprite.CreateFromExistingSprite(iconNumber, true);
sprite.Resize(75, 75);
DrawingSurface *surface = Room.GetDrawingSurfaceForBackground();
surface.DrawImage(10, 640, sprite.Graphic);
sprite.Delete();
surface.Release();
this.SayAt(10,680, 1200, chardialog);
}
Quote from: Crimson Wizard on Sat 31/08/2019 14:51:25
AGS does not support Unicode, it is a strictly ANSI program (it's old). This means that you need to:
1) Find a font corresponding to the Turkish ANSI codepage: https://en.wikipedia.org/wiki/Windows-1254
2) Make sure that when you write and save turkish text in the ags script or TRS file you have Turkish as a base system locale set (locale for non-Unicode programs).
Only then the typed text will match the font characters correctly.
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.041 seconds with 13 queries.