randomly's Forum Posts

  • Yep, you'll have to create a loop that is repeating as long as at least one object is overlapping.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I see, you need something special.

    Download Pinco 's Advanced Textbox plugin and use the event "On focus lost".

  • Well, I guess you won't need a .capx anymore.

    Just look at the 3rd page of the tutorial that zenox98 posted.

  • Uh, I'm looking forward to clothes and weapons, that will be awesome!

    Great work so far!

  • You would use the Timer behaviour for that.

    Here is the .capx.

    Pretty self-explanatory.

    The button represents one kill.

    When a doublekill is granted, the timer resets to 1.5 giving the opportunity to score another doublekill.

    This also opens up the possibility for triple-, quad-, penta-, and-so-on-kills.

    If you need any help with the other features you want, PM me or open up another thread.

    PS: you better post that license topic under C2 general.

  • You could give the plunger a "Drag & Drop" behaviour, set to "vertical". Also, give it a instance variable, "initialY" for example.

    When drag starts, set "initialY" to its current Y.

    When the dragging ends, apply an impulse to the pinball with the force of the dragged distance to the pinball (distance(plunger.x,plunger.y,plunger.x,plunger.initialY)).

    Under the same event, reset the plunger to its initialY and enable physics again.

    Sorry if not everything is clear, I don't have C2 available atm, but if you want, I can create a .capx for you later.

  • Tilemap.TileAt(Tilemap.PositionToTileX(Player.X),Tilemap.PositionToTileY(Player.Y))

    Gets the typenumber of the tile the player is currently on.

  • Use the event "TextBox: On text changed".

  • Usually, renaming it to a .capx and opening it then should work.

    Try to extract the .capx manually with a decompressing program like 7-Zip and open the included .capx.

  • Please provide a .capx of your whole project so we can understand the context of your code.

  • Try to add a condition "Trigger once while true" to the "health=120" condition.

  • Actually, the place you spawn the item at is the problem.

    Try to spawn the item at Platform.Y - 20,

  • Do the following:

    Enemy: Has Line of Sight to Player:

    • Enemy: Set angle to [angle(Enemy.X,Enemy.Y,Player.X,Player.Y)]
    • Enemy: Move forward X pixels

    (replace X by the amount of pixels you prefer. The higher, the faster the Enemy moves.)

  • Use the system action "Save game".

  • Honestly, I have no idea what exactly causes this.

    Must have something to do with the save state.

    Try to replace or remove that if possible, should fix it.

    Nonetheless, here is a temporary fix to make it work until you find a solution:

    Just replace the numbers by the X value you want.

    (Or use Window.Width)