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

#61
Ok, thanks for the correction!  :-[

Well, the error is in the default code of the Tumbleweed template!
#62
It seems that it doesn't work. Still does not change the GUI language when loading a save in another language. However, the rest of the text does change it.

Now I have this in the global script:
Code: ags
function on_event(EventType event, int data) {
  if (event==eEventLeaveRoom)
  if (event==eEventRestoreGame) {
        Verbs.Localize();
        //new code
        if (Game.TranslationFilename == "English") {
        Verbs.VerbGuiOptions[eVerbGuiTemplateLanguage] = eLangEN;
        Verbs.AdjustGUIText();
        }
        else if (Game.TranslationFilename == "") {  
        Verbs.VerbGuiOptions[eVerbGuiTemplateLanguage] = eLangES;
        Verbs.AdjustGUIText();
        }
        //
  }
  if (event==eEventEnterRoomBeforeFadein || event==eEventRestoreGame)
    player.PlaceOnWalkableArea();
}

[EDIT]
I think when it loads the game it doesn't read this code. I have added a player.Say() inside the eEventRestoreGame and it does not execute it when loading the game.


[SOLVED]
That's it. Now it works. The code is the following:
Code: ags
function on_event(EventType event, int data) {
  if (event==eEventLeaveRoom)
  if (event==eEventRestoreGame) {
        //this part here is not executed...
        Verbs.Localize();
  }
  if (event==eEventEnterRoomBeforeFadein || event==eEventRestoreGame)
    player.PlaceOnWalkableArea();
    
        if (Game.TranslationFilename == "English") {
        Verbs.VerbGuiOptions[eVerbGuiTemplateLanguage] = eLangEN;
        Verbs.AdjustGUIText();
        }
        else if (Game.TranslationFilename == "") {
        Verbs.VerbGuiOptions[eVerbGuiTemplateLanguage] = eLangES;
        Verbs.AdjustGUIText();
        }
}
#63
Thank you very much for your answer. Yes, indeed these days I have been able to test it and it has been solved. To change the language from within the game I use:
Code: ags
Game.ChangeTranslation("English");
Verbs.VerbGuiOptions[eVerbGuiTemplateLanguage] = eLangEN;
Verbs.AdjustGUIText();
System.SaveConfigToFile();
That way it changes the language of the GUI and texts perfectly.

But there is still a small detail that I would like to fix. If you load a save game in a language other than the current one, then the GUI doesn't switch languages  either. It would be solved by adding this code:
Code: ags
        if (Game.TranslationFilename == "English") {
        Verbs.VerbGuiOptions[eVerbGuiTemplateLanguage] = eLangEN;
        Verbs.AdjustGUIText();
        }
but I don't know where to put it. It should be at the time of loading... Can you give me a hand?

Thank you!
#64
Hello! I need some help on changing translation in game.

First I must say that the game uses the Tumbleweed template.

I have the default game in Spanish and I have added a test English translation. When I change the translation from winsetup everything goes well. The texts and the GUI change languages and the changes are maintained in the following sessions.

The problem is when I change the translation from within the game through:

Game.ChangeTranslation("English");

What happens is that the language of the texts is changed but not that of the GUI and in the 9 verbs. In addition, the changes are not maintained in the following sessions either.

Let's see if you can give me a hand. Thank you so much!

[EDIT]
I have added this:
System.SaveConfigToFile();
And now the language changes are maintained in the following sessions. But I still have the problem that the language of the 9 GUI verbs is not changed. Instead, it does when I log out of the game and back in.
#65
Well, the medieval street is inspired by real images found on the web. But it really also resembles the street on Meleé Island because of the arch in the background.

Thanks for the support!  ;)
#66
Quote from: arj0n on Sat 11/02/2023 12:23:06you might wanna adjust the shadows in your title screen as they are not consistent. squirrels vs chair vs table and beach umbrella
True! As a good point & click player you pay close attention to details  :-D

I'm glad you remember my previous game.
#67
Hi!

A few years ago I published here my first adventure game called "The Castle". It was inspired by Maniac Mansion.

Now I want to announce my second project that I'm still working on. It's a new adventure called "The Legend of Skye."

It will be a classic point & click adventure, with the 9 verb system, inventory and lots of humorous dialogues.

It will be available soon on Steam, GOG and itch.io!

Wishlists are highly appreciated!
Steam
GOG
itch.io

I pass you the official website so you can take a look: Point & Pixel Adventures

All the best.










#68
The Castle

Evil has taken over a small town. But a group of courageous adventurers has decided to organize an expedition to end the feared vampire.

Features:


  • Make a team of 3 adventurers of 7 candidates.

  • Each character has its abilities and defects with which it is easier or harder to finish the adventure. Some can be very clumsy ...

  • Watch with the castle guards, do not let yourself get caught!

  • 5 different endings, some are easy and others are extremely difficult, find them all!

  • Point and click adventure

  • Originally written in Spanish and translated into English

  • Powerful last-generation graphics never seen.

