Surmulot's Forum Posts

  • 6 posts
  • Problem Description

    Am I missing something ? The LocalStorage menu for new conditions lacks many options. This is what I get :

    Attach a Capx

    ____ Upload a Capx to this post ____

    Description of Capx

    ____ Concise description of what this CapX does ____

    Steps to Reproduce Bug

    • Step 1 : click "New Condition"
    • Step 2 : select the LocalStorage plugin.

    Observed Result

    ____ What happens? ____

    Expected Result

    ____ What do you expect to happen? ____

    Affected Browsers

    • Chrome: (YES/NO)
    • FireFox: (YES/NO)
    • Internet Explorer: (YES/NO)

    Operating System and Service Pack

    ____ Your operating system and service pack ____

    Construct 2 Version ID

    ____ Exact version ID of Construct 2 you're using ____

  • Okay... I understand...

    I can't change the image of just ONE instance of a sprite. Every instance is automatically changed. It's normal.

    I'm sorry for my mistake...

  • Try Construct 3

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

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

    I need your help in this code :

    dl.dropboxusercontent.com/u/11014243/For%20each.capx

    Basically, my code is :

    For each Sprite :

                  Sprite : load image ("Icon"&str(loopindex))

    I expected to get "Icon0" for the first instance, "Icon1" for the second one, and eventually "Icon2" for my last instance. But all my instances load "Icon2".

    Why ? Is it because the loading process is too slow for a loop ?

  • I don't know Construct very well and I would be happy to learn another way to do it.

    I would import all my images in the game and then use "Load from an URL". This command has not a clear name but it works with imported images : you just have to give the name of an imported image and it is loaded.

    It is not exactly what you want but it's the closest way I can find.

  • Thank you, all of you. Yes, I shall use the "Condition=true" work-around. It's easy to create and it's a good idea. Perhaps a little warning could help when one tries to use "OR" in a While condition (something like the warning that appears when one tries to set a breakpoint in a triggered event) : obviously "While" doesn't like "OR" in Construct.

  • Hello !

    I'm progressively discovering Construct and I'm enjoying the new debugger feature (although I wish it were more powerful, of course...). But that is not why I'm writing.

    For the first time I'm trying to use the "OR" statement. It's in a "While" condition and I seem to be missing something important because I get an endless loop in a condition that should not even be triggered.

    I just tried :

    While

    or

    3=4

    or

    5=6

    And I get this endless loop. Could someone help me, please ?

  • 6 posts