Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Federico Volpini

25
Posts
2
Topics
A member registered Dec 11, 2023

Recent community posts

Perfect! :)

Hi..

can you share your code with me so I can have a look and find a fix for that?

Federico

(1 edit)

Your i18n.js file is quite strange: section keys are missing, also `s and commas:

for instance:

var i18n = {     
    Castle Adventure in Javascript     
    CRT: {         
        Press enter to continue...     
    },     
    IFEngine: {         
        warnings: {             
            IFEngine must be extended             
            No adventure loaded
            ...

should be:

var i18n = {         
    htmlTitle: `Castle Adventure in Javascript`,
    CRT: {
        waitText: `Press enter to continue...`
    },          
    IFEngine: {
        warnings: {
            mustBeExtended: `IFEngine must be extended`,
            notLoaded: `No adventure loaded`
            ...

what happened?

If you still using the 1.0 version, DO NOT translate the IFEngine->verbs section (in 1.1 this section has been removed).

It should remain:

verbs: {                       
    look: `guarda`,                      
    take: `prendi`,                       
    drop: `lascia`,                       
    lookFor: `cerca`           
}
(3 edits)

The problem is: if you're using 1.0 version, you should not translate the IFEngine->verbs part

this

verbs: {                 
    look: `olhar`,                  
    take: `pegar`,                  
    drop: `soltar`,                  
    lookFor: `buscar`          
}

should remain:

verbs: {                  
    look: `guarda`,                  
    take: `prendi`,                  
    drop: `lascia`,                  
    lookFor: `cerca`          
}

In fact in the 1.1 version this section has been removed

Another tip: the `pattern` should all be lowercase and without accents,

(4 edits)

If you're still using the older 1.0 version of the game, line 2224, "scoglio: -> interactors: -> mostro:" update the description tag as above

(1 edit)

Looking at Nessie result in

UNDEFINED

please update line 2207 of AvventuraNelCastelloJS.js

description: i18n.AvventuraNelCastelloJS.rooms.rock.interactors.nessie.description,

instead of

description: i18n.AvventuraNelCastelloJS.rooms.rock.description

I apologize

in the labytinth you can move also up and down so "teoretycznie" you can do it...To remap the labitynth you have to change the AvventuraNelCastelloJS.js code. (from line 1153 room 24,26,27,28,29,30,31,32) :)

(1 edit)

Hi ildede! Cool stuff!

Another way to increase speed testing is to modify this function in the crt.js module:

async sleep(ms){        
     return;      // skip pauses  
     ...  
}
:)

Ok I think I fixed the take parachute issue:

I've sent back your file (just rename it and add the .js extension to make it work again and be recognized as Javascript file) :)

Yes, another user sent me his code via discord. If you prefer you can send it via email (removing the .js extension otherwise gmail fails). My email is volpini.federico79@gmail.com

perfect :D

Ok I think your solution can work... just test it :)

(1 edit)

Hi Natalia, open the browser console and see the error raised... if you want to share with me your code maybe I can help you fixing the issue,

Hello,


Yes, the bottom bar was enabled to allow chinese/Japanese/Korean input. It was born for the mobile and adjusted for this Jam (if you see the original italian version here:  https://www.avventuranelcastello-js.it/play/ it only appears in mobile devices)

BTW great job in updating the parser for the "no space" languages!

Federico :)

(3 edits)

well, in this section there are no labels (you don't Need them).

Labels are only used and shown in objects (that are listed in "what i see" part)

(2 edits)

Hi Natalia

the Engine replaced all special characters with their normalized version and LOWERED it:

For instance:

ÇÀÉÙ

become:

caeu

In the pattern you must use the simplified version for recognition (no accents, no upper words ecc):

pattern: `caeu`

In the labels, descriptions, answers ecc.. you can use what you want.

check the simplified  string in the browser console log.

All special keys now shouldn't appear (DEAD/META/UNDEFINED ecc..) If I missed one please tell me.

The file loaded into the game is 18n.js so that's the file you should edit.

In the 1.1 version of AnC i18n.js is a copy of the en-en.i18n.js file, the unofficial english version.

For instance, The engine file shouldn't be touched. You can  edit, in case, AvventuraNelCastello.js if you want, for example, to change the labirynth behaviour... but IMHO it's really hard work. All the misssing parts should be in the i18n.js file now.

:)

Hi @komarcell.

can you open the browser console and take a screenshot of the error message?

Or better, (if you prefer), can you share (with me) your code so I can try and help you?

Hi @komarcell!

Thank you for the report, The problem is in AvventuraNelCastelloJS.js where the description pointed at the wrong i18n.js key. My fault.  I've fixed in the upcoming version that will be released soon.

:)

(1 edit)

Hi @Rafagam, Thank you for the issue report. W e're fixing all. We'll release a patched version soon. :)

(2 edits)

Hi,I put  the message "something must be extended" for completeness, don't worry too much about it.

`T cpsc sltnt a mt'` is half Ti capisco soltanto a metà (I only half understand you) because you are typing only half the secret word.

Hi @Gnou

to help people, we're refactoring the code so people don't have to struggle too much (but just a minimum) using these regexp (we're replacing all \\s+ with single space).

We'll release a major update asap

Thank you for reporting these typos. We apologize for that. 

We'll fix asap.

Federico

(1 edit)

Hi @Gnou,

thank you for these reports. We'll fix it asap.

Federico :)