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

Messages - eri0o

#2941
Hello,

I am having some reports from people (the game artist and musician) playtesting our game that they are having trouble with playing the game in Full screen in Windows 10. I tested the game on virtual machines and had no problem with Windows XP, Windows 7. In virtual machines, Windows Server 2012 and Windows 10 didn't launch the game in full screen. The only PC that's Windows 10 I have access to, which is my girlfriend's, the game worked. Has anyone had problems with full screen and Windows10?
#2942
Hey, is the source of this plugin available somewhere? Is it still working as of 2017, with PS4 gamepads and such?
#2943
Hey, is there plans to open source this tool or integrate it into AGS itself? I really want to use it but I don't want to risk having no compatibility with future AGS releases.
#2944
Ok, maybe I need to create my custom function and use this plugin to convert.

http://www.adventuregamestudio.co.uk/forums/index.php?topic=39568.0

I have to say I am not really happy having to use an dll so I may not use it at all, because I don't know if I can guarantee it will always work with future AGS releases.
#2945
Advanced Technical Forum / Re: Tinting
Sun 16/07/2017 21:28:28
Are you using which version of AGS?
#2946
[imgzoom]https://ericoporto.github.io/public_html/gallery/adsfdg/bg_idea.png[/imgzoom]

Hey! I decided to give a shot at drawing a background. :D
#2947
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.
#2948
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
#2949
Thanks Khris! I will use this idea for other things.

Gurok, thanks, I used your solution right now and it works flawless. I am using the same list I have for my load screen and even if it's not visible, it works. :D
#2950
Hey Guys!

Thanks for all the input! Me and the guys I am working with gave up on this idea and we are doing something different that is more similar to the tower described by CaesarCub ! :D

I really had fun playing the Infinity game linked by Khris!
#2951
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.
#2952
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?
#2953
I have the error:

Failed to save room room1.crm; details below
guiscript.ash(145): Error (line 145): function 'Character::FaceDirection' is already defined


And in line 145, I see the following code:
Code: ags
    import function FaceDirection (this Character*, eDirection dir);



--- EDIT ---

Ok, I deleted FaceDirection definition from both guiscript.asc and guiscript.ash . Now it works! :]


--- EDIT 2 ---

Does someone have any idea on how to have eSymmetryHoriz that also flips horizontally the image? My character isn't horizontally symmetric.

Made my own small hack for now...

Code: ags
Character* c; //the reflection will be...
  if (data[mir_index].c != null) { //...the mirror's own. It looks exactly like the player
    c = data[mir_index].c;
    if(player.View != 1){
      c.ChangeView(player.View);
    } else {
      c.ChangeView(49);
    }
  }
#2954
Thanks, it almost worked! My borders are transparent (using a single pixel png with alpha), but selecting the same sprite for background doesn't make the background transparent.
#2955
Hey, I am looking exactly on this, how did you managed to create a speech box?
#2956
I created a machine with the latest Wine (2.0) using PlayOnLinux, selected Install Components and selected dotnet20 , then selected run exe in this wineprefix, and then the latest AGS-3.4.0-P2.exe and everything appears to work!
#2957
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