Kyatric's Recent Forum Activity

  • Explanation of lerp - LINK from the how do I FAQ

    For the size you can lerp it too, or check in the FAQ there's an example listed in the "sprite" section.

  • I had a situation once where i needed to cut and past all events from a sheet to another . The original sheet had several global variables. When i tried to cut and paste them all in the new sheet(including all global vars) C2 wouldn't allow me saying something about the globals. It should work shouldn't it ? It appears to be a bug.

    kiyoshi: I tested the cut/paste of global vars in the same project from an event sheet to another (and only global vars) in r76, recently in my current entry for the comp.

    All went smoothly, so I guess either it was buggy or not fully implemented that one time you tried.

    I believe it's now working.

  • Make sure your graphic card drivers are up to date.

    Most of the time, once updated, graphics will display correctly in the IDE.

  • Wronghands: glad to hear.

    Let me know if you find anything that doesn't work as expected or if you have any question/needs more infos.

  • In fact once you cut the global variable, the related events indeed disppear, but once you paste it, they all are back <img src="smileys/smiley1.gif" border="0" align="middle" />

    I was wondering about the same issue until I tested it and was pleasantaly surprised by that behavior.

  • yeah, but it can be good for better overview, i think its done with xml editing of the project

    You don't need to import global variables to other event sheets.

    vtrix: If you make a new event sheet, create/cut-paste all your global variables in the sheet, you absolutely DON'T need to include it.

    Just having this event sheet in the project is enough.

  • I answered here.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You have several examples of particles listed in the how do I FAQ

    articles

        Particles effect - LINK

        Another particles effect (snow/flying leaves) - LINK

        Platformer: particles for snow, rain and fire effect - LINK

        Fog effect with particles - LINK

  • For reference:

    Explanation of lerp - LINK

  • Ashley: r76 here.

    Nevertheless even if I thought the behavior in AnD4D was an optical illusion (the sprite is moved/shrinked at the same time => gives the impression it does not move), check with this capx.

    Apparently the shrinking "blocks" the red sprite movement (in that case, straight falling, black sprite hasn't any behavior).

    I've modified the values to make it obvious and I would have expected the red sprite to keep on falling through the black sprite, shrinking, not getting "blocked" on it.

    Or I am missing something here.

  • spexel: this is not relevant to this topic.

    But anyway:

    dd a condition to your event 10

    System: compare two values

    Compare Shotgun.count = 0

    For this to work you also need to add a shotgun.destroy in start of layout (event 9)

    Also in your event 10 you use a random function.

    This means that every tick, this value gets changed. You probably should rather use a global variable, and assign it in the action of event 10, not in the conditions of event 10

    (each time event 10 gets executed, you set the next random time a shotgun will spawn).

  • You can use expressions about wherevere you have a text field.

    So you can use expressions in the system condition "compare", in actions, etc...

    I guess what you could use would be system: compare two values, put distance(0, 0, Sprite.Physics.VectorX, Sprite.Physics.VectorY) in the first field, and a comparison value in the second field (> 0 for example, would mean that the action would happen anytime your object is moving, since its velocity is not 0).

Kyatric's avatar

Kyatric

Member since 18 Aug, 2010

Twitter
Kyatric has 583,405 followers

Connect with Kyatric

Trophy Case

  • 14-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • x15
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x27
    Coach One of your tutorials has over 1,000 readers
  • x10
    Educator One of your tutorials has over 10,000 readers
  • x2
    Teacher One of your tutorials has over 100,000 readers
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

23/44
How to earn trophies

Blogs