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 - Gal Shemesh

#1
Hi everyone,

Following my previous Sierra AGI-style Template thread and the recent release of my Leisure Suit Larry 1 AGI+ Remake, I'm proud to announce the release of the Sierra AGI+ style template, so everyone could make AGI+ games easily!

*** PLEASE NOTE ***
This template was created on AGS Editor build 3.6.2.11 while newer releases may be in even newer build versions! (refer to the change log below). They will NOT work on previous version of the editor! If you ignore this warning and tried to use it in an older editor version than the build number mentioned above, it may make your AGS editor to crash and lock itself in your operating system processes. This of course could be solved either by killing the process manually or by restarting your computer. You can install the current AGS editor build side-by-side with an older version on your system, only make sure that you don't install it on the same directory where the older version is installed. And most importantly, when the AGS setup ends, it will ask you if you wish to make it the default program to opening your AGS source files - make sure to NOT select that option, so you won't end up double clicking on your current projects and then opening and saving them in the newer build!


If you ever wanted to make an AGI-style game in AGS but didn't know how or where to start, and prefer a 'point & click' style game rather than parser based, this is the right template for you; all the initial setup to making an AGI+ style game is already done in it, so you could focus on making your game and not worry about the logic behind the scenes, unless you want to modify something in the core logic of the template.

Sierra AGI+ template by Gal Shemesh

This template brings an interface inspirited by Sierra's AGI style 2:1 aspect ratio interpreter, as familiar from the original King's Quest 1, 2, 3 and 4 AGI versions, with the exception add-on of the following:
- Modern 'point & click' interface instead of using a parser text box,
- A graphical inventory instead of a text based one.
- Top bar text menu with drop-down lists to accessing different section, such as about, help, save, restore, restart, quit, speed, and also an action menu for custom actions and a special menu with options such toggling sound on and off, toggling light and dark mode for menus, and pausing the game.
- Walking with either the mouse or the keyboard in all 8 directions.
- Right-clicking to cycle between the varies mouse modes.
- Mouse wheel over the inventory area to scroll the inventory left and right when you hold more items than can be seen on a single screen.
- English, Hebrew and foreign CGA ASCII fonts.
- English and Hebrew EGA/VGA font (as a bonus, but not in use in this template).
- Empty and Closeup room templates for a smooth start.
- New character template ready for import.

Refer to the PDF manual reference help file to learn more about this template and its varies functions. :confused:
Source code for the template is also provided for your reference; in it you'd also find a Resources folder, so don't forget to check it out. :cool:

While viewing the source code, you'd probably find that there's a better way to doing varies things that I coded. You're more than welcome to change the code to your liking, but please do not share/upload a modified version of this template, as I wish it to be consistent and accessible from one place; if you have suggestions for improvements, you're more than welcome to let me know and I'll consider adding them to a next release.

To install the template in AGS, download the 'Sierra AGI+ style .agt', 'Closeup Room .art' and 'Empty Room .art' files and place them in the 'Templates' folder under your AGS installation directory (by default it would be C:\Program Files (x86)\Adventure Game Studio x.x.x\Templates). You should then see the new template when selecting to create a new game.


If you're just learning AGS and/or make a non-commercial game, you are welcome to use the assets I created (you may find them in the 'Resources' folder in the 'Source' directory). However, if you create a commercial game, you are not allowed to use my assets but only the template itself to creating something original of yours.

If you have any feedback about this template, bug report and/or suggestions for improvement, feel free to reach me here or on the Discord channel. Though on Discord your messages could get berried after newer messages, so this forum page would be the best place. Here, others can mark your bug reports, suggestion, etc. with thumbs-up, so I could estimate the urgency for fixing or improving something you reported about.

DOWNLOAD LINK

Attached a few screenshots:









Changelog
=========
Version 1.0.1
- Adding a custom timer for hiding the speed label.
- Moving the code for making the player walk to the bottom of the screen from the OVERHOTSPOT label GUI OnClick event to the 'on_mouse' function.
- Making the OVERHOTSPOT label GUI not clickable.
- Renaming the reference PDF file from 'Manual' to 'Help Reference'.
- Fixing some misprints and missed info in the PDF help reference.

Version 1.0.0
Released: 5th July 2025
Notes: Initial release of this template on AGS Editor build 3.6.2.11.
#2
I just got informed by players that in the About section of the AGS games database, the [...] link for expanding the description is very small and barely visible, especially on mobile. I think that the "..." link should be more like [read more...] with these square brackets.

An example of how it currently looks like in my latest game upload:


Link to my game to see the actual page: https://www.adventuregamestudio.co.uk/play/game/2866-leisure-suit-larry-in-the-land-of-the-lounge-lizards-agi-remake/
#3
[WARNING: Adult content for 18+ only]

Hi everyone ;-D

After exactly 1 year today, I wish to announce the completion of my "Leisure Suit Larry In the Land of the Lounge Lizards AGI+ Remake" !

Disclaimer: this is a non-profit fan-made project. All rights of the original game are reserved to their rightful and legal owners. If you like this remake, please consider buying the original game from the current publisher: https://www.gog.com/en/game/leisure_suit_larry

The original LSL1 game got a few remakes already, though to me, the original LSL1 AGI version will always have a good place in my heart. However, since it is based on the parser where you have to type commands to proceed in the game, many players found it too complicate that they either gave the game a try and gave up, or never tried to play it at all, hence loosing the experience of this great version.

That is where I wanted to take the original AGI version of the game and to re-design it from a complete scratch, with a modern 'point & click' user interface, which also involves a graphical inventory area unlike the text based inventory in the original. Not only that I managed to achieve that, I also added new graphics, new sounds, new animations, funny references, a LOT of extra lines, a built-in hints system, achievements that you can find throughout the game, and even a brand new location! All of these additional add-ons make this new-old version an enjoyable version of the game to play for everyone, including to old players who know the original game by heart.

I spend a lot of time making this remake as close as possible to the original AGI version, with the exception of the above improvements to make it better. I hope you'd have great time playing it as I had making it.







Spoiler
[close]

The game was added to the AGS game database (direct link).

If the Mega link stops working, the game is also available on itch (direct link).

Your ratings and comments would be helpful to let me know how I did. And of course, if you encounter with any problem or bugs, kindly let me know, either here on over Discord.


Changelog
=========
Version 1.0.2.8
- Fixed Larry get stuck unintentionally in his 'catching Fawn' animation during the dance scene

Version 1.0.2.7
- Fixed Larry get killed when pressing Backspace

Version 1.0.2.6
- Fixed taking the mattress when inside the trash bin hangs the game
- Fixed dog walks away while pees XD
- Added unlighted Lefty's bar/hotel sign sprites during the day
- Minor Hebrew translation grammar fixing

Version 1.0.2.5
- Fixed Larry not clickable after interacting with the Honeymoon Suite door when standing in the elevator
- Fixed can't re-enter the Honeymoon Suite after drinking the wine
- Added missed hint when looking on the magazine
- Minor extra lines added
- Minor Hebrew translation grammar fixing

Version 1.0.2.4
- Fixed clerk says %d.00 instead of actual price in Hebrew mode
- Minor Hebrew translation grammar fixing

Version 1.0.2.3
- Various bugs fixed
- Hebrew translation grammar fixing

Version 1.0.2.2
- Fixed looking outside the disco gives wrong day/night feedback
- Fixed disco hangs in night mode during the day
- Fixed slot machine labels refresh bug
- Minor Hebrew translation grammar fixing

Version 1.0.2.1
- Fixed 'Comedy Quest' hero not showing in Cabaret
- Fixed prophylactic bug in Hebrew mode
- Fixed clerk in convenience store mixing English and Hebrew string in Hebrew mode

Version 1.0.2.0
- Added a sleep feature to sleep up time (ask Lefty)

Version 1.0.1.1
- Fixed bug where Larry remains in his intro sprite when the game starts (THIS TIME FOR REAL!)
- Hebrew intro added
- Hebrew game name re-phrased
- Hebrew sign added in the Cabaret
- Hebrew translation minor grammar fixing

Version 1.0.1.0
- Game updated to engine build 3.6.2
- Hebrew translation added
- Fixed crash before entering the first room after intro restarts
- Fixed taxi driver charges wrong fee
- Minor grammar fixing

Version 1.0.0.5
- Fixed bug where Larry remains in his intro sprite when the game starts
- Minor grammar fixing

Version: 1.0.0.4
- Fixed disco background not changing during the day after marrying Fawn

Version: 1.0.0.3
- Fixed walkable area in the Casino elevator
- Prevent Larry from moving with the keyboard when elevator panel is showing

Version: 1.0.0.2
- Fixed screen message when looking in Alley during day time
- Minor grammar fixing

Version: 1.0.0.1
- Added looking on picture in Lefty's bar
- Added looking on Drunken in Lefty's bar

Version: 1.0.0.0
Released: 20th June 2025
#4
Hi everyone,

I just updated my AGS profile and realized that the LinkedIn username link which can be added in the Forum Profile section is actually direct to AGS forum, instead of to LinkedIn.


I also just noticed that the symbols are suddenly showing too small. Checked in another browser as well.
#5
Hi everyone,

Following my update on Discord, I would like to share with you all that I've finished working on my Sierra AGI-style template, and that it's ready for everyone to use!

*** PLEASE NOTE ***
This template and its DEMO game were originally created on AGS Editor build 3.6.1.24 while newer releases may be in even newer build versions! (refer to the change log below). They will NOT work on previous version of the editor! If you ignore this warning and tried to use it in an older editor version than the build number mentioned above, it will make your AGS editor crash and lock itself in your operating system processes. This of course could be solved either by killing the process manually or by restarting your computer. You can install the current AGS editor build side-by-side with an older version on your system, only make sure that you don't install it on the same directory where the older version is installed. And most importantly, when the AGS setup ends, it will ask you if you wish to make it the default program to opening your AGS source files - make sure to NOT select that option, so you won't end up double clicking on your current projects and then opening and saving them in the newer build!


If you ever wanted to make an AGI-style game in AGS but didn't know how or where to start, this is the right template for you; all the initial setup to making an AGI-style game is already done in it, so you could focus on making your game and not worry about the logic behind the scenes, unless you want to modify something in the core logic of the template.

This AGI-style template includes some extra features which original AGI games didn't have. To name a few:

- A SCI interpreter mouse cursor (used for navigating the menus and more below)
- Label over hotspots.
- Left mouse button to walk around.
- Right mouse button on interaction areas for looking on them.
- Middle mouse button (or right mouse button when not on a hotspot) to open the inventory.
- Any click on an inventory item to examine it or not on an item to close the inventory.
- Modern Save / Restore / Restart / Quit dialogues.
- Dark mode GUI(s).

I also made a very short DEMO game which presents what you can make with this template. It consists of one room, a SCI-style character that I drew over a decade ago and never put into use, which I converted into AGI-style for this specific project, and a few things you can pick-up and do using the parser.

Source codes for both the template and its DEMO game are also provided for your reference, if you ever wish to learn how they were built.

While viewing the source code, you'd probably find that there's a better way to doing varies things that I coded. You're more than welcome to change the code to your liking, but please do not share/upload a modified version of this template, as I wish it to be consistent and accessible from one place; if you have suggestions for improvements, you're more than welcome to let me know and I'll consider adding them to a next release.

You may find it all on my Dropbox. I suggest to view the README file in the Templates directory there, and also the README file in the ZIP archives.

To install the template in AGS, download the 'Sierra AGI-style.agt' file and place it in the 'Templates' folder under your AGS installation directroy (by default it would be C:\Program Files (x86)\Adventure Game Studio x.x.x\Templates). You should then see the new template when selecting to create a new game.


If you're just learning AGS and/or make a non-commercial game, you are welcome to use the assets I created (you may find them in the 'Resources' folder in the 'Source' directory). However, if you create a commercial game, you are not allowed to use my assets but only the template itself to creating something original of yours.

If you have any feedback about this template, bug report and/or suggestions for improvement, feel free to reach me here or on the Discord channel. Though on Discord your messages could get burried after newer messages, so this forum page would be the best place. Here, others can mark your bug reports, suggestion, etc. with thumbs-up, so I could estimate the urgency for fixing or improving something you reported about.

