Jibble

Author Topic: AGS 3.3.0 Release Candidate  (Read 104838 times)

Eric

  • Rottwheelers
    • I can help with story design
    • Eric worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.3.0 Beta Release
« Reply #100 on: 12 Jun 2013, 17:23 »
Since this is becoming more and more popular: Should there maybe be a template with left-right-click GUI?

Does this mean Broken Sword- or BaSS-style system? If so, yes please.

Crimson Wizard

  • Local Moderator
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Lifetime Achievement Award Winner
    • Crimson Wizard worked on one or more games that won an AGS Award!
    •  
    • Crimson Wizard worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.3.0 Beta Release
« Reply #101 on: 13 Jun 2013, 10:03 »
A serious bug found:

When compiling a game, the characters are enumerated according to their visual position in the project list, instead of their ID numbers. This breaks setting player character in the editor and, presumably, any script commands that use character ID. Using character script names work as intended.

It is currently not known if same behavior applies to other enumerated items, such as Views, Rooms, etc.

tzachs

  • Mittens Vassal
  • AGS Baker
  • Parking Goat- games that goats like!
    • I can help with translating
    • tzachs worked on one or more games that won an AGS Award!
    •  
    • tzachs worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.3.0 Beta Release
« Reply #102 on: 14 Jun 2013, 13:20 »
Should be fixed now in git (also the folder is now last in the menu and not first).

Crimson Wizard

  • Local Moderator
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Lifetime Achievement Award Winner
    • Crimson Wizard worked on one or more games that won an AGS Award!
    •  
    • Crimson Wizard worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.3.0 Beta Release
« Reply #103 on: 22 Jun 2013, 10:14 »
AGS 3.3.0 BETA 4 released (engine version 3.3.0.1134)
-------------------------------------------------------
Changes from BETA 3:

Features:
- Custom speech portrait screen offsets for Sierra-style speech (requested by Radiant):
Code: Adventure Game Studio
  1.    game.speech_portrait_placement = 1; // enable custom offsets
  2.    game.speech_portrait_x = 10; // set custom x offset from corresponding screen border (in pixels)
  3.    game.speech_portrait_y = 20; // set custom y offset from the screen top border (in pixels)
  4.    game.speech_portrait_placement = 0; // disable custom offsets
  5.  
- Added a "browse" ("...") button to the "Create in folder" field in the Start New Game wizard.

Bug fixes:
- Improved engine perfomance (actually - restored it to about the level of AGS 3.2, so this may be considered a bug fix).
- Fixed bug in the game compilation (regression) that assigned wrong IDs to game objects if their order was changed in the project tree.
- Repositioned number of context menu items (usability fix): "New Folder" items are now positioned after "New item" and "Import existing..."; "Replace sprite(s) from source" now positioned in proper option group.
- Resized "Editor Preferences" dialog to fix label text overlapping issue.

Download links (also updated at first page):
Official: http://www.adventuregamestudio.co.uk/betas/AGS-3.3.0-beta4.exe


Unless more bugs are found, all is left is to correct the manual text to reflect new changes. Then the Release Candidate may be released.
E: Oh, right, I am also thinking about adding BASS template: http://www.adventuregamestudio.co.uk/forums/index.php?topic=48441.0
« Last Edit: 22 Jun 2013, 10:37 by Crimson Wizard »

Ghost

  • AGS Baker
  • Rottwheelers
  • Time to give up.
    • Ghost worked on one or more games that won an AGS Award!
    •  
    • Ghost worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.3.0 Beta Release
« Reply #104 on: 22 Jun 2013, 11:13 »
Not sure how popular this still is, but can we have the old "zip file" back? I really liked the way you did NOT have to install AGS from an exe setup  (nod)

Other than that the new version is all sorts of awesome, and I must thank you all for making it happen. Lots of useful changes!

Shane 'ProgZmax' Stevens

  • Mittens Serf
  • GARBAAAAAGE DAAAAAAY!
    • I can help with animation
    • I can help with characters
    • Lifetime Achievement Award Winner
    • I can help with making music
    • I can help with proof reading
    • I can help with scripting
    • I can help with story design
    • Shane 'ProgZmax' Stevens worked on one or more games that won an AGS Award!
    •  
    • Shane 'ProgZmax' Stevens worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.3.0 Beta Release
« Reply #105 on: 22 Jun 2013, 19:59 »
I'm getting an error when trying to import wiz's agsjoy.dll functions into this version:

expected variable or function after import, not 'Joystick'

for line: import Joystick* joy;

This was compiling just fine previously.

