Nimtrix's Forum Posts

  • Not that relevant, but I believe this Google logo was made like you mentioned above.

    http://www.google.com/logos/2011/graham.html

  • You just have to get the latest beta version.

    http://www.scirra.com/construct2/releases/r92

  • No problem, welcome to Scirra and C2. <img src="smileys/smiley20.gif" border="0" align="middle" />

    You might not need the set angle event if you spawn the projectile from "Player: Spawn another object" instead of "System: Create object".

    If you do though, how about setting the angle to the players angle when the projectile is spawned, like this:

    On S pressed:
    -> Player: Spawn Projectile on layer X
    -> Projectile: Set angle to Player.Angle
    
  • Add an event that tells your sword and player object to mirror when the sprite is mirrored and it should work. The pin positions should mirror with the invisible object, and the sword should be in the right position.

    I'll need more info if you want help with the projectiles, what are the actions and conditions of that event?

  • I only get this problem when using the "Bound to Layout" behaviour. What if you put a solid wall just outside the layout, so that the player collides with that instead of being affected by "Bound to Layout"?

  • No behaviours? Hmm, yeah it would probably help with a screenshot or the .capx.

  • What kind of behaviour do you have on the attached objects?

  • You can also use lerp for smoother scrolling:

    System: Scrollto (lerp(ScrollX, Player.X, dt), lerp(ScrollY, Player.Y, dt))
  • What you need to do is keep track of whether or not the level is completed. A simple solution would be to have one global variable for every level that is 0 if the level is not completed, and 1 if it is.

    Then you should only add to your "levels available" variable if that levels "completed" variable is 0.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How about using the find expression?

    find(src, text)
    Find the first index within src that text occurs, else returns -1.
    
  • Use the condition "System -> Pick nth instance", and the expression TextObject.Text to get the text from the instance.

    Edit: Quick .capx

  • carminielloz:

    Select the animation in the image editor, then to the left you should see "Loop" in the properties, set it to "Yes".

  • Regarding Lerp, I have absolutely no idea how to use this even after reading the manual. Please could you give me a small idea of how it would work in a game situation?.

    The FAQ has many examples that include lerp, and at least two good explanations of how it works.

  • Ah sorry, of course. You need to type the name of the animation in the "Set animation" condition. So if you called it "Punch" you'll need to type that, with double quotes.

  • There should be a small window called "Animations" where there's one animation called "Default". Right-click inside this box to create new animtaions.