DOWNLOAD LINK

Attached a few screenshots:









Changelog
=========
Version 1.4.0
Released: 31st July 2024
- Fixed clicking with the mouse on inventory items to looking on them.
- REMOVED: right mouse button on interaction areas for looking on them (see details below).
- REMOVED: bug message on launch in translation mode, as it no longer occurs since right-clicking to look on things has been commented out.
- Help menu (F1) was updated regarding the removed feature above.
- README file was updated regarding the removed feature above + added more info about creating new empty rooms.
    * I found that when you wish to have more than one hotspot / object by the same Description name in a given room, and wish to have different feedback when looking on them based on where the player stands, clicking on these interaction areas when the player is not in the proper position will trigger the look_rol messages instead, and the players won't know that they need to get closer to the interaction area before trying to look on it with the mouse, unless you code a message that tells them to get closer in such cases. To prevent this scenario and confusion, the right-click to look on interaction areas was commented out! You may uncomment the code if you wish to use this feature in the Global Script.

Version 1.3.0
Released: 24th July 2024
- Parser.ParseText(""); for preventing ROL from running were replaced with return; or break; when required.
- Added forgotten "you don't have it" feedback when looking on possible inv items that you don't have.
- Fix "You already took it" feedback when trying to re-pick an item.
- Fixed instructions in room comments and README for jumping to ROL bits from within room statements that doesn't meet anymore.
- Version within the template name was mistakenly typed 1.2.0 and was fixed to 1.3.0 on 31st July 2024.

Version 1.2.0
Released: 22nd July 2024
- Translation files support including Right-to-Left.
- English font spacing fix.
- New original Hebrew font.
- Hebrew synonym words added to the parser.
- All GUI(s) and menus were adjusted to accomodate the font spacing change.
- Max inventory items decreased from 28 to 26 due to font spacing change.
- Removed the Parser and Save built-in text boxes elements and replacing them with custom ones based on labels.
- Adding offset conversion from Unicode character input to ASCII for using the 256 characters WFN font (currently only for Hebrew; offsets for other languages could be easily added in the source code).
- Menus and sub-menus width now wraps the text based on text pixel width, and all menus adjust their position based on neighbor menu item width (mainly for translation purposes).
- Score label was broken down to 4 different labels, which now shift their position in relation to each other when score number increases.
- Varies script logic fixes.
- A new 16-color Aseprite palette for making room masks, this time in 8-bit.

Version 1.1.0
Released: 19th July 2024
- Upgraded to AGS Editor build 3.6.1.26.
- Fixed synonym mix between 'door' and 'breath'.
- Fixed F3 repeat string crash when equal to null.
- Removed F3 repeat string when equal to "".

Version 1.0.0
Released: 13th July 2024
Notes: Initial release of this template and of its DEMO game on AGS Editor build 3.6.1.24.
#6
We all get to a point where we can't find outselves in our scripts. I was recently tought that we can use what is called a "#region [region name]" to define a certain part of our code, to end it with "#endregion", and then we could collapse all the section from our eyes using the plus icon next to it.

The issue is that the editor doesn't save these collapes items, and the moment you close the script tab and then re-open it, eveything is expanded again.

This is the same way if trying to collapse functions and other blocks of code that have the plus sign next to them.
#7
The 'OnSelectionChange' event name doesn't describe its behavior correctly, as in general, a selection change event name describes a scenario where it should trigger an event the moment the selection is changed (using the arrow keys on the keyboard to navigating from one item to another from example). So this is quite misleading, as it actually triggered the moment you click and release the mouse button on a ceratin item. So the event works okay - it's just that its name is not accurate. Should be 'OnItemClicked'.

On the same time, I think that if there could be another property there for 'OnEnter' for example to selecting a list item using the keyboard could be a very nice add-on, as currently we have to doing so manually using the on_key event.
#8
When exporting items from AGS, it doesn't auto rename the filename. So you have to type the file name yourself. In addition, once the export is saved, AGS doesn't remember the last path you saved from its editor, and so on the next export it takes you to the current folder of the game's you're working on. I suppose that this scenario is the same in other places in the editor where the operating system file browser is involved. It should remember where you last been.
#9
Currently, we can only use \n escape sequence to making new lines within text elements. But if you'd wish to align some left to right text to the right-hand side of the text box by using \t for tabs it doesn't work. An example of how this would be useful is an context-menu GUI where you want to present the keyboard shortcuts of each option in a straight aligned line from top to bottom to the right side, while having the text aligned from left to right:

