Nimtrix's Forum Posts

  • I'm sure you understand I don't have time to make your game for you.

    If you have any questions about my example, feel free to ask, but you will have to add it to your game yourself.

    If you don't understand how it works, you should follow tutorials, look at examples or read manual entries.

  • Here's a quick .capx for you, hope it helps:

    VariableElements.capx (r95)

    I used a global text instead of a number to make it easier to illustrate what's happening.

  • All you need for that is a variable to keep track of which element your character is using.

    E.g if the variable is 0, the attack is fire. If it's 1, the attack is water. Then you just need a keypress event or some other way to switch between them.

  • Hello,

    I visited the demo page for C2 on my old computer with a 4:3 monitor and noticed something was wrong, I think the screenshots describe it best:

    Screenshot 1

    Screenshot 1

  • I also got the r96 e-mail, so it's fixed for me at least.

  • First of all, you need to add the "Mouse" object to your project. Then use the "Mouse: On object clicked" condition and select the object you want to click when prompted.

  • Make a "Text" object. Then in the event sheet it's just:

    +Every Tick:
    ->Text Object: Set text to "Deaths: " & VariableName

    The process is described on page 6-7 of the Beginner's guide to Construct 2 tutorial.

  • Instead of adding more actions, you can just use a "System: Repeat" condition.

  • Hello, you can either add the "ScrollTo" behaviour to your character object, or use the "System: Scroll to position" action in the event sheet.

    For smooth scrolling, you can use:

    +System: Every tick
    ->System: Scroll to lerp(ScrollX, Player.X, dt), lerp(ScrollY, Player.Y, dt)
  • Here's an example for you, hope it helps:

    TimeBar.capx (r95)

    PS: Read the tutorial about delta-time and framerate independence if you wonder how the 'dt' expression works.

  • Looks good to me. Maybe he checked it before your update fully uploaded?

    Yea, that's probably the case.

    Feel free to point out mistakes should there be any. At least we've covered the problem in some detail. <img src="smileys/smiley20.gif" border="0" align="middle" />

  • :

    What do you mean nope? =)

    Haha, they're moving down fine aren't they?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ramones:

    Oh, yeah I just realized, fixing it now =)

    Alright, should be fixed now, had a feeling I did something, that's why I kept going on about breaking things. xD Thanks ramones!

  • Yeah, that's what I did in the edited .capx, removed those conditions. Just wanted to make sure I hadn't broken anything in the process.

  • If you destroy your player object, there is no object to position. So you'll have to use "System: Create Object" first.