ByteMonkey's Recent Forum Activity

  • Mhmm... thanks for your quick response Actually i don't know what i should report them, if it is only an issue with contruct2 games. You don't have any theory what could cause this? How the adblocker can make something like the system event "Restart layout"? Thx

  • Hi there,

    since 2 weeks or so i have a problem after showing ingame ads: the game restarts the first layout after closing an ad. I discovered that this only happens when my adblocker (Adblock Plus, Chrome) is activated and the actual ad got blocked. After watching an unblocked ad (Ablock is deactivated) the game resumes correctly.

    Could somebody explain this to me? I've never had any problems like that before. Thanks a lot!

  • Hello

    I'm using callbacks to pause and unpause a game while showing ads.

    This can be very easy managed by calling cr_setSuspended(true) (ad starts) and cr_setSuspended(false) (ad ends).

    Now i am dealing with a game where this 2 calls cause troubles (overlay problems, etc) and i would like to know if there exist something like cr_setMuted() to just mute/unmute the game while showing ads.

    Maybe there is a possibility via cr_getC2Runtime()?

    Thanks in advance!

  • Hi,

    i am working on a clicker game, so very big numers are essential. Unfortunately it seems that Construct2 has a number max limit of 9223372036854776000. How do i manage numbers that are much more bigger. In Javascript that isn't a problem at all:

    p.e. 9223372036854776000 * 119892 = 1.1058085202425928e+24.

    Impossible in Construct2

    Somebody has an idea? Thanks in advance

  • Hi

    I really love the feature "save/load game", but i really miss a encryption/decryption method. I would encrypt/decrypt the data on my own, but i don't really know where to "hook in"...

    There are saveToJSON and loadToJSON methods in the plugins, but i don't really know if this is "the place to be"

    Can somebody help me? I would like to encrypt the whole data-string and not every single variable on its own.

    Thanks in advantage

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi ,

    i am writing a plugin and found it very difficult to add/remove parameters of actions/expressions later on.

    For example i use in my project an action with 2 parameters of my plugin: doSomething(1,2) and want to add a third parameter to this action. I change the code of the plugin and receive an error after i reopen my project.

    How i manage it? If i want to add the parameter in construct2 first it won't let me, cause the action only has 2 parameters, if i add the third in the plugin i won't be able to open my project anymore due to the problem that my action only has 2 paramters instead of 3.

    The only possible solution is to delete the action before. Change the plugin and add the action after restart again with the additional parameter, but seriously this cannot be the right way. What if i use the action a dozen times in my game. How do i mange it the right way? Thanks a lot

  • Yes it is... indirectly. You touch and it fires a touch event and a click event as well, so it looks like a "twice triggered" touch event. For example if you connect a touch event with a jump you jump twice after your touch...

  • Hi,

    is there a possibility/fix/code snippet to avoid double input problems?

    Since some time games that i receive (i don't have always the project files, and even then i don't know any solution) show on some mobile devices (p.e. S3, S3 Mini) a bug: A "Touch"-Event always fires a "Click"-Event as well.

    So i have 2 Input-Events at the same time. Of course this makes the most of the games nearly unplayable.

    Thanks in advance

ByteMonkey's avatar

ByteMonkey

Member since 17 Feb, 2015

None one is following ByteMonkey yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies