About stability of function in C2

0 favourites
  • 5 posts
From the Asset Store
Template for dungeon/maze generation, using wave function collapse
  • I am using function for player's movement, as you can see here:

    <img src="http://img547.imageshack.us/img547/5989/capturenn.png" border="0" />

    So far, I don't see any problem.

    But then, I came across this: construct.net/en , which is published on 31st, March 2013. My concern is from this statement:

    ust be sure to not call functions each tick ... or you'll get Javascript errors ;)

    While, for my case, I do not invoke function in every tick. I have to admit I exploit function calls to a very great extent. In fact, my whole event sheet rather looks more like programming code.

    But so far, I do not see any problem. Everything works accordingly. Has anyone got some sort of such Javascript errors here? How stable is the function calling in C2?

  • No I wouldn't worry about it.

    Just be sure to not call functions each tick ... or you'll get Javascript errors ;)

    That's a fairly odd thing to say.

  • ramones , My bad I meant "Just be sure to not loop functions each tick ... or you'll get Javascript errors ;)"

    Here's an example showing that !

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ummm. wow.

    The correct line is

    "Just be sure to not loop functions each tick ... or you'll get Javascript errors ;)"

    edit: LOL the article writer a reply while I was typing mine :D

    so never mind :D

  • Oops, your project is using beta C2 release. I can't view that. Mind just take a snapshot of your event sheet so that I get the exact point instead?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)