jweickum's Forum Posts

  • You would simply keep a count of destroyed objects in a global value from layer 1. Then when you go to layer 2, using the ‘on layout loaded’ event you create the number of objects based off the number in the global value.

    Andy

    Appreciate the help guys! I set two variables (OLD, NEW)

    When I destroy the object in layout 1 I add to the OLD variable.

    Then when I move to layout 2 I use a REPEAT action to create an object,

    REPEATED (OLD - NEW) number of times.

    Then as each object is created it adds 1 to NEW.

    I do the reverse so I can move between layouts without creating or destroying extra objects.

    This is how I figured I could do it, let me know if you guys see any problems with this method.

    So far no bugs.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey Ashley are there any plans for bringing back tizen support? Or is there already support?

  • I want to destroy an object in layout one, and for every object destroyed in layout 1, I want it to create the same amount of objects in layout 2.

    If you guys know of a way to do this differently than what I'm trying to do, I welcome all ideas.

    Right now I have a global variable, that when changed it adds an object to layout 2, but will only work once, and only when layout 2 is loaded.

  • I want a variable that is triggered in layout 1 to spawn an object in layout 2.

    The problem I have is when the variable is triggered it only triggers once i actually load layout 2.

  • That's really vague. Not sure what you mean.

    You can add text boxes by double clicking on empty layout space and looking for the text function.

  • How do I update a different layout without loading the layout. I want to change objects in a different layout, but the changes don't seem to update until the layout is loaded.

    Is there anyway to force these updates?

  • I think the reason you can't do that option is so people don't make the whole game then buy 1 month and sell the game.

    Construct gets $100 if they force you to buy 1 year vs getting $10 if they allow per month. Or whatever the euro equivalent is.

    I think a nice compromise would be, to not allow monthly users to sell their games until a year subscription is bought. Just my two cents.

  • Never mind. Big still available in r128. It seems to occur after duplicating the frame and dragging off the screen.

  • Disregard. I believe r128 just patched my problem.

  • I use c3 on my phone at work. I've been getting a problem with using the animation editor that the app will freeze until c3 closes.

    I can't seem to reliably reproduce this because it's random. But it only happens on mobile and in the animation editor. It's so bad that I've been saving my project every single time i have to open the Sprite editor. Any help would be grateful.

    I'm using r120 stable.

    I'm on a galaxy note 9.

  • I made an endless runner but im having problems with black lines between objects when they reset their positions.

    The first image is the start of the game. The second being after the objects have reset their positions back to the beginning.

    This is the only script i have for these objects. I probably have my math wrong. But i can't see where it's wrong. I've done multiple variations of when to remove object and where to put it back.

  • Does anyone currently use C3 on mobile?

    I currently use C3 and am just looking to see if anyone else has had problems or has ideas for better improving mobile.

  • This might seem confusing, but I'm not sure how to phrase this question.

    For example, You want to make a restaurant game where you construct a burger from individual objects.

    I would like to then "Snapshot" this grouping of objects into a single object. Instead of creating every single combination of objects, is there a way to have the game make an image of grouped objects?

    I can clarify more if needed.

    Thanks guys

  • I appreciate the help, but I figured it out when I woke up this morning. A break was all I needed to figure it out. I have randomized health values. And I just have an animation frame change at 30% of the characters health, and I just did "Currenthealth < 0.3*MAXhealth.

    Thanks again.

  • I'm trying to trigger an event when the health bar reaches a specific percentage of the full health amount. I have done this before with static health numbers. But I now have objects with randomized health values in instance variables. Any suggestions?