caiorosisca's Forum Posts

  • when you click to attack add a condition to your event, to check if it's not already running the attack animation

    X(inverted) Animation is playing "attacking"

    and add another event:

    On animation "attack" finished > change to some other animation

  • Guizmus ,

    Thanks for the pm, it worked and my problem is now solved. I can't send PMs anymore because I'm under 500rep.

    So, if anyone is interested Guizmus gave me the ideia use use saves in my level, so everytime I start it, or move an object to a valid position I save the state and when I hit the restart button I just load the game from there. Thanks for the workaround.

    Regards the physics I still don't know what was causnig the problem.

  • Make sure the collision box is the same for all frames in your animation.

    A good practice is to use an invisible object for your player and pin your actual animated character to it.

  • bump

  • Right click..add local variable..

    or just press V when function is selected

  • I would do like this, not sure if the best way tho.

    On Key1 pressed

    ' -----> Key2 is down > so both keys are pressed

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You could try an equation to calculate the number of stars also, something like this for example

    stars = floor(score/500)

    score < 500 = 0 star

    500>score<1000 = 1star

    1000>score<1500 = 2stars

    1500> score = 3 stars

  • Check for the auto-runner template, you can simulate the pressing right action if using the Platform behaviour.

    In C2, go to new> Auto-runner template

  • After some testing, if you lift the balll too high, and overlapping the wall, it fails ...

    I gave the ball the behaviour bound by layout now too, and it stopped that ...

    So far xD

    new capx

    Good to know that I can use it, so I can get rid of the walls on every level. I can probably add this behaviour to the group with all the objects, so no walls are required, and it doesn't fail to place objects close to the walls, it actually gets as far as it can get.

    Thanks again

    Problems with physics still remain tho

    Not disabling collisions when touching restart solve the problem of the ball going through other objects, but I can't leave it like that because when I drag it, it just pushes other objects away.

  • Thanks lennaert

    I'm new to C2 and really don't know the easiest/best way to do stuff yet. Good to know that using pick all is better than using the for loop.

    Unfortunately I still have problems with the physics.

  • Here's a link to a reduced project, with only one level where the problem still persist.

    https://dl.dropboxusercontent.com/u/392 ... mDemo.capx

  • "Set cursor from sprite" let's you choose a sprite.

    "Set cursor style" if set to None, mouse will be hidden. You can create a sprite of your own and update it's position to mouse.X and mouse.Y every tick

  • LittleStain Thanks, that's probably the reason why I got so many views an no response then.

    I updated the download link to a version without the plugin, hope to get some help now.

    This is the link:

    https://dl.dropboxusercontent.com/u/392 ... oHelp.capx

  • Can't anyone help me with this?

  • bump. I still didn't solve my problem.

    Can someone help?