Download  new version 1.0.05

Walkthrough

Characters:



Endings:
Spoiler

  • Moon of Blood - easy
  • Lovers - moderate
  • Stealth Killer - moderate
  • Infernal Punishment - hard
  • Extermination - hard
[close]

Please consider for:
Best Game Created with AGS - It was created as a hobby, by a fan of Ron Gilbert's games.
Best Gameplay - Many ways to solve the puzzles, to die and beat the game.
Best Animation - There is a pool with sharks and a giant octopus!
Best Programming - It was a headache to program the chases through the castle and the intertwined puzzles with different characters.
Best Character - Up to 7!
Best Puzzles - In some of them you will need several team members.
Best Writing - Don't you think it's a fun game?
Best Character Art - Based on the style of Maniac Mansion.
Best Background Art - Drawings made pixel by pixel with GIMP.

Screenshots:











#69
Completed Game Announcements / Re: The Castle
Mon 09/09/2019 15:46:07
Hi RayManiac,

Great! ;)

I contact you via email
#70
Completed Game Announcements / Re: The Castle
Fri 30/08/2019 15:08:40
Initially I had only planned Spanish and English. But now there are players who are going to translate it into Italian, and I promise to collaborate in the translation of other languages †‹†‹if they ask me to. ;)
#71
Completed Game Announcements / Re: The Castle
Thu 29/08/2019 17:18:05
Hi!

@ZakMcKracken, yes, I've played Thimbleweed Park, of course  :P

Right now I will join the forum  :)

Thanks to you, @Nor Treblig, I didn't know itch.io

You have the same version and manuals on both platforms.

Thanks @Athanor, I write down the issues you have found, along with a bug that a player has passed me. I hope to be able to release a new version to correct it.
#72
Hi Athanor,

On Steam there is the same walkthough in pdf format. Just click on "View the manual".

Thanks!

#73
Completed Game Announcements / Re: The Castle
Wed 28/08/2019 18:03:50
Hi!

Thanks guys  :)

In Steam it has been positively received. All reviews are good. I invite you, if you have played, to write one even if it is bad  :P

Many people have asked me to hang it on itch.io, so here it is:

https://faldorn88.itch.io/the-castle

Do not hesitate to write or comment on anything you think.
#74
Completed Game Announcements / Re: The Castle
Wed 28/08/2019 09:36:03
Many thanks!

I appreciate your messages. I am very happy that people enjoy the game.  :)
#75
Completed Game Announcements / Re: The Castle
Tue 27/08/2019 08:39:10
Hi Nor Treblig,

Many people are asking me to hang it on itch.io, so I will surely try to upload it in the next few days.

About changing the game title, I was analyzing this idea, but it is a bit complicated to make this change now since it is everywhere like "The Castle". It would give many problems to change the title or add a subtitle. Before on Steam it appeared on the second page, now it already appears on the first :)

Thanks for your advice, the game has good reviews. I just hope more people enjoy it.
#76
Completed Game Announcements / Re: The Castle
Thu 08/08/2019 13:14:39
Thanks Athanor for the help. I will think about it and if I see it feasible I will do it.

As soon as I can I will also finish the walkthrough to leave it as complete as possible.
#77
Completed Game Announcements / Re: The Castle
Thu 08/08/2019 12:33:14
You are right that maybe the title is a bit discreet. When I put it on I didn't think about all this .. Change it now I think it could create confusion.  :(

I hope that thanks to your visits it will go up to the first page of Steam.  ;)
#78
Completed Game Announcements / Re: The Castle
Thu 08/08/2019 11:43:54
Hi Athanor,

I have not implemented anything about the DRM in the application upload in Steamworks. I do not want to annoy the players. Before a developer, I am also a player.

If there is any problem write me.
#79
Completed Game Announcements / Re: The Castle
Thu 08/08/2019 09:15:16
Hi Durq, Athanor,

Yes, that is. And I think those who have followed the previous releases at AGS deserve an explanation. The castle will be officially launched on Steam on August 26. The reason to hang it there is to protect the game and its authorship. In the latest updates, the apostrophe errors and the potions texts in the English version have already been corrected. The rest of new versions and improvements will be hanging by this platform. The game will be sold at a very low price to pay the costs of uploading it to the platform and the headaches that some days have taken me during its development.

I hope that people who have already been able to play it in AGS understand the reason for launching it on another platform.

I can only truly thank people for their interest in the game and positive reception. I will continue working on some improvements and thanks for the support. :)
#80
AnaMoon thanks for your analysis and the videos. It's really very complete, I've added a couple of things in a comment.
SMF spam blocked by CleanTalk