Vincent31415's Forum Posts

  • 14 posts
  • Awesome, thanks! This is just what I needed.

  • Hello there!

    I have a TextInput object and I want to erase everything if it contains a semicolon. Is there a way to check if it contains a semicolon? ("cool guy :D" ":D" "::" "ascd:e" are all examples.)

    Thanks!

    -Vincent

    Tagged:

  • I have been trying to do this for a little while now. If I have two virtual joysticks, sometimes Construct will get the two fingers mixed up, resulting in the aiming joystick sometimes facing towards the wrong finger. I also tried using the drag and drop behavior to work around this, but it doesn't really work when the camera is moving because if my finger isn't moving and the camera is it will stop dragging.

    Thank you so much for your help!

    -Vincent

  • Awesome!

    It turned out nicely!

  • YEEEEEESSS! Glad it worked! Let us know when you post it!

  • Make a new variable called player_overall_score. Make another called CPU_overall_score.

    Make another variable called round.

    If playerScore = 7, add 1 to player_overall_score and add 1 to round.

    Do the same but with CPU score variables.

    If player_overall_score > CPU_overall_score and round > 3, run player win code. Do the same but opposite so that the CPU can win.

    Does that fix it?

  • No problem. I look forward to the finished game!

  • Thanks.

    So You want the score to go up to 10 and then it sets both scores to 0 and goes to the next round?

    if CPUpaddle score = 10 set round to 2 and set playerPaddle score and CPUpaddle score to 0.

    if playerPaddle score = 10 set round to 2 and set playerPaddle score and CPUpaddle score to 0.

    Does that help?

  • I think I see the problem; but its a little hard to explain with text. May I have the capx file to edit?

    Thanks

  • I read your original post again, and I think I understand.

    So I think you said that you made the scores reset once a player reaches a certain score and you want it to stop doing that. I think you need to delete the event making it do that. (If you haven't already)

    Let me know if that helps.

  • Sometimes a project requires plugins to run. I suggest either reinstalling them or transferring your project to another file. Let me know if that helps!

  • Hello! I think it would be helpful to post a screenshot of your event sheet so that we can see how you're coding it.

  • Thank you so much! That helped a lot! I had thousands and thousands of static objects lol

    The prototype now runs at 60 fps while recording in high quality!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So I'm making a platformer with large levels and that causes performance issues. I split one of them between two layouts that are connected with doors that the player walks through but I would like it to be one layout that loads as you progress. Any ideas?

    Thanks for your help!

    -Vincent

  • 14 posts