MarkThomas's Recent Forum Activity

  • I've managed to do it, I'll paste below what I've done in case someone else needs help.

    So many times I've seen people ask questions and then at the bottom of the page they write "Never mind I've done it" but they don't tell us what they done

  • Hi

    Thank you for your reply.

    I've just tried what you said, I not 100% sure if I did it right, here's what I done:

    1st I moved the 'On any touch end" out of the sub event making it not a sub event but it is still in the group, that didn't work.

    2nd I highlighted the 'On any touch end" and pressed CTRL + x which deleted only the wording, the events stayed there, I highlighted the 'group' (where the group name is) but it wouldn't allow me to press CTRL + v, so I highlighted just under the group (so the whole of the group lit up except the group name) I then CTRL + v, that pasted 'On any touch end" right about the touch green button part.

    This kinda worked and stopped me from firing the bomb while the first one was still active in the game.

    But it stopped the power bar going up which didn't allow the bomb to go at the speed that it would have for holding down the button for a time.

    Sorry if I've misunderstood what you've wrote.

    Thanks

  • Hi,

    I've got a green button that charges a power bar and when released a bomb is fired, the longer you hold the button the more power the bomb gets and goes faster.

    But if the player presses the button before the bomb is destroyed that bomb hangs in the air at the place it was when the button was pressed again and the same bomb is shot out again.

    Is there a way to disable the power button once it's been released until the first bomb is destroyed?

    So I can then shoot the 2nd bomb (3 bombs in total)

    I've tried:

    disable event and wait x seconds and enable

    Adding a variable and when = 0 wait (also tried disable event)

    They didn't work.

    Here's my code, any help would be great. Thank you

  • I agree, different layout for each 'part' of the land. Trying to do a huge map with just one layout will cause you to spend ages looking for things.

    The only problem I see is that the other player would also need to start that next layout at the same time as you start it, meaning you might need to auto end their game and transport them to the next level without them completing that layout.

    Good luck.

  • Try Construct 3

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

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

    I've done it, I needed to add disable and enable bullet to stop it from going until I've pressed and released the button.

    Here is the code in case someone else one day needs it.

    Thanks

  • Hi,

    I hope someone can help, I have a power button, when I hold it down the power bar moves up to 100 (like on a golf game, the longer you hold the button down the more power you see the bar go up)

    But I'm trying to fire a bullet only when the power button is released (using touch), matching the power at the point the button was released.

    I hope this makes sense.

    Thank you for your time.

  • Sorry, I was actually looking for a way to do this myself, and when you type in on google worms construct 2, this is at the top.

    I know the post was old, but if I found it while looking, then others would do the same, suggesting something on here seemed logical because I would have found it (as I did) and would have been happy with any suggestions.

    It was only reading the above posts that I came up with the idea I mentioned, which I'm now trying to do myself.

    Sorry if it's against the rules to add something to a post, but that's why I thought old posts are still around to help those that find them

    Sorry

  • You're right! wow, didn't know it was that simple! Thank you

  • You could create sprites as boulders, then have about 100 of them on top of each other to make the landscape, then when missile hits one or more of the boulders it destroys that.

    You could add different styles of rocks or boulders and then random their position, so that each time the game starts you have a new different landscape.

    Add wait .05 then add your players, maybe dropping them from top of screen, so they would land on the rocks no matter what random pattern it is.

  • Hi,

    Not sure if this is possible, but I'd like to swap sprites with different ones and keep all the events assigned to that sprite.

    Eg: I started to create a game using simple coloured sprites to see if the game works, it does, but now I need to swap the simple sprites for the animated ones I've now created for the game.

    I think that when you delete a sprite from the layout you also need to delete it from the project otherwise it keeps that and loads it when you play, if the swapping can be done will it swap or delete the old sprite from the project and layout.

    Any help would be great.

    Thanks

  • Ah, thanks, didn't think of it like that.

    Will give it a go, thanks for taking the time.

  • Hi,

    Thank you.

    It's 2 different sprites as playable players.

    Player 1 wants to hit player 2 and if that happens I wanted player 2 to die.

    But I also want: if player 2 turn and he bashes player 1, then only player 1 dies. But because each of them have "on collision with" they both die.

    Like this: green player 1, red player 2

    The work around I've done is to add a blank sprite and place it over the green player, then I pinned the blank sprite over the green player.

    So now when the blank sprite is hit (at the exact location of the green sprite) the green sprite is destroyed but not the red one, and now the green can hit the red without dying like this:

    Is this the only way to do this? or have I missed something?

    Thanks

MarkThomas's avatar

MarkThomas

Member since 20 Nov, 2016

None one is following MarkThomas yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies