kaiko's Forum Posts

  • ive tried this but storage doesnt print anything in text ,and when i debug i cant see that storage gets any data at all.

    can you see where what im doing wrong?

  • uhm ok, i tried your plugin,but in your example I cannot see how you acquire external data?

    from an ajax request the complete dataset is in ajax.lastdata and i neeed to get it into some form of function so i can assign its values to variables see pic below.

  • thanks, tried but this plugin loads json from an external file, i need to parse the Json data from AJax.lastdata

  • bump

  • Ashley: you wrote earlier that this feature was planned but no ETA, do you have an update on this task?

  • or is there maybe a usable workaround?

  • i am currently using the xml plugin to load my variables when using ajax requests and it works fine but but the xml data is much larger in size so since im aiming for the mobile market i want to minimize the data transfer size.ad having a json plugin that works exactly like the xml plugin would help to minimize the data size.

    is there a json plugin for this?

  • > the bug seems to be: when using sprite->load image from url

    > in conjunction with an instance object, it is automatically loaded for all of theinstances of this object, not just the one you picked.

    >

    That is by design, because Sprites all share the same image sources to save memory. Closing.

    is there a workaround for this? in order to write dynamic and flexible code, it is essential to set individual images to instances.

    perhaps a setting in C2 with this feature on off.

    as i'm writing a game menu that is populated by a list from a database i need the instances to be able to grow shrink based on the number of items in list, which works but as soon as i assign an unique image to the icon , all instances get the same image.obviously renders the menu useless ass all icons are the same but points to different games.

  • i want to run and debug my web app but i use some wuerystrings to get input data:

    ?game_session=a76150dfcbbc65f5faa65907363721&bet=1

    but when i run construvt 2 preview in debg mode it doesnt catch the querystrings:

    http://localhost:50000/debug?resume_ses ... 3721&bet=1

    how to set a proper url in debug mode?

  • i c, can you recommend any workarounds?

  • another thing i noticed, also it doesn't do a request to load the image rom the url, when i monitor network traffic it doesn't make a call externally, seems it just picks an image it previously loaded image it had in cache and displays it instead.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • the bug seems to be: when using sprite->load image from url

    in conjunction with an instance object, it is automatically loaded for all of theinstances of this object, not just the one you picked.

  • I se this message in my web console running firefox on win 7:

    "[Construct 2] Function object: called function 'load_pic', but no event was triggered. Is the function call spelt incorrectly or no longer used?"

    the function load_pic runs anyway.

  • yah, this got to be a bug,even if i hardcode links i don't get it to work as i think it should,it somehow mixes up images loaded for different sprites...

  • do i need to pick an object instance after i just created it with createobject?

    it seems only sometimes it sets the right instance variables after createobject.