Mipey's Forum Posts

  • The SDK manual has been updated fairly recently, I believe, so you may want to take a gander at it once again, specifically the edit-time page.

    Specifically, you want the renderer.Fill(quad, color). You can create a new quad or use the instance.GetBoundingQuad() to get the instance's quad. You can also use the bounding quad to retrieve instance's corners, angle (calculating it with atan2) and so on.

  • This may answer your gravity angle question. In short, simply set gravity to 0 and add constant force that represents the gravity - at desired angle.

    As for sprites behaving as if they were within solids - well, you've got to make sure the transparent background is not part of the physics world. So the background object shouldn't have physics behavior nor solid/jumpthru attributes; in that case it will be ignored. For collidable structures use separate objects.

    Or so I believe, at least.

  • lerp is your friend. It is a system expression, you should experiment with it. There are a couple tutorials for it, too, hit the search box, apparently it works now.

    Tis a good day.

  • I've registered. Of course I don't expect big earnings, but by introducing Construct 2 to a local community should be enough to afford me a new gadget. Or a pair or shoes. Or at the very least a pizza.

    Okay, maybe paper tissues. At the very least.

  • For each element > append to text is one way to do it.

  • MY WORLD

    IT HAS BEEN SHATTERED

  • And the title could be more descriptive to get attention of people who know about the topic.

  • I believe you can invert conditions to that effect.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Chances are that if their browser doesn't support HTML5, it will still be too slow to run javascript game engines. Screw 'em, I say.

  • Implementation of indexOf is rather simple, since javascript already has a .indexOf array function, which gives the index of first occurrence of the given element. I've already provided an implementation in my Extra Expressions plugin as an expression (findToken). It was so simple I added case sensitivity mode for extra challenge!

    There's also .lastIndexOf(), which returns the index of last matching element.

  • That one is kind of complex and can be done with invisible sprites, so-called "detectors", so kind of redundant.

  • Added the findToken expression.

    Parameters:

    text - str - text to tokenize

    token - str - token to find

    delimiter - str - delimiter to split text by

    case sensitivity - int - case insensitive (0), case sensitive (1)

  • Same reasons, I believe. There are simple workarounds and implementation would be tricky & taxing.

  • Especially the preloader library... thinkpixellab.com/pxloader

    I believe that Construct 2 would benefit greatly from it :) Its license is MIT, too.

  • It is a browser game... If applications could manipulate the browser window at will, that could turn out to be incredibly annoying, such as those ads that resize your browser.

    You mean within the context of html page?