R0J0hound's Recent Forum Activity

  • You could set the acceleration and deceleration to zero when overlapping the ice. Then set it back to higher values when not on the ice.

  • You can actually do it in the same way with event as you can with code. I've done it a few times. The last one was here:

    r0j0-s-experiments_p955579?#p955579

    Most of it was syntax error checking though.

    Basically it grabs a token at a time from the string while skipping over spaces. regex could have been used to assist with that but I opted not to use it. After that it gives me a list of tokens which i then feed into this:

    https://en.wikipedia.org/wiki/Shunting-yard_algorithm

    Which converts it to reverse polish notation, while preserving the order of operations. Then it becomes simple to eval from left to right. I didn't get around to implementing variables here, but it was on paper.

    The main drawback is it can be a lot of events.

    Magistross' suggestion would be by far the simplest. Although you wouldn't have control over what js code was run.

  • You have a few options.

    One could be to use catmull-rom splines to do the curve:

    http://www.scirra.com/forum/follow-path ... page1.html

    Use this behavior:

    viewtopic.php?t=67833&start=0

    Also could use the qarp() and cupic() expressions:

    about-the-new-interpolations_p787879?#p787879

  • Just a side note you can safely remove the second execute javascript action, it does nothing.

    I have no solution for that nw.js issue. It's not anything we're doing wrong, it's probably just a problem with the library.

  • navel35

    Only version 6.1.1 will probably be used for the lifetime of this plugin. To use version 7, I would have to port it to Javascript myself, but I don't have the time for that. The only additional feature it would have is rounded shapes, but it's not essential.

  • Ok, I'm lost now.

    All this talk about JavaScript is irrelevant since events aren't JavaScript.

    Re-reading the op is the question why only one object is created with those events?

    The system actions are only done once so you would have to add a for each to create an object for each of another one that meets that condition. Now if you used a sprite action instead it would automatically be done for all the picked instances of that sprite.

  • Functions are only run when you call them, and when they are they are run as if they were inserted in place of the call minus any picking.

    Creating objects does create the object right there and picks it, but you can't pick it as normal elsewhere until the next toplevel event. Here's some info on that to help explain what occurs:

  • johnsrd01

    Try this one:

  • Well 64 bit floating point numbers only keep track of 15-17 significant digits, so that would explain one part of it.

    To get around it you could use two variable with say 10 digits a peace. Then when the second half is at 11 digits, remove the first digit and add one to the second half. Or something like that.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I thought he meant objects positioned around the ball, but I may be wrong.

    Anyway's here's an example of the first idea i had:

    https://www.dropbox.com/s/1btz21f1ny84g ... .capx?dl=0

    It's good enough for the bullet behavior because the bullet behavior doesn't have perfect bounces either.

    More precise stuff here, if you're ambitious.

    viewtopic.php?f=148&t=91829&p=718888&hilit=SAT#p718888

  • Phealin

    The .TileAt(x,y) expression should give you the ID. Just look at it before you erase the tile.

  • Well, your question isn't one that is quickly answered. Out of those that use ads and the android export, most expect it to just work without having to mess with the stuff you posted which would make more sense if you were making an app from scratch. A quick search didn't yield any issues like it on the forum , so I guess not many others have encountered the same problem yet.

    If it is a new law then I'd assume Scirra will modify the exporter to comply sooner or later. Maybe try tagging Ashley in your topic as it would be relevant to him.