mikehive's Recent Forum Activity

  • Our pleasure

  • How about:

    Make a holding variable to store player attack damage for the round, let's call it roundAttack.

    On click "test attack": set roundAttack to round(random(aCharH.At(4),aCharH.At(5))), set array value to itself minus roundAttack, call function (paramater is: "You attack mob for " & roundAttack & " damage!" & newline & "Mob health is now " & tempMob.At(0) )

    Function call works the same as it did before.

    That's off the top of my head so might not work :p

  • You could try turning on pixel rounding? I've found that sometimes things display all blurry when at sub-pixel positions.

  • Don't worry about it! We've all been there.

  • Yeah, maybe look into that. You shouldn't really need to use Every Tick for all that much stuff and it will tank your performance. Maybe read the first part of this article and see if you're able to cut any of it down: https://www.scirra.com/blog/141/common- ... nd-gotchas Also do all of the events really truly need to run every tick? For example updating a text object can just be made to happen when the text actually changes.

  • Make a new number variable, we'll call it randomText. Then on gameover we set the value of it to floor(random(10)) - that will allow us to put in 10 random phrases, just change that number if you want more or less.

    Then:

    if randomText = 0: set text to "great job"

    if randomText = 1: set text to "you are awesome"

    if randomText = 2: set text to "no doubt you are the best"

    etc.

    Just bear in mind that with floor(random(10)), your ten possibilities are stored in 0-9, value 10 will never come up, because the floor() function is rounding numbers for you

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The size of your array's Y axis was set to 1.

  • As a workaround, why not put all the global variables in their own separate event sheet and keep it open in a tab up top? Then it's just one click and they're right there for you.

  • Why not have it so that the game randomly generates the sequences for you? That gives you an infinite amount of content for a small amount of work and doesn't involve you personally designing hundreds of number sequences

    You don't need to replicate all the events etc! You just need to come up with one engine so that the game knows how to do the same stuff over and over to the different sequences

  • I don't see why not! You can make just about anything with C2

  • Mm, I can't see anything wrong with that. Are you able to post a capx?

  • How about trying Rex's great Pause plugin?

    I've been using it for my game and have never had an issue with it

mikehive's avatar

mikehive

Member since 13 Jul, 2015

Twitter
mikehive has 2 followers

Connect with mikehive

Trophy Case

  • 9-Year Club
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

11/44
How to earn trophies