zikdot's Forum Posts

  • Yeah that did the job! thank you

  • Okay so when my game finishes it displays the word "Score" and underneath that is the score (number).

    If they get a single digit figure then the score is centered well with the text but if they get a 2 digit score that it is too far to the righ

    For example: (S=Score)

    S

    1

    S

    12

    How can i make it so that it is always centered?

  • korbaach Great it works perfectly!!!!!!

  • korbaach ahhhh I had it placed in the plugin folder. yeah it works much better this way with the ability to alter the VarSpeed. However if you click on the 'OK' button before the sprite has made the full 90 degree rotation, then the sprite becomes off balanced and doesnt stay within the 90 degree (vertical, horizontal) position....it ends up diagonal?

  • I have created a sprite that i want to rotate. Now i have asked this question in a previous post and got some great help from the replies. However it wasn't exactly what i was looking for. The rotation of the sprite should show the different frames so to speak (see picture attached) between each 90 degree and.

    The idea is that the sprite is a square. Each side of the square works differently during the game. And when you click a button the square will rotate 90 degrees.

    Link to the previous post mentioning this:

  • The file seemed to be corrupt when i downloading the plugin.

  • LittleStain Yeah i created that variable but still doesnt work :/ i think there is maybe a stage before that?

  • Try Construct 3

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

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

  • Yeah that works perfectly. How do i increase the rotation speed though? korbaach

  • LittleStain any ideas? by the way thanks so much. You've been so hopeful with my problems

  • okay brilliant

  • for...... on touched object > sprite set boolean rotating to true.......It says i must add an instant variable first? i have made the instant variable that you said?

    and then for......-system compare two values - sprite.angle < sprite.OriginalAngle+90.......It says OriginalAngle is not an expression

  • But when i need to write animation1 > on collision with > xyz > destroy

    The problem is that each animation gets destroyed by a different object and because they are animations it only lets me select the 1 sprite that is comprised of the animations as opposed to the animations themselves.

  • Now i have a sprite and it gets rotated 90 degrees every time a specific button is pressed. Now it works fine and the coding is simply

    on touched object > rotate sprite 90 degrees clockwise

    What i dont like is that it rotates without any kind of animation (can't think of the word i'm trying to use).

    Basically when it rotates I want to be able to see the "frames" so to speak between each rotation to make it look more realistic.

    Hope i'm making sense

  • Thanks works great. Not sure why i didn't consider that haha