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 - arj0n

#141
I myself had no time due to a project I'm working on so I asked Creamy to start a new one, but as that never happened: be my guest and give it a go  :)
#142
Quote from: Peegee on Sat 20/11/2021 11:09:20
(you must not put "player.", Only the positions) but it does not work.
You should put 'player.x' & 'player.y', as these two are the player character's positions.
#143
I think his blog was here (http://cmioe.blogspot.com), but it's gone...
#144
As I can't seem to find the Bug and Suggestion Tracker and the link in the FAQ (https://www.adventuregamestudio.co.uk/forums/index.php?action=projects) isn't working, I hope it's ok to post it here:

I had a couple of tabs (room and a few scripts) open in AGS (Build 3.5.1.11)
When I selected 'close all tabs' an 'Specified argument was out of the range of valid values' error popped up (see below)
A red cross was shown over the whole area where normally the tab names are present.

Code: ags
Error: Specified argument was out of the range of valid values.
Version: AGS 3.5.1.11

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
   at WeifenLuo.WinFormsUI.Docking.DockContentCollection.GetVisibleContent(Int32 index)
   at WeifenLuo.WinFormsUI.Docking.DockContentCollection.get_Item(Int32 index)
   at WeifenLuo.WinFormsUI.Docking.DockPaneStripBase.TabCollection.get_Item(Int32 index)
   at WeifenLuo.WinFormsUI.Docking.VS2005DockPaneStrip.EnsureDocumentTabVisible(IDockContent content, Boolean repaint)
   at WeifenLuo.WinFormsUI.Docking.VS2005DockPaneStrip.OnPaint(PaintEventArgs e)
   at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   at System.Windows.Forms.Control.WmPaint(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at WeifenLuo.WinFormsUI.Docking.DockPaneStripBase.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
#145
The invisible narrator is probably an invisible (transparent) character (like an npc) that always follow the player via Character.FollowCharacter.
This narrator will have the speech text instead of the player him/her self.

for example:
cNarator.FollowCharacter(player, 20, 80);

just play a bit with the 2 values to find the best fit for your situation.
In the example case, if the player character stands (close) to a left or right hand room edge, cNPC will never stand at that same spot, avoiding the issue that the speech text doesn't appear on top of him (the narrator).
#146
You might want to post this error message in the Advanced Technical Questions section on the forums.

Just give the post a title like "game crash exception 0xC0000005"
include the error message,
include the game title,
include a small reproduction scenario (what steps did you do before the crash happened)
upload the CrashInfo.dmp file to that post, for inspection purpose.
#147
Open your antivirus software and add the folder where AGS is installed as an exclusion.
#148
Site & Forum Reports / game search broken?
Sat 06/11/2021 20:02:22
I tried to search up Heartland deluxe, which does exist in the db (https://www.adventuregamestudio.co.uk/site/games/game/813-heartland-deluxe), but no results.
instead it leads to: https://www.adventuregamestudio.co.uk
Any search seem to result this way.

Repro:
#149
General Discussion / Re: DRM Discussion
Thu 23/09/2021 10:39:34
It's DRM once you are forced to sign an agreement.
So a 3rd party client (like steam) is basically also DRM, because it usually does contain a user agreement when you install the client.
Itch.io can host your games as DRM free. GOG has DRM free games.

DRM free: when your able to download the game packed as archive, not as an installer that contains a license agreement, and the archive contain the game files itself, not an installer that contains a license agreement

"Having to install a client to download something is not DRM; preventing you from copying that thing you downloaded is."
True, the client isn't DRM, the game itself can use DRM. Steam does not offer standalone DRM-free installers or downloadable archives, which is what Frodo seems to prefer.

"By your logic, itch.io would be DRM too, because you have to use a 3rd party application (i.e., a web browser such as Firefox or Chrome or Safari) to download their games."
The licence agreement of a browser itself isn't related to DRM of games.

"Games on Steam only have DRM if the developer chooses to implement it"
True. Steam has DRM free games too indeed. So it depends on the the game license itself.
#150
The Rumpus Room / Re: Name the Game
Thu 16/09/2021 21:41:41
It could, but is not  :)
#151
The Rumpus Room / Re: Name the Game
Thu 16/09/2021 14:58:06
No one?  8-0
Alright, another screenshot:

[imgzoom]https://dam1976.home.xs4all.nl/AGS/NameTheGame/2021-09-04/sc03_320.png[/imgzoom]
#153
something like this:
<image link here>


EDIT:
sorry, this post was supposed to go in this thread...
#154
I did a spaceship crawler some time ago called Desolate.
#155
Quote from: Slasher on Mon 13/09/2021 03:43:48
You need to change Move to AddWaypoint command which is also non blocking in the background...
AddWaypoint is for characters, not for objects.

Below is an example:
First it sets 3 cars at initial startppoint in the leftside, outside the screen (in room_Load).
Then a loop starts to move 1 car (out of 3 in this example) each time (in room_RepExec):
(1) pick one random car out of the 3
(2) move that car to the rightside outside screen
(3) set moved car back to start position
(4) wait 3 seconds (change that with the waitUntilNextCarStarts value) and loop again

Try something like this (not tested, pseudo code):
Code: ags

// room script file
bool carIsMoving;
int waitUntilNextCarStarts;
  
function room_Load()
{
  oFlyCars1.X = -50;
  oFlyCars1.Y = 26;
  
  oFlyCars2.X = -50;
  oFlyCars2.Y = 26;
  
  oFlyCars3.X = -50;
  oFlyCars3.Y = 26;
  
  carIsMoving = false;
  waitUntilNextCarStarts = 120; //40 is 1 second
}

function room_RepExec()
{
  
  if (carIsMoving == false) int ranCar = Random (2);
  
  if (ranCar == 0)
  {
    oFlyCars1.Move (380, 26, 10, eNoBlock, eAnywhere);
    carIsMoving = true;
  }
  else if (ranCar == 1)
  {
    oFlyCars2.Move (380, 26, 10, eNoBlock, eAnywhere);
    carIsMoving = true;
  }
  else if (ranCar == 2)
  {
    oFlyCars3.Move (380, 26, 10, eNoBlock, eAnywhere);
    carIsMoving = true;
  }
  
  if ((oFlyCars1.X == 380) || (oFlyCars2.X == 380) || (oFlyCars3.X == 380))
  {
    oFlyCars1.SetPosition (-50, 26);
    oFlyCars2.SetPosition (-50, 26);
    oFlyCars3.SetPosition (-50, 26);
    SetTimer (1, waitUntilNextCarStarts); 
  }
  
  if (IsTimerExpired (1)
  {
    carIsMoving = false;
  }
}
#156
The Rumpus Room / Re: Name the Game
Thu 09/09/2021 13:55:20
Uh... nope
and nope
#157
The Rumpus Room / Re: Name the Game
Thu 09/09/2021 08:31:39
a hint: this game will keep you in good spirits

and another screeny:
[imgzoom]https://dam1976.home.xs4all.nl/AGS/NameTheGame/2021-09-04/sc02_320.png[/imgzoom]
#158
The Rumpus Room / Re: Name the Game
Thu 09/09/2021 07:26:27
It has a bit of a loom feeling indeed, but no


This game was released on multiple systems.
#159
Yes, I wrongly assumed that ags had a sort of drag'n'drop behavior for the inv.items, my bad.

And yes, your workaround looks also interesting, using a transparent graphic for the active inv.window item.
Using an area is the way to go indeed, it will also store the 'previous' slot for all items before one becomes an active inv item,
so once one item becomes active, all others will be replaced. That way the active one (the transparent one) can be placed as last item.
Otherwise the top (1st) item will be the transparent one which just looks odd.

Thanx CW and Khris for the suggestions!  :-*
#160
The dummy char inventory sounds, as how you described it, indeed like a workaround for my issue.
Thanx, will look into that.
SMF spam blocked by CleanTalk