R0J0hound's Recent Forum Activity

  • The curve has to do with how you're using lerp. Since you have the in and out locations you can change the lerp to basically lerp(in.x, out.x, amount) and just add to/subtract from the amount value to a from 0 and 1. The min/max is basically like clamp but in only one direction.

    global number zoom=0

    global number amount=0

    on any key pressed

    --- set zoom to 1-zoom

    zoom=0

    --- set amount to max(amount-0.5*dt, 0)

    zoom=1

    --- set amount to min(amount+0.5*dt, 1)

    every tick

    --- scroll to (lerp(in.X,out.x,amount), lerp(in.y,out.y,amount))

    --- set layout scale to lerp(1, 0.3, amount)

  • Yeah you could probably use anything global to do this: variables, objects or layers.

  • You can only access objects on the running layout. Objects on other layouts don't exist so you can't access them.

    Maybe you can make the objects global and just hide them most of the time. Or just storing the health in something global.

  • You can set the layout angle with events.

  • There's a sticky post in the completed addons section of the forum that tells how to install them, that's probably useful to look at.

    Basically:

    If the plugin/ behavior has a .c2addon you can drag and drop it into the editor itself.

    Otherwise you need to go to the construct 2 install folder, find the folders of plugins or behaviors and copy the plugin/behavior in depending on what it is.

    The guide explains it better, and maybe you can compare what you've tried to what it says and see what was wrong to make it not work.

  • Uninstall Winamp? I mean if it indeed is causing such an issue to affect other software.

    In general, software won't cause errors in other software. if winamp is using a high amount of cpu then the whole system would have less cpu to use, so c2 would be slower.

    If software does cause issues in other software then it's either abusing system settings or it's virus ridden.

    That's just my thoughts. I don't use Winamp, but since it's to play music, it should not affect other software at all.

  • I don't think newline ever worked with buttons. You can make the text into multiple lines by changing the size of the button though, so maybe that's what you had before.

    The reason you can't put text objects on top of the button is because it's a form control that's not drawn to the canvas. Instead it's above the canvas.

    Technical stuff aside, if you want more control you could make the buttons with sprites instead.

  • I guess you could set the elasticity of both objects to 1.0.

  • What about the answer to your old question?

    If not then the search gives a few other ways:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can do it with the tilemap expressions. First you use the expressions to convert the touch.x and y to the tile column and row. Next you use another one of the expressions to to convert the row and column to the xy of a tile.

  • Did you include the while condition?

    If you did and it still leaves it behind how fast is Sprite going?

  • Here's an improvement:

    while

    sprite: is overlapping sprite2

    --- sprite2: move 1 pixels at angle Sprite.8Direction.MovingAngle

    You can still run into the issue of sprite passing through sprite2 if it's speed is so high that one frame sprite is on one side of sprite2 and the rest it's on the other without colliding. But this is usually not an issue and the solution is to check the inbetween positions for collisions.