Menu

Show posts

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

Topics - eri0o

#161
Hi,

My game is using the Dialog -> Speech Style SierraWithBackground . I have a Custom text-window GUI set under the Text output of global settings.

What I would like to know is if it's possible to change the text color of the dialogs to use the speaking character SpeechColor.

If it's not, is there a way to reimplement the character.Say(string) function ? I am using dialogs, so alternatively, if there is a way to change how the dialogs process the text to make the game script it would be cool too.
#162
Hey,

The wiki needs an entry explaining managed structs and how to make array of them.

The wiki page is here: http://www.adventuregamestudio.co.uk/wiki/Referencing_custom_struct_types

The content I want to add is below, but I don't have clearance to be able to add content to the wiki:

Simple struct declaration

Code: ags

struct Pos {
 int x;
 int y;
}

Pos initialPosition;
Pos importantPosition[3];


This kind of struct though can't be passed as argument of a function.

Managed Struct

Code: ags

managed struct Pos {
 int x;
 int y;
}

Pos * initialPosition;
Pos * importantPosition;

//we can't use 'initialPosition = new Pos;' in the body, it needs to be in a function

function initialisePositions(){
    initialPosition = new Pos;
    importantPosition = new Pos[3];
    importantPosition[0] = new Pos;
    importantPosition[1] = new Pos;
    importantPosition[2] = new Pos;
    
}

function moveDancingTo(Pos * destination){

    // do something with destination

}



Managed strucs allow passing structs as parameters
#163
Hello,

I am making my game title screen. I want the first option to be a Continue. Clicking in Continue should load the most recent save slot.

Is it possible to find out which saveslot has the most recent game state?

Thanks.
#164
Hey has someone seen this war of mine:
https://goo.gl/images/ZoHPtU

I would like to make a room like that containing multiple rooms, but the perspective gets a bit messy, has someone attempted affine transformation in AGS, or maybe using trapezoid for each wall, floor and ceiling and faking with distortion? Thoughts on this idea?
#165
Editor Development / Editor for Linux in 2017
Sun 29/01/2017 14:52:48
Hello,

I am just curious how can I install the Editor for Ubuntu 16.04, is there any automated script for PlayOnLinux or is there any Native build?

Wine gives me the error:

Code: ags
An unexpected error occurred. See below for details.
System.NotSupportedException: Can't get timezone name.
  at System.CurrentSystemTimeZone..ctor (Int64 lnow) [0x000000] in <filename unknown>:0
  at System.TimeZone.get_CurrentTimeZone ()[0x000000] in <filename unknown>:0
  at System.DateTime.get_Now () [0x000000] in <filename unknown>:0
  at AGS.Editor.SplashScreen..ctor () [0x000000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) AGS.Editor.SplashScreen:.ctor ()
  at AGS.Editor.Program.RunApplication (System.String[] args) [0x000000] in <filename unknown>:0


Tried to fake me living in NY...
Code: ags

~/.wine/drive_c/Program Files (x86)/Adventure Game Studio 3.4.0$ TZ=America/New_York wine AGSEditor.exe 
fixme:wincodecs:PngDecoder_Block_GetCount 0x1509448,0x33f318: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x154d3d0,0x33f318: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x1587440,0x33f5c8: stub
fixme:wincodecs:PngDecoder_Block_GetCount 0x1560b08,0x33f698: stub
Stacktrace:

  at <unknown> <0xffffffff>
  at System.Drawing.Image.get_Palette () <0x00013>
  at (wrapper remoting-invoke-with-check) System.Drawing.Image.get_Palette () <0xffffffff>
  at System.Windows.Forms.Cursor.ToBitmap (bool,bool) <0x005df>
  at System.Windows.Forms.Cursor.CreateCursor (System.IO.Stream) <0x00027>
  at System.Windows.Forms.Cursor..ctor (System.Type,string) <0x0005f>
  at System.Windows.Forms.Cursors.get_VSplit () <0x00047>
  at WeifenLuo.WinFormsUI.Docking.SplitterBase.set_Dock (System.Windows.Forms.DockStyle) <0x0013b>
  at WeifenLuo.WinFormsUI.Docking.DockWindow..ctor (WeifenLuo.WinFormsUI.Docking.DockPanel,WeifenLuo.WinFormsUI.Docking.DockState) <0x0015e>
  at (wrapper remoting-invoke-with-check) WeifenLuo.WinFormsUI.Docking.DockWindow..ctor (WeifenLuo.WinFormsUI.Docking.DockPanel,WeifenLuo.WinFormsUI.Docking.DockState) <0xffffffff>
  at WeifenLuo.WinFormsUI.Docking.DockWindowCollection..ctor (WeifenLuo.WinFormsUI.Docking.DockPanel) <0x000ab>
  at WeifenLuo.WinFormsUI.Docking.DockPanel..ctor () <0x002f7>
  at (wrapper remoting-invoke-with-check) WeifenLuo.WinFormsUI.Docking.DockPanel..ctor () <0xffffffff>
  at AGS.Editor.frmMain.InitializeComponent () <0x00333>
  at AGS.Editor.frmMain..ctor () <0x0001f>
  at (wrapper remoting-invoke-with-check) AGS.Editor.frmMain..ctor () <0xffffffff>
  at AGS.Editor.GUIController.Initialize (AGS.Editor.AGSEditor) <0x00087>
  at AGS.Editor.ApplicationController..ctor () <0x00387>
  at AGS.Editor.Program.startupTimer_Tick (object,System.EventArgs) <0x00147>
  at System.Windows.Forms.Timer.OnTick (System.EventArgs) <0x00023>
  at System.Windows.Forms.Timer.FireTick () <0x00018>
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Timer.FireTick () <0xffffffff>
  at System.Windows.Forms.XplatUIWin32.GetMessage (System.Windows.Forms.MSG&,intptr,int,int,bool) <0x00537>
  at System.Windows.Forms.XplatUIWin32.GetMessage (object,System.Windows.Forms.MSG&,intptr,int,int) <0x0001f>
  at System.Windows.Forms.XplatUI.GetMessage (object,System.Windows.Forms.MSG&,intptr,int,int) <0x00026>
  at System.Windows.Forms.Application.RunLoop (bool,System.Windows.Forms.ApplicationContext) <0x00b1f>
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext) <0x0005b>
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form) <0x00037>
  at AGS.Editor.Program.RunApplication (string[]) <0x00127>
  at AGS.Editor.Program.Main (string[]) <0x00027>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff>

abnormal program termination
err:mscoree:expect_no_runtimes Process exited with a Mono runtime loaded.



Thanks!
SMF spam blocked by CleanTalk