lizzybarrett's Forum Posts

  • 6 posts
  • Thank you both for your answers, worked like a charm!

  • I'm playing around, trying to make a clone of Fishy (http://fishy-flash-game.com/)

    I'm sure I am looking at this the wrong way. I have a couple of issues going on here.

    First of all I find that i have trouble setting the size of my sprites. I want them to maintain the same width/height ratio and I would preferably do that in pixels. Though this is not my biggest problem.

    The real problem here is that I somehow cannot compare the size of my enemy instance to the current size of the player. Any help would be greatly appreciated!

    In an ideal world, my code would look something like this:

    System every x seconds
    

    Instance var Enemysize = random(4,128)

    Enemy set size [width = EnemySize, height = EnemySize]

    Global number PlayerSize = 16

    Player on collission with Enemy

    if PlayerSize >= Enemysize

    destroy enemy

    else

    destroy player[/code:1o1rv42s]

    here is my capx

    https://www.dropbox.com/s/gxhjqt9vcws3r ... .capx?dl=0

  • Hi!

    I had a look around but I had trouble finding a post that discussed this. In my game I want to have some kind of simulated zoom function. It's a platformgame and when a player hits a certain key (let's say X), I want to freeze everything that is happening in the game for about 0.5 seconds, fade/animate to the zoomed state and then let the gameplay continue. Does anybody have any suggestions?

    I'm hoping for something that would look like this:

    When X pressed

    *freeze*

    System / wait for 0.5 seconds

    System / set layout scale 4

    *fade*

    System / wait for 0.5 seconds

    *unfreeze*

  • Thanks for the help! It worked!

    That saved me hours of breaking up the game

  • Try Construct 3

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

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

    I'm fairly new to construct. I have a question though. My character used to flip, as it is told in the event sheet. For some reason it doesn't do that any more. Does anyone have any ideas?

    Capx:

    https://drive.google.com/file/d/0BzhuWzcfQAyHb1ZaZnFZM2ZIMGM/view?usp=sharing

  • Hi! I've inserted the plugin files into the correct directory, and I can get the plugin working in the sample .capx, but I cannot insert it into any of my projects. Am I doing something wrong?

  • 6 posts