codah's Forum Posts

  • It is rounding error. Just don't expect exact results with real (decimal) numbers.

    Try adding 0.1 to variable2 twelve times instead of 1.2 one time. You will get 2.200000000000001

    But it will display in a text field as 2.2

  • I can't think of a good way to present possible options and outcomes like a branching storyline.

    I can't see why this is a problem. Just that C2 is probably not your best text-based game engine simply because its focus is not text processing/games. But you can still do it. I did a demo for 'A dark room' -type text game in another thread.

    Give some idea how you would do it outside of C2, and we can possibly suggest how to convert to do it within C2.

  • Can you give a link to such a game?

  • You can disable collisions for a sprite though, either in actions or sprite properties.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It's still handy for quick placeholder or debugging sprites though. legofreak689 if you click the fill icon, it toggles (which to me is kind of weird), so make sure it's actually highlighted. If that's not it, it might be an issue I sometimes come up against. Try using the color picker tool, then the fill tool again, or something along those lines. I think there is a bug somewhere but I don't get it happening much any more.

  • Hi Johncw87. Have you read this https://www.scirra.com/forum/viewtopic.php?t=73647&start=0#352637

    PS: try putting a system:wait 0 after the Create object.

  • I'm still a complete beginner .

    Have you done the beginner tutorials? You must learn the basics of events and picking before perhaps going on to more advanced features like functions. Good luck.

    https://www.scirra.com/tutorials/37/beginners-guide-to-construct-2

  • Search for 'jarsign' and 'zipalign'. It's a manual process.

  • The first time I uploaded to the Play Store I didn't self-sign, I used Intel XDK to do it for me. Then I had to update the app outside of the XDK and self-sign it but I don't have the keystore that they used

    ah gotcha, same scenario as I had. Also for trying AdWrapper (which I quickly dropped )

  • By complicated I meant the Browser log stuff was doing a lot more than I needed.

    I have built a similar loop but for some reason it runs forever... It should run 11 times and stop but it just keeps going and going forever if I let it go...

    ***

    AHA! I needed a trigger... or else it just keeps looping 0-10 0-10 over and over...

    Making progress thanks for the help!

    Yep I had it under On Start of Layout but you could put it in a Function, etc. Anyway well done making progress

  • Yeah I didn't realise you could self sign! Ok great, I'll ask them to send me the keystore and see if that works. Thanks

    But you were already self-signing, weren't you? So what are they going to send you? Maybe you generated a new keystore instead of just signing with the same one, thus the error? I couldn't see the guide you followed due to the removed URL.

  • R0J0hound I see a new behaviour in your future... align-and-snap. With an automatic normal generator based on polygon edge

  • Thanks very much. I've adapted your design to my objects (well 1 so far) but the normal calculation will need to be hard coded for each object? As I have a number of objects. Did you just choose the angle (x1, y1, x2, t2) values by any special technique?

  • Line11 is a great trick! Never thought of it!

    It's a nice learning material, thanks R0J0hound !

    Question is, what would you do a few versions back when Wait for signal didn't exist? Wait 0 doesn't do it, even though I thought it's supposed to delay the following actions to the next tick. Wait 0.05 seems to do it. TBH 'tricks' like these concern me.

  • codah

    The math for the angle was simpler than I thought, but I was messing around with it blind for a bit.

    https://dl.dropboxusercontent.com/u/542 ... uzzle.capx

    Thanks R0J0hound, I'm going to see how I can incorporate this into my code. I'm sure this will be very useful to others as well <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile"> Cheers.