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 - Monsieur OUXX

#41
As AGS 4 cuts ties with old AGS features, should we get rid of the "old" on_key_press, and while doing it remove the old eKeyCtrlA, eKeyCtrlB, etc. ?

old way:
Code: ags
// Check that only Ctrl is pressed
void repeatedly_execute()
{
    if (IsKeyPressed(eKeyCtrlLeft)) { ... }
}

// Check that ctrl+A is pressed
void on_key_press(eKeycode keyCode) {
  if (keyCode == eKeyCtrlA) { ... }
}

New way

Code: ags
// Check that only Ctrl is pressed :
void on_key_press(eKeycode keyCode, optional int mod) {
  if (mod & eKeyModCtrl) { ... }
}

// Check that ctrl+A is pressed
void on_key_press(eKeycode keyCode, optional int mod) {
  if (keycode == eKeyA && (mod & eKeyModCtrl)) { ... }
}

See the help article of on_key_press for more details.

I'm adding a question mark because maybe those would still be useful do scripters who still brute-force key reading in their main loop?

Code: ags
void repeatedly_execute()
{
    if (IsKeyPressed(eKeyLeftCtrl)) { ... } // make the spaceship go pew pew
}

EDIT : yeah that last use case is definitely still valid for keeping eKeyLeftCtrl... Once again, writing a forum post made me walk myself through the process :-P

=====================

On a side note, I think the article could provide better examples :
Code: ags
//This checks if Ctrl was pressed : 
if (mod & eKeyModCtrl)

It could do with an example showing Ctrl+A instead of just Ctrl. I'm guessing most scripters are after that.
It could also do with an example of Ctrl+Alt+A as it is where the modifiers and the binary logic will shine
#42
Pull request for the BASS template : https://github.com/adventuregamestudio/ags-template-source/pull/61
(apologies for the deleted pull requests before this one, I'm rusty on my forking)

Pull request for the Sierra template : https://github.com/adventuregamestudio/ags-template-source/pull/60
Pull request for the Verbcoin template : https://github.com/adventuregamestudio/ags-template-source/pull/63
Thumbleweed update : waiting for abstauber to create an ags 4 branch in his repo
#44
I'm wondering what the best way would be to push my work into git.
The repo for the templates only contains .agt files. Which means two things :
1) I need to create the .agt from my updated template game for each commit
2) the reviewers will have to look into the .agt, which is not super convenient for the diff and all that.

Any idea? @eri0o since you're on fire you should create a pipeline that turns a game into a .agt and we should store the templates as game projects ;) (just kidding)

EDIT: What I could do is, inside the Templates folder, create a subfolder for each game -- freshly created from the 3.x template. Then, do my edits (and therefore commits too) in those subfolders.
For example I could create a "BASS template" subfolder, containing a game freshly created from the BASS 3.x template. Then, do my edits and commits there (those can then be easily read by the reviewers). Then, the final or close-to-final commit would be for the creation of the .agt file.
#45
By the way I strongly suggest to introduce a way of clearly marking anything that's AGS 4 compatible. Maybe there should be a forum rule enforced by moderators in the the Modules subforum: write the AGS version in the title of the thread or something.
#46
Hello,

I haven't visited the forums in a million years and I have a lot of catching up to do.
I've been looking at AGS 4 (which is amazing btw, it resolves 99.9% of my grudges with the AGS scripting language -- remove the "export" keyword and headerfiles, and we'll be at 101% :-D ).
- I've downloaded the early version and I saw that all the standard templates are here (BASS, Sierra, etc.).
- I've also read that AGS 4 breaks compatibility with AGS 3.x.

Which brings me to my question : Have the scripts of the templates been updated?

For example in the Sierra template I see the KeyboardMovement 1.04 module. Is that module written in AGS 4 fashion or is it still AGS 2.x or 3.x script that just happens to work in AGS 4?
(Note: I've been trying to search the forums myself but the search feature is extraordinarily slow today... I had only one search out of 7 attempts coming to completion. Therefore I'm blind)

I'm asking because I remember that some 3.x template scripts had to do some backflips to work around the limitations of "struct", keeping track of indices -- instead of just putting structs inside structs (was it Tumbleweed? Can't remember. I think tween does that too).

So anyways no that it is the summer holiday I could put a bit of effort into dusting off the most important scripts. If you have suggestions feel free to let me know.
#47
I'm curious about something but I'm too lazy to test it myself.
EDIT: I was wrong.
Spoiler
I wonder if there might be a possibility of a "softlock" in the game.

