henriquesv's Forum Posts

  • One simple way that I have in mind is placing invisible objects and detect "mouse over" them.

    You could also compare mouse's X previous and current value to check if it is going left or right.

  • I will take a look at the example. Right now the eli0s.com seems to be offline.

    The opacity parameter helped me a lot already, but dealing with a full layer could be even better.

  • Shinkan,

    Opacity did the trick! There are so many things to learn and so many ways to do something with Constructor 2!

    It is awesome!

    Thanks!

  • Hi!

    I would like to change an Sprite Alpha channel while the game is being played. How can I do that?

    The main idea is to have a dark blue sprite on top of the background. This blue sprite would start with Alpha set to 0. As the time goes by, the Alpha would be increased to create the feeling of getting late in the night.

    Looked for some Image Effect but they don't seemd to be what I am looking for.

    Any ideas?

    Thanks!

  • Hello!

    Before changing between layouts, I always trigger the action "Stop" at Audio object with the proper tag. Then, when the new layout is being loaded I call a new "Play" action at Audio object for another music with different tag.

    I does work perfectly while using HTML5 preview using a web browser. The thing here is that after exporting and launching Ejecta project on iPads or iPhones, the music never stops and I end up with two music playing at the same time.

    Is there any limitations on Ejacta for this? Should I use another resource?

    Thanks!

  • Hello!

    This is Henrique from Brazil. I have just made a native game for iPad and it took about 3 months to be ready. This same game clone took me only 1 week using Construct 2! So... I have decided to keep going with Scirra!

    Nice to be here with you guys!

  • You're right Megatronx! Why make it easy if we can make it harder? lol .. keep it simple! =)

    Thank you guys!

  • Followed your example. But what if Sprite2 (the blue one) is also used to go back to the previous stage?

    Cause in your example "SoundOnOff" are not overlapping "Sprite2". You are using an external button to show/hide the menu.

    In my project I have 3 buttons and 2 menu sprites. If only I could disable objects or enable sprites to catch touches following Z order as priority.

  • Hi Blackhornet! Thanks and it really works. But... what if I have menu-itens while the menu is on?

    Tried that.. but if I touch, for instance, the Music button, the music event is triggered and the menu frame also changes.

  • Hence, the images are on top of each other, same layer.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello!

    I am trying to show and hide a menu while the game is running. The thing is that the images aren't changing everytime the player is touching the sprites. Seems like some spots on the image aren't sensitive to touch. Perhaps the PNG alpha? Once in a while it does work.

    I have attached an image of the eventsheet.

    Thanks!

  • Nice Dag! It is working!

    I have attached the example if anybody needs it in the future!

    caiorosisca, could you please give me an example of mouse joint? I didn't get the picutre...

    THANKS!!

  • Hi,

    I am attaching a Drag-and-drop project where I try to block the object to pass through immovable object.

    The walls have physics behavior and are immovable. The dragged object has the behaviors drag-and-drop and physics.

    I also tried to use the Solid behavior for the walls, but saw no effect.

    Any ideas?

    Someody suggested to use "drop" action when collision happens... but the game playability wouldn't be nice.

    Thank you!

  • Well done Manley! Listen.. is there anyway to use some kind of Tag to group some objects?

    Thanks to you too Judy! Great to know that I can count how many objects one is overlapping!

  • Hello!

    I need to count objects that are inside an area. For example: 2 objects of type A, 3 objects of type B and so on...

    Do I use collision? Overlapping? Something like PickedCount (this one I didn't really understand)?

    Any sample that you can show me?

    Thank you!