MarkThomas's Recent Forum Activity

  • Hi,

    I have two players, if player 1 hits (on collision) player 2 and that destroys player 2.

    But if I want player 2 to hit player 1, then both get destroyed.

    I've come up with a way to only get one destroyed (the one I want hit) by using a sprite pinned to player 2, if that sprite gets hit then destroy player 2.

    Is there another way to make player 1 hit player 2 and player 2 hit player one, only destroying the one being hit?

    Thanks for any advice.

  • Wow, excellent, I did google but wasn't sure if I was even calling it the right name. mini map.

    Thank you so much.

  • Hi,

    I'm not sure if this can be done, I've looked and can't find an answer.

    I'm creating a turn based game with the size 2000,2000, at some point in the game there is a item that is placed at random somewhere in my game. Because it's turn based I don't want the player to waste all his turns trying to find this object.

    Is there a way to create a button "View Map" and when clicked the player can see the map(game) in full including any sprites?

    Then the player can head towards that object to finish the game.

    Any help would be great.

    Thanks

  • Hi, Sorry to drag this topic up. (it's been a few years since these posts so I hope there's an update to fix it)

    I'm new to this, I have one layout with so many hidden things (that can still be clicked even though I don't want them to be) so I needed to make a new layout for end turn page showing the scores and a continue button.

    When I click continue the first layout resets.

    This is what Scirra says about it:

    "Go to layout

    Switch to another layout in the project. Note that global variables keep their current value - they are not reset. To reset them use the system action Reset global variables."

    Is there any way I can keep the new layout and just go back to the first layout without it resetting each time.

    Many thanks

    EDIT: I found this: https://www.scirra.com/manual/161/persist

    It explains that I need to add persist to each item on the first layout.

  • Hi,

    Thank you, I got it working in the end, I needed to put every tick.

    I'll paste it below in case someone else finds this post one day. Thank you once again for your help.

  • Thank you once again, believe it or not I really do try to learn things myself without having to ask people.

    I think I've done what you suggested and only the first player moves, when I click change player, the first still moves.

    Thank you so much.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thank you so much for your reply, I understand what you say and it makes sense.

    But

    I've added an instance variable on the changer player button, I set number to 1

    The picture below works and stop both of them moving (I've not added anything to stop them both moving at the start)

    but when I click change player again, nothing happens.

    I know I've done something wrong, sorry to be a pain.

  • Hi,

    Recently downloaded the demo of constructor and love it, I've learned a lot but so far I can't switch from on player to another.

    I've looked at all the youtube videos and tutorials but they all add in extra things which I don't need.

    Could any one tell me how to have two sprites on screen (player 1 and player 2) and when I click another sprite (change player) the next player is then active. When I press change player again it goes back to player 1.

    Any help would be really great.

    Mark

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