File    <F1>
Edit    <F2>
View    <F3>
...

Using spaces for this alignment doesn't work very well, unless the font you're using have an exact width for any of its characters, including of the space. So in some lines the alignment would show broken (just as showed above where I used 4 spaces between the words and the first < sign. In text editors, when hitting TAB after words, it automatically completes the desired spacing until the next TAB point, by either subtracting the words length from the amount of spacing that a TAB consists, or if the word length is more than 1 or more TABs, it completes the number of spaces until it reaches the next point where a new TAB should start.

It seems that each text editing program has different amount of spaces for a TAB character. A TAB in Notepad++ for example consists of 4 spaces, and in the regular Notepad in Windows, a TAB is consist from 8 spaces. But the general idea is the same: when you use TAB in any of these programs after words, it subtracts or adds the character amount of the word from the next TAB, until it reaches the next TAB position, where all lines could eventually be aligned for showing the further text vertically straight.

word Let's say that a tab- if the word is in text editors
#10
If you use Win10, you'd find that dragging of tabs from right to left works, but doing so from left to right is somewhat broken. If you have 3 opened tabs and you wish to move the first tab to the most right, you won't be able to do that unless there's another tab after it and you're dropping the tab in-between those tabs.
#11
It seems like there's no "quicker" way to get selected string. Like having a ListBox.SelectedItem property in the dropdown list.
-Fixed.
#12
When creating a listbox item, the default value of the property SelectedBackgroundColorNumber for black is set to 16, where the SelectedBackgroundColor above it shows 0,0,0, which is incorrect. Selecting the SelectedBackgroundColor property and hitting Enter on the 0,0,0 value changes SelectedBackgroundColorNumber to 0, which makes the text transparent. So the two properties don't seem to share the parallel color index.

In general, the SelectedBackgroundColor shows the color in its RGB form, where the SelectedBackgroundColorNumber proabaly shows them in index color numbers, and the higher numbers in it don't make any sense.
#13
Currently, only the listbox GUI element have the highlighted background and highlighted text color properties, along with a border color option. Labels on the other hand does not. It would be nice if all GUI elements that use text could have these properties in them.

In addition, the only GUI element that can align text to all possible edges of its bounderies is buttons. Others can only align to either left, center or right.
#14
The Parser section seems to be one of the things that were least improved in AGS since it's very beginning. It would be nice if it could be improved as follows:

- Abiltiy to multi-select words for deletion or for changing their type (ignore / normal / synonym).

- Ability to have the Delete key affect the selection of words in the list, and to prompt the user for deletion or for a type change. Currently it is only possible to right-click to delete, and it doesn't even prompt if you're sure that you want to delete the word if accidently clicked instead of "Add synonym / new word".

- Add option option to add an ignored word in the right-click context menu instead of needing to right-click on an existing ignored word and to add a synonym to it.

* The entire Parser could actually be replaced with an external text file for adding/editing words and types, instead of needing to edit everyting direclty in the editor.
#15
The default behavior of the built-in inventory window is to present the added items from top left to the right, and when there's no more room it goes down a line.

It would be very nice if we could set it to either start from right to left, or even from top left / top right to bottom, and then to set its borders how we like and the items would be presented accordingly.

For example, a 2 lines inventory window where you want that the first item will go to the top left slot, the second to the bottom left slot, the third to the right of the top left slot, and so on.

In addition, for texed based games like an AGI-style, it would be nice if we could also make the items show as text by showing their names instead of their icons, or even both. The text should have an option to select a font to presenting it, and also have listboxes properties such as alignments and highlighted background and highlighted text.

* Instead of rasing another thread for this as this is of the same matter, the alignment behavior should also be added to listbox items which basically works the same way of storing items in them. So we could either have list boxes that show items in the current form of top to bottom, or to have them showing from left to right, right to left, or even in reverse order from bottom to top.
#16
When using a for loop to adding items to a list, like so:

Code: ags
function sync_list()
{
  mylist.Clear();
  for (int i = 1; i <= Game.InventoryItemCount; i++)

  {
    if (player.InventoryQuantity[i] > 0)
    mylist.AddItem(inventory[i].ScriptName);
  }
}
If the
Code: ags
i <= Game.InventoryItemCount
is replaced with < instead of <=, it does not add the second item to the list when it is triggered.
#17
In AGS 4.0 there's a very nice feature that allows scaling of GUI elements during runtime - meaning that a GUI can be created in a 1:1 aspect ratio and then presented in 2:1 for example wen the game runs for an AGI style look, the same as when setting a room to 160x200 and then make it scale twice as wide to fill a 320x200 resolution, using the viewport scaling option.

Also, since Mouse cursors behave the same as GUI(s) in terms of lack of scaling options in the current build, it would be nice if we could also affect the mouse cursor sprites so they too could be scaled on runtime.
#18
Hi guys,

Not sure if anyone would be interested in this, but if it's not too much to ask maybe others like me would appreciate it.

I'm trying to make a short game in all the historical graphical Sierra styles games, which are AGI (running in 2:1 aspect ratio in 16 colors), SCI (1:1 aspect ratio in 16 colors), and AGS (1:1 aspect ratio in rich colors).

However, I found that if I draw my graphics in Aseprite in 2:1 aspect ratio which is natively supports, I need to resample the images when exporting them so they would stretch twice as big horizontally before importing them into AGS, or else they would look narrow. So I wondered if there's a way to have an aspect ratio of 2:1 in AGS but then found that there is none...

Resampling the sprites and backgrounds may statically look good, but the overall gameplay experience would still behave in a 1:1 manner, meaning that when the character moves it would move 1 pixel instead of 2 when walking to the sides, breaking the feel of an AGI style game.

There's another feature request that I just posted for having an AGI style game feel (here), so we'd be able to set the characters to stop on any of their Walking cycle frames, and not only on the first frame (ID 0).

I really don't want to start learning the out-dated AGI Studio engine for a small game only to achieve its feel, and would prefer it if I could make it in AGS where I'm more comfortable with.

Of course, the Room Editor with all its drawing tools should also work in the 2:1 aspect ratio, so I'm really not sure what such feature request involves. However, if it's possible and not too much work it would be nice to have in AGS.

Thanks
#19
Hi guys,

Was trying to make an old AGI/SCI style game and found that there is no option to have the characters to stop on any of the Walking loops frames - when they stop, they loop back to the very first frame (ID 0), and in some scenarios such as on occassional bumps into obstacles, the walking animation looks a little funny when it keeps jumping to the first frame of the cycle.

In AGI/SCI games, when you stopped the character from moving or if you bumped into an obstacle, the character would have stopped at the very frame they were at, making the walking cycle to look more continues and not jumping to the first frame on every stop.

Thought that it may be nice to have a feature that we could toggle between having characters to loop back to the first frame of the cycle, or to have them stop at the frame they're at.

Thanks
#20
Hi guys,

A minor suggestion: when clicking on a frame in the View Editor and hitting the Delete key to remove the frame, the frame selection box disappears, requiring you to re-click on the next frame if say you wish to remove more than just one frame. Yes, you can use the Shift key to select multiple frames and to then delete all of them in one go, but one may just want to either delete frames one-by-one by re-hitting the Delete key, or perhaps to have the key repeatedly pressed-down to remove a bunch of frames further from the frame you're standing on, without needing to scroll horizontally to do a multiple selection.

I think that when hitting the Delete key, the frame selection box should remain in the same place if it's not the last frame. And if it is the last frame then it should move back one frame. Of course, it should have a small delay in the code so it doesn't do double-deletion of frames, unless the key is repeatedly pressed-down for say half a second where it should then do a fast deletion.

Just a small improvement. Again, not a big deal to do a multiple selection and delete. But just thought it may be good to bring this one up.

Thanks
SMF spam blocked by CleanTalk