Darknessed's Recent Forum Activity

  • No one can solve??

  • Down here I provide an example capx of problem I had right now:

    drive.google.com/open

    Before you open the capx, you should have 'Rex-MoveTo' Behaviour plugin to make the capx work.

    After you download the capx, let me heads you up first.

    Inside the game, you'll have to click one box (red or blue) per click and then a character will come over the box and the score will add up, then after 3 seconds, the character will go away.

    If you click one box (red or blue doesn't matter) and then you click another box before the previous character reach the destination box, the score won't add up to the previous box score as it should be.

    But if you click them one by one and wait until the character reach the destination box, the score will add up as it should be.

    The problem is how can I make it scoring even if I click multiple times on boxes before another character reach its destination box?

    I'm really don't know what's wrong.

    Is it because of my coding not completed yet, or something else?

    Please some advice.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oh, alright....I'll try using google drive instead

    thank you MPPlantOfficial for the heads up

  • I have a problem here and I think I have to put a capx file in here to make it more clearer for anyone but how can I upload capx file here?

    it said that dropbox is no longer available for public so, is there any solutions about that?

  • Like this: dropbox.com/s/8l97n86okvolr5c/cook.capx

    - Click the grey square to start cooking.

    - Once cooking is complete, a red box is spawned (the dish).

    - Remove the dish from the pan (drag the dish somewhere else).

    - When the pan is empty, click again to restart.

    Thank You tmntppn for your sharing idea but at the moment I'm working on another project so, this one I must hold for now, but when I'm done with it, I'll definitely come back to this project and observe your example capx.

  • To RayKi & tmntppn

    Sorry before for being unclear with my post. I'll try now to make it clearer.

    Due to the game that I make is about restaurant, I have an object of frying pan that animated for few seconds (animation initial state of this object is disabled).

    At start of layout, I want to make the frying pan to animate first, then after animation finished or stop to animate, it spawns another object as results (this is like when you cook for few minutes, it will result the dish).

    Then, if I click again in the frying pan object, it will animated again, and repeat resulting another object as result (or you could say the dish).

    That's what I want to repeat all over again.

    I hope that it would make it clear to you, guys.

    I have try the condition in my first post but it didn't work at all.I have no idea what's going on or what's wrong with mine. It was killing me, guys.

    Hope that you could help me a bit and lifting my burden.

  • Here we go again, I have another issue right now.

    I have problem about repeating several actions.

    In my event sheet, it goes like this:

    {I want to make repeat/loop from here}

    (event) System: on start of layout > (action) stop animation

    (event) Mouse: on left button clicked on object > (action) animation start

    (event) System: Time = 4 seconds > (action) create object

    {to here for the repeat/loop}

    NOTE: The system time is for waiting from mouse clicked until the object created.

    This several actions that I want to repeat/loop but I can't figure it out.

    Any Advice? I'm blank right now

  • Alright, problem is solved.

    To GenkiGenga, THANK YOU VERY MUCH, actually it's already done yesterday but I just got time to post in the forum.

    So, I guess this topic should be closed by now.

  • Hey Dark,

    Start with a global variable called 'CustomerCount'.

    All of your customers that come in should have a variable called 'Number' and another called 'Seated'.

    When a customer is spawned you attach a the Customer Count number to it and add 1 to the variable (so each customer has a unique number).

    When that customer sits down make the 'Seated' Variable 'Yes' or '1' to mark him/her as ready to order.

    Choose your way of using a timer, timer behaviour, dt, every X seconds etc and then pick a random customer like this (these are the conditions).

    Pick all Customer object (pick all is from the system menu)

    Customer object is seated (Click on the object and then compare the variable)

    Pick a random Customer object (pick random again from the system menu)

    (The above picks all the customers, then refines the search to only customers that are seated and then picks a random one of those to call for the order).

    The add the action to the conditions:

    Customer spawn object (Order bubble) at image point over the head.

    ok GenkiGenga, will do it first then I'll post again if it works or not and thank you for your advice

  • Does anyone can help me to make random object to appear/show up automatically ?

    so here we go, the game is about restaurant.

    this is how it works:

    people coming in automatically as layout started, then when people stops, the order pop up automatically above the head and the order that pop up is random.

    the bold line is the problem because I already tried many ways to make it works but nothing happened.

    I have also been tried to search it first through forum to find if there is any topic that could solve my problem but I found none.

    I don't post any example capx because that's the only problem that i can't solved yet, so I guess no use to post one.

    Please some advice from anyone in the forum

  • Thank you guys..

    First, I already figured out how to make my object limited to screen only and I just simply add 'Bound To Layout' behavior and it's all done, silly me.

    I am sorry that I haven't provide any capx example due to it's already solved.

    and the next problem is solved either by korbaach example capx. Thanks a lot

    ___________________________________________________________

    So, I guess this topic should be closed by now due to it's all solved.

    Thank You for any respondents

  • Before I start this topic, I'd like to tell that I've tried to post this topic before but suddenly it was gone and it didn't appear anymore in the forum, so what is happening, I don't know at all.

    First of all, I'd like to give a direction of what I've been working on and how far I am.

    I want to make a game which use drag and drop in the most part of the game, picking certain object, dragging the object, and releasing the object in the certain destination point/spot, too. So, I start from tutorial of drag and drop but it didn't work at all, then I tried to looking for another example and I found it. I tried to open and run it in run layout and this example worked. So, i tried to applied this into mine after deleting all previous events in my event sheet and it worked. HAPPY!

    Next problem is:

    1. how to make it stayed in the certain destination point after releasing it

    2. and if the object got released before reach the destination, it will return to its previous position

    3. also I want to make the object keep staying inside the screen and don't go beyond screen

    Is there any suggestion??

    Due to I didn't find any relevant topic in the forum when I searched it.

    If there's anything unclear in my post, please post it below and I will try to make it understandable.

Darknessed's avatar

Darknessed

Member since 30 Mar, 2017

None one is following Darknessed yet!

Trophy Case

  • 7-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

9/44
How to earn trophies