dahu's Forum Posts

  • Hi,

    I have a Json file built with a name's list of Excel.

    The structure of my file is then:

    {"c2dictionary":true,

    data:{

    "nom_01":NOM Prénom",

    "nom_02":NOM Prénom",

    ...

    }}

    I would like to cherge this file to complete my WebStorage.

    It would be necessary not to destroy the others datas of my WebStorage.

    I try that:

    Event ------------------------------------------ Action

    Syst. On start of layout ------------------- Ajax Request liste.json (tag "a")

    Ajax On "a" completed WebStorage -- Set local storage from JSON string AJAX.LastData

    Mouse On any clic---------------------------Text1 Set text to AJAX.LastData

    ---------------------------------------------------Text2 Set text to WebStorage.AsJSON

    The text1 show realy the good list of names, but not the text2 wiich say me that the data charged is empty: ({"c2dictionary":true,"data":{}})

    How to do ?

    Thanks

  • Hi !

    i have the same problem if i try in R210 beta release !

    What can we do?

    Thanks

  • Hi !

    i test an other event, and it run. But the sprite grow from 0 to 200 pixels. It is'nt what i search.

    I search a plugin or a behavior like the "Crop" function or a event/action code soluce.

    Dahu

  • Hi,

    After Adding a boolean instance variable default value false, i can't add an event with the condition "Sprite.BoolVar = true" because the list of boolean instance of my sprite is curiosly empty.

    I don't understand...

    Dahu

  • Merci de vos aide / Thanks for your help !

    Je tes te tout cela / i try it as soon as possible.

    by

    Dahu

  • Bonjour,

    dans les effets d'images, je cherche à afficher un sprite avec un effet de transition type déroulant: il s'affiche de gauche à droite par exemple. Je pensais déplacer vers la droite un autre sprite devant, mais cela cache mon image de fond. (il s'agit d'afficher un graphique sur une grille de fond).

    merci si vous avez une idée,

    Dahu

  • Bonjour,

    dans les effets d'images, je cherche à afficher un sprite avec un effet de transition: il s'affiche de gauche à droite. Je pensais déplacer vers la droite un autre sprite devant, mais cela cache mon image de fond. (il s'agit d'afficher un graphique sur une grille de fond

    merci si vous avez une idée,

    Dahu

  • thank's !

    Whenever, i search how to color a sprtite or a canvas by using variables for rgb. Example: RGB(a,b,c).

    Dahu

  • Hi Pode, (this is a second post, sorry...)

    i try to use your behavior Recolor, but with Firefox, i have this error:

    Javascript error!

    TypeError: Argument 1 of CanvasRenderingContext2D.drawImage could not be converted to any of: HTMLImageElement, HTMLCanvasElement, HTMLVideoElement., line 108 (col 8)

    This is likely a bug in Construct 2 or a third party plugin or behavior - please report it to the developer. Subsequent errors will be logged to the console.

    Is ther a solution?

    thanks

  • Hi Pode,

    i try to use your behavior Recolor, but with Firefox, i have this error:

    Javascript error!

    TypeError: Argument 1 of CanvasRenderingContext2D.drawImage could not be converted to any of: HTMLImageElement, HTMLCanvasElement, HTMLVideoElement., line 108 (col 8)

    This is likely a bug in Construct 2 or a third party plugin or behavior - please report it to the developer. Subsequent errors will be logged to the console.

    Is ther a solution?

    thanks

  • Hi!

    i would like to pick yhe color of a point with x,y coordinates, in the screen of my project, by programming.

    and with the extract of the rgb values, i will color an other sprite.

    i search a plugin or behavior to extract the RGB values of a point.

    thanks for help,

    Dahu

  • Hi !

    je cherche un moyen d'afficher dans un coin de mon écran un zoom d'une zone centrée sur le cuseur. Une loupe donc.

    y-a-t-il déjà un plugin qui fait cela. Je n'ai pas trouvé.

    merci,

    Dahu

  • Hi,

    it is uncompatible with Dragscale and TouchWrapper

    Dahu

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • hi,

    i try to integrate your plugin in a project for iPad, but it doesn't work if i choose an other option than "off" for the configuration setting " Fullscreen in browser".

    For example my project is in "Letterbox scale"

    What can i do?

    Dahu

  • Bonjour !

    Well, i have integered your behavior. Very good !

    An idea (everytime easy to say but not easy to do may be !) would be to have a sprite wich turn in the direction of his move.

    Is it possible to you to think about this?

    Thank's a lot

    Dahu

    (excuse my english, i'm french)