kiko2015's Forum Posts

  • I know this is a tough one. It always takes hours for a brave heart to reply. But I still cannot understand why something so used and so basic does not have a simple method to solve by the Construct2 team.

    SOUND >>> PLAY MUSIC THROUGHTOUT THE LAYOUTS.

    Something so trivial.

  • Hi. How do I keep a song playing regardless of whether or not I restart LAYOUT?

    Kind of background music.

    Thanks

    ADDITIONALLY: Why not add the option in SOUND such as >>>> PLAY AS BACKGROUND MUSIC so that we don't have to go through all the hastle?!

  • Hi. How do I keep a song playing regardless of whether or not I restart LAYOUT?

    Kind of background music.

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Sorry guys... I had a SYSTEM CREATE OBJECT AT XXX,YYY AND THAT WAS THE PROBLEM

    Fell ridiculous.

    I am sorry.

  • Like tunepunk says, the default C2 project starts with 500,500 margins which -- in my experience -- you always want to set to 0,0 to make the sprites appear in the proper places.

    Thank you. I will try that.

  • Are You using different layers with parallax setting?

    Are you checking the dotted line in layout editor. That's the window size. What you would see on screen, are you setting that in code? Or do you use some special letterboxing setting?

    Thank you. I will try that.

  • I am completely intrigued by the fact that I try to position a sprite on LAYOUT, place it exactly where I want and when I preview it on browser it will simply not be where I had placed on Construct 2 LAYOUT VIEW.

    Not only that, like a magnet even if I try to move it pixel by pixel it will either be way above or below I wanted it.

    I am previewing on Chrome and LETTERBOX SCALE. Is this the best normal scaling method before creating project on XDK to generate APK???????????

    help!!!

  • I don't understand how the above answers could not help you? That is exactly how you do it.

    on bullet collision with player --> set animation to --> choose("animation1","animation2","animation3")

    Remember to add "" around every animation name like the example above.

    So in the text field on the play animation action you write exactly this:

    choose("animation1","animation2","animation3")[/code:1aobmi2u]
    
    Except change the name of the animations to the ones you want to use
    

    Thank you. It DOES work, Myy bad!!!! Thank you so much!!!

  • kiko2015 What I would do is have a variable for the random animation then in the event sheet have each animation set to a number on a viable then you just change the variable to a random number.

    Thank you. Unfortunately, none of the answers helped me. But I ould like to know if we have exchanged emails before. I cant find your email. I would like to help ypu.

  • > I created a SPRITE. In it I have different ANIMATIONS: Animation1, Animation2, - different frames - etc.

    >

    > I would like to:

    >

    > Bullet OnCollision with SPRITE > Play Animations (contained in ITEM) Randomly.

    >

    > I don't know if that's clear but the fact of the matter is: I already have this going like SET ANIMATION TO ("Animation1, Animation2, Animation3")

    >

    > I tried quoting animations individually and all but it still aint working.

    >

    > HELP

    >

    Use the choose() function.

    choose("Animation1", "Animation2", "Animation3")

    Is this the simpliest way?

  • I created a SPRITE. In it I have different ANIMATIONS: Animation1, Animation2, - different frames - etc.

    I would like to:

    Bullet OnCollision with SPRITE > Play Animations (contained in ITEM) Randomly.

    I don't know if that's clear but the fact of the matter is: I already have this going like SET ANIMATION TO ("Animation1, Animation2, Animation3")

    I tried quoting animations individually and all but it still aint working.

    HELP

  • you can still use lists to achieve that.

    https://www.dropbox.com/s/rg1bubyekalew ... .capx?dl=0

    thank you!!!!!!!!!!! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • kiko2015

    Here is one way of doing it, I hope it helps:

    https://www.dropbox.com/s/o7cb90xni92v5cw/Link%20Words.capx?dl=0

    Update: Ups!! blackhornet bet me, nice one

    Updated Capx version, much cleaner According to the blackhornet Capx, I learned something new today about combining the names and calling them combining with the expression (&) that was so cool blackhornet Thank you

    https://www.dropbox.com/s/fa6gchagifi1px0/Link%20Words2.capx?dl=0

    Tarek2, Thank you. Hope I can help you guys, too, one day. Great work both of you. It really helped. Thank you!!!!!!!

  • http://www.blackhornettechnologies.com/Construct2Stuff/ReadingIsEasy_BHT.capx

    Use the animation names to your advantage.

    Thank you so much, BlackHornet. Great!!!!!!!!!!

  • I am trying to make this application where kids will click on words, basically ADJECTIVES AND NOUNS.

    Depending on combination, it will display the corresponding graphic.

    Thank you and see CAPX, pleaseeee!!!!

    http://www.geocities.ws/alvoradaespirit ... sEasy.capx