Crimson Wizard

  • Local Moderator
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Lifetime Achievement Award Winner
    • Crimson Wizard worked on one or more games that won an AGS Award!
    •  
    • Crimson Wizard worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.3.0 Beta Release
« Reply #106 on: 22 Jun 2013, 21:35 »
I'm getting an error when trying to import wiz's agsjoy.dll functions into this version:

expected variable or function after import, not 'Joystick'

for line: import Joystick* joy;

This was compiling just fine previously.

That's... very strange. I don't recall any changes in the script compiler.
I am going to check what causes the problem right away.
« Last Edit: 22 Jun 2013, 22:51 by Crimson Wizard »

Crimson Wizard

  • Local Moderator
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Lifetime Achievement Award Winner
    • Crimson Wizard worked on one or more games that won an AGS Award!
    •  
    • Crimson Wizard worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.3.0 Beta Release
« Reply #107 on: 22 Jun 2013, 23:05 »
IMPORTANT ANNOUNCEMENT
I found a nasty bug in the Beta 4 (text messages were displayed with wrong text color), fixed it and re-uploaded the build. Please, download again.

I also provided a zip archive, as Ghost requested. If you have any previous AGS installed (even 3.2.1), you can copy the archive contents over:
http://www.adventuregamestudio.co.uk/betas/AGS-3.3.0-beta4.zip


@ProgZMax, unfortunately I was unable to reproduce the bug you mentioned.
I took the joystick demo game, and put this in the GlobalScript.asc:
Code: Adventure Game Studio
  1. Joystick *joy2;
  2. export joy2;
  3.  
(I had to name it joy2, because room scripts alredy use "joy" variable)
Then I put this in GlobalScript.ash:
Code: Adventure Game Studio
  1. import Joystick *joy2;
  2.  

Everything compiled fine.
Can you give more details about your script?
E: Maybe you simply forgot to put agsjoy.dll into the editor folder? This is only thing that comes to mind at the moment.
« Last Edit: 22 Jun 2013, 23:09 by Crimson Wizard »

Re: AGS 3.3.0 Beta Release
« Reply #108 on: 23 Jun 2013, 06:31 »
   game.speech_portrait_placement = 1; // enable custom offsets
I haven't had the chance to check this out, but is this what I think you've done. Instead of adding a new built-in enum, you've done the "unspeakable" mess of using an int that doesn't help the programmer in anyway to know what they're reading? I don't agree with this at all. Just my 2 cents.

Magic numbers should be avoided in programming. Especially in a widely used program. CJ was bad at this too.

