maxer006's Forum Posts

  • 7 posts
  • I' am so sorry, and I am totally beginner .....I am totally confused now and stuck...

    I will attach my file here, and if you can show me on my example, how do I need to do that...I have no similar tutorial which I can look on, so I have to ask for a little help on my example.

    About arrays....that is totally strange for me, and I don't even know what those guys on tutorials even talking about...for me totaly confusing

    this is my file: if you can look it and show me!!

    if I ask to much, I apologize

    [attachment=0:p63n03qq][/attachment:p63n03qq]

  • There is a way for you to do it much simpler. First of all, use the same sprite for all the white keys, and also just one sprite for all the black keys.

    That way, when you want to compare if the player has clicked on the correct key you can just check with the UID. Also, this example takes that animation frame0 is the original and frame1 is the image of it being played in the replay and frame2 is the image for when the player has clicked on the key.

    WhiteKeySprite frame = 1--->set varkey = WhiteKeySprite.UID

    Mouse on left clicked WhiteKeySprite-->whiteKeySprite set frame to 2

    subevent

    Pick WhiteKeySprite with UID = varkey

    subevent

    WhiteKeySprite frame =2--> do your actions since for the correct key pressed

    Else--> do your actions for wrong key pressed

    As for a sequences, you can do that with arrays. It will be perfect for your situation, so if you are not familiar with it, now is a great time to start learning about it.

    Rekjl,

    Thank you so much on your time and effort to help me out, that is how I made my first piano

    but I totally understand your point.

    I will give my best to apply your example on my project...and soon as I do that I will come back to show what I did and maybe to ask something more

    Thank you very much for your help

  • Do you have the full licence? Sorry it's off topic. I guess you don't or you could use a Family and more than halve those events.

    No, and don't worry about asking it is totally fine to ask, and I am sorry, I don't have full license! only this free version. First of all I wish to see am I able to work at all with this program and to learn it how to make some basic things, like this one with piano. What is the purpose of buying a license and to drop it after couple of weeks when you see that you are not able to overcome some basic problems, if I see that I learn good and easy, I 'll be more than happy to buy full version of this software. and I guess that is why scirra gave a free version of this software

  • I already have asked similar question, and I hope that someone can help again.

    I made piano pattern which player need to repeat it.. if a player succeed in that..I have implemented text which say Good Job,

    [attachment=0:sdqjf36b][/attachment:sdqjf36b]

    and here is a photo of my Event sheet

    [attachment=1:sdqjf36b][/attachment:sdqjf36b]

    but now I wish to make variable where player make mistake, but I don't wish to write every single combination in which he can mistake...can someone help me and tell me how to write variable which will instantly recognize wrong input and start game from beginning.

    And one more thing If I don't asking to much...I would like to implement variable where will player receive a new sequence of tunes when he remember and repeat the first sequence.

    I hope that I don't ask to much!!

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Jourdan,

    Thank you so much on this example you gave me.. it was perfect!!! I needed whole day to repeat every step you made and to "understand" it all, but now I was successful and I can implement that on my project very easily...

    Now I hope you can help me with one more thing...

    It is same thing on piano, but this time I would like to know how to make piano buttons to play for themselves, in another words I don't wish to know which piano button will be pushed first-- on your example you gave values 3, 5, 1 to be played.. but this time I would like to know- how to make program to choose on itself which button will be pushed first ..something like u try to make tombola,lotto or slots (unknown values)

    Again I hope that I don't asking to much and that you understand what I' am asking.

    Thank you again!

  • Thanks to both of you very much...both post are very helpful

    Nimos, I will try to learn all that, and thank you for giving me direction on what I need to pay my attention.

    Jourdan, thank you for your time and effort to send me actual file Now I can see how that file can look like...

  • Hello,

    I am new here and not familiar with construct 2 so any tutorial, link or advice would help alot....All I wish to make for a beginning is simple piano. Well I managed and I was successful to create keys(buttons) which I can push with my mouse But now I would like to programme piano to play some song on itself and after that person who play it to repeat that song. If player guess he go to next song but if he don't he must repeat melody.

    I apologize on my English and I hope I was clear enough what I wish to make, and hope You can give me some dirrection's or link which can be helpful.

    Thanks

  • 7 posts