Salvator's Forum Posts

  • 5 posts
  • brent_hamel Yes, that's exactly what I meant, thanks for clarifying it for me. I think this feature is much needed, especially when working with graphics artists. I can't expect them to update straight to the project folder without making mistakes in the filename for instance. If they could just update the original source files it would be a lot easier to keep track of all the assets.

    Oh and thanks for that remark about not putting all backgrounds in one object. It's really convenient for me to just change the frame depending on which layout I'm loading but I understand this will put all BGs in the system memory.

    Would the best alternative be to just have the one BG and then to load the other images from the folder through 'image from URL' when needed? It seems ugly to just create a new object for each background you know so I'd rather not do that.

  • Thanks for your reply.

    But that's far from ideal since theres just a huge list of folders there for each Object. Besides, the graphic files in those folders are just numbered, pretty inconvenient for a graphics artist to find the asset they want to update.

    For instance, I might put all the backgrounds in one animation. Now if they want to update one of the backgrounds they have to go through all the pictures to find the right one. It's also very easy to make a mistake in the file name consisting of 3 digits.

    I just want Construct to check the source files and see if any of them need updating.

  • Hi there,

    I've been working with Construct2 for about half a year now and one thing can't seem to find is how to batch update graphics.

    As far as I know, the only way to update graphics you use in objects, is to locate the object in a layout, open it, reopen the graphic you intend to use and presto. This seems like a lot of work if you have to update a 100 assets.

    I'm used to developing in flash where I can update graphics with 100s at a time. Since I work in a small game company, it would be really useful to be able to press an "update all graphics" button when our artists have placed new graphics in the source folder.

    A quick search didn't help me. Do any of you guys know of a better way? I basically want Construct2 to reload the source asset used in a selection of objects.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yeah I tried that, see in my above post: "With the new Construct browser object I can't figure out how to do this. I'm not allowed to just log the object and printing as JSON is not very readable."

    My simple array comes out looking like this, pretty unreadable compared to the third party plugin's version. Was just wondering if there was another way. (here's what my simple 2D array looks like in JSON" {"c2array":true,"size":[12,2,1],"data":[[[1],["B"]],[[2],["B"]],[[3],["B"]],[[4],["B"]],[[5],["B"]],[[1],["B"]],[[7],[0]],[[8],[0]],[[9],[0]],[[10],[0]],[[11],[0]],[[12],[0]]]} )

    Nevermind, found out I can use go to layout by name and then enter a variable for the question below. In my case: Go to Layout QContent.At(currentQIndex,2)

    Also, is there a way to dynamically load a layout? I have a quiz game where each question has a questiontype, each type has its own layout. So I've stored the questionnumbers and their layout types in an array and want to load the appropriatelayout as mentioned in the array to be loaded.

  • Hi everybody,

    Even though I've beeen developing with construct for a while now I've never asked a question here before. So here goes:

    With the old browser plugin described here scirra.com/forum/log-text-Objects-to-chrome-console_topic47859.html I could easily log objects like arrays to the browser. With the new Construct browser object I can't figure out how to do this. I'm not allowed to just log the object and printing as JSON is not very readable.

    Any ideas?

  • 5 posts