kaiko's Recent Forum Activity

  • 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?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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.

  • ok, made a new version with built in function, i guess i've been using functions for ages never realizing its built in nowadays.

    the issue could be that its trying to load a picture that doesn't exist due to an empty var and then it uses last loaded image instead?

    there is something going wrong in display_games() function

  • as far as i can remember i only use the function plugin that might be from rexrainbow.

  • loading image from url on instances does not work sometimes it keeps loading the last loaded image to the instances, not the one is it is set to load

    ____ A concise description of your problem here ____

    Attach a Capx

    ____ Upload a Capx to this post ____

    Description of Capx

    ____ Concise description of what this CapX does ____

    menu that loads icons for games from another site,game list is fetched from a rest api

    creatin instances as menu icons.

    Steps to Reproduce Bug

    • Step 1 run
    • Step 2 watch the 4 icons are using te same image, look which images have been requested with fiddler,it is also printed in debug text box. there should be 4 different icons not 4 of the same. it seems the last loaded image is somehow used for all sprite instances
    • Step 3 etc.

    Observed Result

    there are 4 of the same icons displayed.

    ____ What happens? ____

    there should be 4 different icons not 4 of the same.

    Expected Result

    ____ What do you expect to happen? ____

    there should be 4 different icons.

    Affected Browsers

    Chrome: (YES)

    FireFox: (YES)

    Operating System and Service Pack

    ____ Your operating system and service pack ____

    win7 sp1

    Construct 2 Version ID

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

    r163 32-bit

kaiko's avatar

kaiko

Member since 26 Sep, 2013

None one is following kaiko yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies