Doc Ai's Forum Posts

  • if I understand you correctly:

    you want to go through each map (1,4,7,10,and 12 (and there might be , for example, 5 lots of map01)) once (and only once) when the score gets above 5 ?

    if so then (I think) all you need is on your event

    System : Score>5

    a second condition

    system : Trigger once

    No.I have just one map01.

    Look at the capx.There are two maps in total(That is randomely spawned)

    Once the last map reaches 0.5*self.width, another map is randomly chosen and spawned next to it.

    If the score is above 5,I want the obstacles to be always present whenever the map is spawned.

    (Hope I made it clear enough)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Then use system wait.

  • They are different.

    On fade out finished-->destroy object destroys it after FADE OUT.

    System wait is not an event.It can be used in an event and after wait,you can destroy the object.

    So system wait is used for events while fadeout destroy is used for fadeout behaviour.

  • Firstly,Bumping a thread before 24 hours in violation of the rules.

    What is the name of the plugin?

  • Thanks bit confusing to do but thanks for the help

    Add a new event

    Go to System object

    Compare two variables

    Enemies(The name of the enemy sprites).count =0

    • Do whatever you want
  • How?not overlapping is same as not colliding.On collision is a trigger event.It will trigger once whenever an object collides with it.It makes no sense to invert it.

  • RamPackWobble

    Found the bug.First see this capx.Don't bother about the code and all.

    I have just included some backgrounds etc and some more maps.(and some sprites named obstacles) in my actual game

    So this is the area where the bug is.

    Whenever a new obstacle is added by this code,The object count increases.I think the object is spawned every tick.How do I make it right?Trigger once?If I put that,The obstacle would appear just once and never appear again,(The maps are randomly created,see the capx)So If the trigger once is added,It will trigger just once and never again.I want the sprite obstacle to be present in all the instances maps it's assigned to.

  • Welcome

  • Doc Ai, are you sure? When I went to the account setup it did ask for a password, but I thought that was for the new account....

    Hmm,I didn't see the Signup and sign in part.I directly went to submit link.

    Sorry reaganm...

  • When the button is clicked,Set a global variable,say CingAnimation to 1.

    Then on the start of the layout with Cinghialotto,

    Seb event ,Global variable CingAnimation=1-----> set chinghialotto animation to what you want

  • Well, I've looked around and tested some more, guess I could use the "on touched object" and "on clicked object" events then for the object I select whichever sprite/text I desire. Those should work just like the "on clicked" event buttons have, right?

    Yes,On clicked is for mouse and On touched object is for touch.They work the same way

  • Почему вы размещения в России, когда вы уже знаете, по-английски?

  • Ok.Wait,I will go home and PM you the capx.

  • Don't touch the text object.Touch the sprite button .

  • and you should always listen to what your doctor has to say :p