korbaach's Forum Posts

  • puts it into the same spot in the new array..

    you mean?

  • something like:

    bloodRadius.capx

  • it's also the same question i want to ask

    [quote:21xqr5aq]Allow to upload an image 1 by 1, that is let's say you run the program. You upload an image, and 5 minutes later you upload another image -

    without replacing the first one. So far i have set

    Sprite 1 to load FileChooser.FileURLAt(0)

    Sprite 2 to load FileChooser.FileURLAt(1)

    if you upload just one file (1 by 1)..you always load FileChooser.FileURLAt(0)

    if you use just one sprite ..and if you want to load next image WITHOUT replacing the existing one

    you need new frame...

    oneSpriteExample.capx

  • condition?

  • two different actions Set & Load

    Set from JSON for List object

    {"c2":true,"ivs":{"345726035289035":99,"4920281471186917":"test"},"w":{"x":437,"y":64,"w":150,"h":22,"l":7960705071762816,"zi":2,"hX":0,"hY":0},"data":{"tooltip":"","disabled":false,"items":["Item 1","Item 2","Item 3"],"sel":[0]}}[/code:2nunqofn]
    
    Load from JSON for List object
    [code:2nunqofn]{""c2list"":true,""data"":{""items"":[""Item 1"",""Item 2"",""Item 3""]}}[/code:2nunqofn]
    
    Load from JSON- loads only [i]"data" [/i] for Dictionary..
    
    [code:2nunqofn]{"c2dictionary":true,"data":{"animal1":"dog","animal2":"pig","animal3":"cat"}}[/code:2nunqofn]
    
    there is [i]no Set from JSON[/i] action for [i]Dictionary[/i] and no Load from JSON for List object...
  • I am trying to do something very simple that I have done a million times in other languages...

    try if....else

    or modulo

  • open data.js in text editor..scroll to end of json string

    and after window size(480,640(in my case))

    [quote:2gduzpye]"media/",false,480,640, 4, true,true,true,"1.0.0.0",true,false,4,1,26,false,true,1,true,"New project",0,[]]}

    there is a number for the Fullscreen scaling (0 or 1 | 2 | 3 | 4 | 5 ).....I think the number 3 is for "Scale outer"

    I really don't know... is this the only place that determines scaling..

    I've never tried this before...and..... I'm too lazy to try it now(to upload game..and test..)..

    so...

    as Twin Blazar said re-export is best solution...

  • ...when trying to pickup one card from columns it picks up 2 or more.

    if you enable just nearest...?

  • simplest way is Rotate behavior

    you can randomize speed ,acceleration,duration..

    colorWheel.capx

  • test this capx.... faceLeg.capx

  • How load the array?

  • Try Construct 3

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

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

  • try again..just click on link BonusLives.capx

    and on the ?Download button

  • .. I decided to add a global variable (Mode) so that when I use local storage, I also use another condition (Mode=0, 1 or 2) along with the regular way of saving high scores...

    One LocalStorage Key? Array?HiScore Variable

    arrayHS.capx

    Three LocalStorage Keys?HiScore Variable

    HS012.capx

  • [quote:exgk6486] I am able to call text and audio from XML but not image.

    so... if you set Text to

    XML.StringValue("//question/good_image/text()")[/code:exgk6486]
    you get [i]"face.png"[/i]
    
    but...  you can't load image?
     from
    [img="http://lookpic.com/O/i2/1098/m2QpNsmg.png"]