Or was this meant as a boolean? If so, the variable name is a little misleading. (edit: now that I've read it again, it most certainly must be boolean - very misleading name indeed)

Edit again: I suggest:
Code: Adventure Game Studio
  1. game.speech_portrait_manual_placement
To be similar to other AGS variables like Character.ManualScaling, etc.
« Last Edit: 23 Jun 2013, 06:43 by Ryan Timothy »

Crimson Wizard

  • Local Moderator
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Lifetime Achievement Award Winner
    • Crimson Wizard worked on one or more games that won an AGS Award!
    •  
    • Crimson Wizard worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.3.0 Beta Release
« Reply #109 on: 23 Jun 2013, 12:06 »
Yes, I was wrong... I'll redo that to a property.

Re: AGS 3.3.0 Beta Release
« Reply #110 on: 23 Jun 2013, 17:38 »
I'll redo that to a property.
What do you mean by that? (I'm not too knowledgeable with programming terms)

The other option is to do it this route:
Code: Adventure Game Studio
  1. game.speechPortrait_setPosition(int x, int y)  // which also enables "manual positioning"
  2. game.speechPortrait_disableManualPositioning()  // to disable it and revert to AGS hardcoded placement

I'm not too agreeable with the disableManualPositioning(), but it is certainly clear and to the point.
« Last Edit: 23 Jun 2013, 17:42 by Ryan Timothy »

Crimson Wizard

  • Local Moderator
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Lifetime Achievement Award Winner
    • Crimson Wizard worked on one or more games that won an AGS Award!
    •  
    • Crimson Wizard worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.3.0 Beta Release
« Reply #111 on: 23 Jun 2013, 17:45 »
I'll redo that to a property.
What do you mean by that? (I'm not too knowledgeable with programming terms)
I mean something like
Code: Adventure Game Studio
  1. boolean Game.EnableSpeechPortraitOffsets;
  2. int     Game.SpeechPortraitOffsetX;
  3. int     Game.SpeechPortraitOffsetY;
  4.  

On other hand I can be brave and introduce whole new class:
Code: Adventure Game Studio
  1. bool SierraSpeechStyle.ManualPortraitPosition;
  2.  
The drawback of the latter will be that it will stand out as a unique example of "speech style" class in whole AGS scripting language.
« Last Edit: 23 Jun 2013, 17:49 by Crimson Wizard »

Re: AGS 3.3.0 Beta Release
« Reply #112 on: 23 Jun 2013, 17:48 »
Ooo I like the idea of there being the option of an offset of what AGS's hardcoded positioning will be. BUT, there should still be a manual X,Y so that you don't have to adjust via math or anything.

Edit: I prefer:
Code: Adventure Game Studio
  1. PortraitSpeechStyle.ManualPosition(int x, int y);
Drop the "Sierra" from the name.

Or rather:
Code: Adventure Game Studio
  1. SpeechStylePortrait.ManualPosition(int x, int y);
That way if you ever added more SpeechStyles, it's easier to find them with autocomplete.
« Last Edit: 23 Jun 2013, 17:52 by Ryan Timothy »

Crimson Wizard

  • Local Moderator
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Lifetime Achievement Award Winner
    • Crimson Wizard worked on one or more games that won an AGS Award!
    •  
    • Crimson Wizard worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.3.0 Beta Release
« Reply #113 on: 23 Jun 2013, 17:50 »
BUT, there should still be a manual X,Y so that you don't have to adjust via math or anything.
Uh, can you elaborate?

Re: AGS 3.3.0 Beta Release
« Reply #114 on: 23 Jun 2013, 17:55 »
Uh, can you elaborate?
You were speaking of the offsets as actually being offsets, yes? Like whatever AGS currently automatically assigns as the position for the Portrait, the offset just adds to that? Otherwise it isn't an offset, it's strictly an X,Y position.

Code: Adventure Game Studio
  1. int     Game.SpeechPortraitOffsetX;
  2. int     Game.SpeechPortraitOffsetY;

Crimson Wizard

  • Local Moderator
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Lifetime Achievement Award Winner
    • Crimson Wizard worked on one or more games that won an AGS Award!
    •  
    • Crimson Wizard worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.3.0 Beta Release
« Reply #115 on: 23 Jun 2013, 17:58 »
You were speaking of the offsets as actually being offsets, yes? Like whatever AGS currently automatically assigns as the position for the Portrait, the offset just adds to that? Otherwise it isn't an offset, it's strictly an X,Y position.
Well, I added that as a response to Radiant's request. We discussed this a bit and came to a conclusion that setting offsets from screen border would be enough.
Currently it works in such a way that the manual offsets fully override automatic placement. Y offset explicitly defines the Y coordinate of the portrait's top line on screen, while the X offset is relative to the left or right screen border, depending on whether the portrait is displayed as "left-side" or "right-side".
In other words, X offset is a distance from screen border to nearest portrait side.

Re: AGS 3.3.0 Beta Release
« Reply #116 on: 23 Jun 2013, 18:01 »
Oh OK. Makes sense. So X would be an Offset while Y would be a Position. Unless there's a "top-side" or "bottom-side" as well. Just saying. (laugh)

Re: AGS 3.3.0 Beta Release
« Reply #117 on: 24 Jun 2013, 01:54 »
What are the chances that you can include a way to use Pamela with Lucasarts speech?

Crimson Wizard

  • Local Moderator
    • Best Innovation Award Winner 2013, for spearheading the AGS 3.3.0 project
    • Lifetime Achievement Award Winner
    • Crimson Wizard worked on one or more games that won an AGS Award!
    •  
    • Crimson Wizard worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.3.0 Beta Release
« Reply #118 on: 24 Jun 2013, 07:59 »
What are the chances that you can include a way to use Pamela with Lucasarts speech?
I don't even know what Pamela is. :)

Anyway, that depends on how time-consuming that would be to do. There is a number of factors. First, I hoped to release this version as soon as possible, because it takes too long already (it's been 2 years since last official AGS release). Second, I have a number of tasks with high priority that I'd really want to complete. I am struggling to find time to work on these :(. Perhaps someone else would like to work on this Pamela thing? in which case it is theoretically possible to release an update, like version 3.3.1, a bit later.
« Last Edit: 24 Jun 2013, 08:05 by Crimson Wizard »

Calin Leafshade

  • Long live King Cat!
    • I can help with making music
    • I can help with voice acting
    • Calin Leafshade worked on one or more games that won an AGS Award!
    •  
    • Calin Leafshade worked on one or more games that was nominated for an AGS Award!
Re: AGS 3.3.0 Beta Release
« Reply #119 on: 24 Jun 2013, 08:26 »
It should actually be very simple since the tech already exists in ags to do it for speech portraits.

Just make it change the character frame instead of the speech portrait frame and you're golden.