Early in the game, in the countryside house, you can pick up some
Spoiler
yellow dye
[close]
Later in the game,
Spoiler
during the secret meeting you will use that dye for cooking.
[close]
However you cannot go back to the countryside house at this point (the player won't allow it)
What happens if you didn't pick it up?

EDIT: it's not for the grog. No softlock.
[close]
#48
Quote from: croquetasesina on Thu 22/02/2024 21:21:06Maybe...
Spoiler
Have you tried the group of nobles on the right, on the lower floor?
[close]
.

Yes, they always say "can't you see you're bothering us here" ???
EDIT: So... Another thing that needs to be addressed in the game!
It seems like every time I've clicked on those people I have randomly always clicked either on the left-hand noble or the right-hand noble? The response is the same either way, and the "you're bothering us" line of dialogue is said by the MIDDLE one. So I naturally assumed that those three characters were just a single clickable area
.... Except, it's not! And clicking on the middle guy gives me a different response now!

#49
Quote from: The_Unknown on Thu 22/02/2024 10:01:35Biggest problem was (pixel hunting)

Yes, there is quite a lot of pixel hunting in the early rooms of the game. It gets better after. I've already suggested to the dev team to reduce and enlarge the clickable areas.
For example, did you notice that after picking up a thing hanging on the wall you can still click on the tiny 3-pixels hook? :-D :-D  I don't know if it's on purpose or if it's just the devs forgetting to make the hook sprite "unclickable"

=============

I am now stuck in part II, during the marquis' reception.
I think I'll manage by myself though, by insisting. EDIT: I give up, I can't find a solution.

Just to share my experience, here is what I've done so far :
Spoiler
Finding the marquise...
Spoiler
I've managed to locate her and talk to her. Now she wants me to...
Spoiler
Identify the paintings behind me. I've found out SOME information by talking to the two noblewomen. I'm still missing some. I'm guessing I'll get more info in another room, as the marquis refuses to talk about his paintings and no one else has this conversation topic.
[close]
[close]

Getting access to the forbidden corridor...
Spoiler
I have half of the solution, in the shape of the written note. I still don't know how to get...
Spoiler
...the stamp or signature. I strongly hope it's not in the room with the marquise, because if so then I don't know where to begin solving things.
[close]
[close]
[close]

Overall my biggest problem is that I'm not sure if puzzles line A lets me progress in puzzles line B (e.g. unlocking a new room will get me more info about some other things), or if puzzles line B lets me progress in puzzles line A (e.g. if getting more info will let me unlock a new room), or if they are entirely independent from one another.
#50
Quote from: splat44 on Wed 21/02/2024 02:58:40I suspect some inventories is missing, what do you have so far?

Oh come on that is NOT okay!  :angry:  (read spoiler below)
About Saint Cove's bedroom and his sentence "I have a letter somewhere but I don't remember where":
Spoiler
It's hidden in an obvious place for any point n click lover, EXCEPT...
Spoiler
It doesn't work if you PULL the painting. Only if you OPEN the painting.
That doesn't make any sense. It's just sloppy. It makes me paranoid for the rest of the game (for example: from now on I will always click "give" AND "use" when I want to try an object on characters, just in case! Now I will always "use object 1 on object 2" AND "use object 2 on object 1", just in case! And so on and so on)
[close]
[close]
#51
Quote from: splat44 on Wed 21/02/2024 02:58:40I suspect some inventories is missing, what do you have so far?

Spoiler
Cut lemon
Yellow dye
Sword
Scissors
Corkscrew
Black hawk clothes
Fancy clothes
Rag
Crowbar
String ("rope")
[close]

About the lemon...
Spoiler
I thought I could use it to reveal a secret message written in invisible ink, but I didn't find any piece of paper anywhere
[close]
About potential search places...
Spoiler
Saint Cove says the invite to the party (or some important letter, I can't remember) is somewhere in his room but I have haven't found it.
[close]
#52
New issue :
It's about Violette, or the priest, or both.

About Violette:
Spoiler

Violette has disappeared. Someone has seen her:
(More)
Spoiler
My chamber maid has told me that she has come earlier but I wasn't there. I guess she went looking for me or she was kidnapped, no idea. I spoke to every other NPC but no one has her as a topic of conversation.
I don't know what to do from there. My only other line of puzzles currently open are: the priest, and the grog recipe.
[close]

[close]

About the priest:
Spoiler

I've managed to find him and he has asked for...
Spoiler
He wants a large donation to breach confession secrets AND 5,000 francs for the wedding.  No idea what to do from there.
My personal theory:
Spoiler
That will be for later. Maybe there will be some charity thing at the palace, or maybe I'll find some treasure, whatever. The thing that preoccupies me is that I wonder if the confession bit is the key to finding Violette.
[close]
[close]

[close]
#53
Well there IS some leftovers in the tavern (right-most customer) but when I try to take it, the character says "Hmm... Tempting but no."

EDIT: OK found it. Here's a clue:
Spoiler
In the tavern's main room...
Spoiler
there is specifically a plate that you think you can't take but if you insist you can take. I'm not sure what triggers the possibility of taking it.
[close]
[close]
#55
Hints & Tips / Adventures of the black hawk
Thu 15/02/2024 18:05:38
I'm stuck when
Spoiler
Saint Cove needs to find some food to give to Olivier's dog
[close]

I don't know what to do because
Spoiler
there's food laying around literally EVERYWHERE in the game, there's even a dining room and so on, but Saint Cove adamantly refuses to pick up any of it, in pure point-n-click fashion.
[close]

I think that the solution might be that
Spoiler
I'd need to enter the tavern's kitchen, and to do so I need to distract the owner by recovering the grog's recipe. He mentioned that a woman stole it but I can't remember any other clue about it or where to go to find that woman, and unfortunately the dialogs can't be repeated.
[close]
#56
That seems like a great idea, because there's a lot of old FMV games which could have achieved greatness but were carrying some obnoxious/obsolete game mechanics, broken puzzles and unclear hints.
They all need a good "repair". Not just this one, but Phantasmagoria and the others too!
#57
We have a whole series of videos for trying to master Godot specifically for point n click games.
Believe it or not, this is still all experimental and we're still not sure if we want to abandon AGS.
Something as simple as playing an animation in a specific way took we 2 days to understand, with systematically false tips from the Godot Discord.



Link: https://www.youtube.com/watch?v=NYzHFzDpRQE&list=PL773FMqtyjdt_YdoP0nxZdgFmPL_t1_yp&index=12
#58
Godot drives me insane.

I can see that it has all the capabilities to achieve amazing things.
The issue is... No one has the knowledge.


Allow me to rephrase that : There are a TON of people who have Godot knowledge. The issue is... Unless you know someone who's willing to be fully involved in your project then it seems impossible to receive consistent and proper help with Godot.

There used to be some sort of Godot forum, similar to the AGS one, which has now shut down (every time you click on a google result you get a 404). Not a good move, I would say!

Then there's Discord. Have you ever visited the Godot Discord? Let me tell you, it's nothing like AGS. There's a gazillion posts per minute. And since it's a continuous flow of chat messages, there's zero consistency. Messages about several topics are mixed together, and you never know what will be the quality of answers. It's like a Russian roulette. The people helping have either no time to try to understand what you're doing, or give crude answers without explaining why the solution is the solution. When the answer is not plain wrong!

I remembered fondly my early days in the AGS forums, when there were people like Ashen, monkey0506, Khris etc. who knew what the hell they were talking about. The information was clear, correct, and there was room for follow-up questions.

Yesterday I tried asking ChatGPT about Godot. The quality of the answer was amazing.... I had a brief moment of euphoria, thinking I had finally found my solution... Until I realized it was ChatGPT3 and its knowledge stops in 2021. It was giving answers incompatible with Godot 4.1.1 (deprecated classes)! And of course, the Godot help page doesn't clearly state that the lass is deprecated (well, it does, but... at the end of the page!)

I'm literally banging my head against the walls. AGS is awesome. Godot is even more awesome (because it's a heavyweight) but all that awesomeness goes to shit instantly, every time.


I was tempted by an upgrade from AGS to Godot. But now I'm seriously considering reverting my experimentations and throwing away those last 2 years of experiments with Godot.
#59
AGS Engine & Editor Releases / Re: AGS 3.6.0
Sun 09/04/2023 11:10:52
Outstanding work as always!
#60
Quote from: Crimson Wizard on Mon 08/08/2022 14:01:37
If it's included into the project that you are trying to build, then it should be compiled automatically, along with the rest of the project's files.

Thanks.

Spoiler

New problem: In order to compile, Common.Lib.Test needs to have AGS_PLATFORM_TEST defined. am I supposed to set that manually (and if yes, how? Is it part of a larger configuration process), or am I missing something? (e.g. I'm not supposed to run that project myself but instead let the CI environment run it).

I see that this variable is mentioned in CMakeLists.txt but until now I didn't have to worry about CMake in Visual Studio. I don't even know how they integrate together, to be honest. I'm going to read this : https://docs.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=msvc-170&viewFallbackFrom=vs-2019


This problem has disappeared, I don't even know how.
[close]


SMF spam blocked by CleanTalk