[PLUGIN] SweetAlert2

0 favourites
From the Asset Store
The I18N (Translation) is a Construct plugin created to translate text in game.
  • randomly

    grate idea, thanks!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I think GetLastValue can work better with two formats:

    > GetLastValue: ["Fernando Santorini","20","Curitiba"]
    
    *easy use with tokenat.
    [/code:2u26j7gp]
    
    [code:2u26j7gp]
    *ExportToC2Array: {"c2array":true,"size":[3,1,1],"data":[[["Fernando Santorini"]],[["20"]],[["Curitiba"]]]}
    
    or
    *C2Array
    *GetC2ArrayFormat
    *I don't know lol
    [/code:2u26j7gp]
    

    i will make a v3.0... then i will put this functions... If u have another idea to put more, u can say and i will put.

  • Thanks so much for the update.

    Fixed the biggest issue I had with this plugin.

    Works perfectly for me now, thanks again!

    EDIT: Maybe a suggestion/request for any new version that might be upcoming:

    (Don't know whether that's possible at all)

    Would be awesome if you could add the possibility to change the form type for the multiple input alert, like the textbox. (password for example)

    Thanks again!

  • Thanks so much for the update.

    Fixed the biggest issue I had with this plugin.

    Works perfectly for me now, thanks again!

    EDIT: Maybe a suggestion/request for any new version that might be upcoming:

    (Don't know whether that's possible at all)

    Would be awesome if you could add the possibility to change the form type for the multiple input alert, like the textbox. (password for example)

    Thanks again!

    Hum... thats a good idea... i will get some "Work vacation" in this month and i will make this... i like it! Thanks!

  • multiple input box is awesome... and if you're open for suggestions I say checkbox will also be useful. 0 and 1 can be used for Array results

  • cristiart great idea!

    I can not do that right now I'm out of a computer now.

    andykenobi can you apply that? In a week I can try to solve.

    Thanks.

  • there seems to be a bug. C2 gives this message at start of project

    ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    Plugin of non-world type specified 'rotatable'

    Condition: !(plugin_type == era::pt_objecttype && rotatable)

    File: Projects\ObjectType.cpp

    Line: 37

    Function: __cdecl ObjectType::ObjectType(class Project &,class ObjectFolder &,class Plugin *,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,unsigned __int64)

    Build: release 240 (64-bit) checked

    Component: Construct 2 IDE

    (Last Win32 error: 0)

  • cristiart

    Since r240, this error always happens for me when launching C2.

    I don't know what it causes, but I simply press "Retry" and no further problems appear.

  • randomly andykenobi

    change line 11 in edittime.js to - "rotatable": false,

  • Since I started using SweetAlert2 in the r241, this error appears when trying to add a parameter in the dialogue where you edit the "multiple input" alert.

    Any possibility this will be fixed at some point?

  • I have not used this plugin for some time but here is the version I'm using: Download

    Unfortunately I'm not following our friend's standard and I do not have time to stay updated but if you have any tips tell me what I can implement in the future.

    andykenobi sorry for not having requested permission to edit it.

    To use text: "0,How are you?"

    To use email: "1,Your email"

    To use password: "2,Password"

    To use number: "3,2017"

    To use url: "4,https://www.facebook.com/"

  • [quote:2281oyed]To use password: "2,Password"

    Oh yissss, this is what I needed

    is this how I'm supposed to use it?

    Because the password format doesn't work for me like that...

    The .zip behind the download-link is empty btw.

  • randomly yes it's correct!

    Wow, noob that I am! I uploaded it empty!

    Sorry, try again: Download

  • [quote:1rts64vz]Sorry, try again: Download

    Oh yesss, thanks so much!

    Now the first page only needs updating...

    Thanks for sharing!

  • I did downgraded because it is far from the final version.

    After sending the version I use I felt compelled to put the option to change the error messages, but nothing much needed:

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)