Kyatric's Recent Forum Activity

  • There's not a single event to do that.

    A solution could be the system action "Wait" that would execute the following actions after a while.

    But you could also store events in an unactivated group, and activate it after a 2 seconds "Wait" action.

    The solution depends on what you're trying to make.

    Explain in further details what you're going for.

  • Post a capx and explain precisely what you're trying to achieve, what's expected with your code and what's in fact happening.

  • The first coordinate is the X actually (X0Y0, X0Y1, X0Y2, [...] X2Y0, X2Y1, etc...). In math, the X always represents the first coordinate (abscissa).

    If you're not satisfied with the way the "array: for each element" works, simply do your own loops with "System: For" loops.

    Have a loop for the Y and the one for the X. Make sure to use correctly the expression "loopindex" with the correct name for your loop.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Optimisation isn't a big deal.

    Or to be more precise, optimisation is probably not what you think.

    Check this manual entry as well as this one.

    They both present what elements/best practices really make a difference as far as optimisation goes.

    There's also this blog article from Ashley : optimisation: don't waste your time.

    That's it for optimisation.

    For your issue, indeed an invisible sprite could do the job.

    Perhaps explaining clearly what you're trying to do and posting the capx of your project for us to see the settings would help answer you in a definitive way.

    But if you've found a way that's working, just keep with it. As long as it does not mess with the rest of the project it's good enough.

    Also you can, instead of checking for an overlap, check for a distance between Sprite and Sprite2.

    Such example is listed in the how do I FAQ.

  • CodeMasterMike: He only wanted the "X" distance.

  • Example capx

    It is pretty much using how events work.

    Also the collision has nothing to see with the fact that the sprite is moving or not, it just checks at that moment if the sprites are in collision/overlapping each other.

    In this example, having as top event the "On "Space" pressed" trigger allows to make sure the sub events (collisions) are not checked each tick.

  • What about maths ?

    Object.X - Mouse.X

    (or the opposite, depends on what exactly you're wanting to do)

  • Apparently the trouble comes from the dll "atio6axx.dll" which is related to ATI drivers.

    So either there was a trouble on one of your graphic card update, either the drivers themselves are sh*tty ones.

    Try uninstalling all drivers for your video card and reinstall the latest.

    Also have you recently (or during "summerbreak") installed any application or game using openGL and that could be causing incompatibilities ? If so, try uninstalling said application/game.

  • You can use a condition "Sprite: Compare opacity = 100" and then a "System: Compare two values" condition and check the system expression "PickedCount" for the sprite object (so "Sprite: Pickedcount") and makes sure it's equal to "Sprite.Count".

    <img src="https://dl.dropbox.com/u/36472942/construct/forumhelp/PickedCount.PNG" border="0" />

  • You probably can do such a game (I haven't played "new Sim City game on facebook", but C2 can allow to make pretty much any 2D game), but as you said it's a too massive task for a beginner.

    I'd suggest you to first follow some of the tutorials for C2, making "smaller" games first.

    From there you'll be able to move on to a bigger project.

  • [tube]BDDSYnZfxTM[/tube]

    Link to the video

  • I remember Bret Victor's talk. Nice one indeed.

    I believe someone had already posted it quite a while back, but it's nice to see it being reposted as it bring a nice point of view on designing.

    Thanks Tula <img src="smileys/smiley2.gif" border="0" align="middle" />

Kyatric's avatar

Kyatric

Member since 18 Aug, 2010

Twitter
Kyatric has 583,407 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
  • x11
    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