dop2000's Forum Posts

  • Has anyone experienced this problem?

    After I close an interstitial ad, the game slows down to ~5 fps and becomes unplayable. This doesn't happen all the time, but I had this problem twice on two different phones in the past couple of days.

    Wonder what's causing it and is there a fix?

    Tagged:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, at speed 550 or more, each wall travels 9px or more on every tick. The spawner spawns walls also on every tick, but they are only 8px high, that's why you get gaps.

    You either need to increase wall height with speed, or spawn more than one wall on every tick.

  • Your events work correctly. However, the Adventurer is only destroyed at the end of the tick. So even if you destroy it in event 59, for all remaining events it will still exist. So in event 78 enemies re-acquire it as a target.

    You can add another condition to event 78 "Adventurer health>0" to fix this. Also, it will be a good idea to disable adventurer's collisions when destroying, it may prevent other similar issues.

    By the way, you don't need to use "System pick by evaluate" and "For each" in this case. You can simplify your events like this:

  • You can remove this plugin manually from the project files. Rename .capx to .zip, unzip to a folder, search all files for this plugin and carefully remove all mentions of it.

    See comments in this post, there was a similar issue with another plugin:

    construct.net/en/forum/extending-construct-2/addons-29/need-appodeal-plugin-c2addon-150049

  • You can do the same things oosyrag suggested in C2.

    Either use a tilemap with very small tiles (1x1 or 2x2 px), or you can read pixel data from the image with Canvas addon.

  • Also, check out this demo how to display time in hh:mm:ss.ms format

    howtoconstructdemos.com/simple-stopwatch

  • What addon is it?

    You need to search for a version of this addon ported for Construct 3.

  • You do not have permission to view this post

  • I think if you add some parallax to the background, the jittering will be less noticeable.

  • Currently the design is so that you don't clog up the function list for actions with loads of unwanted functions that are only used as expressions.

    Can you put all these functions under another group - "Functions that return value"? In a large project the list of functions can already be quite long, so adding another group will not do any harm.

    This change will make C3 functions a bit more flexible. Also, this is a commonly used functionality in other languages, so there will be no reason to remove it in the future.

  • piranha305 Yeah, there are a few possible workarounds. I just don't understand why this limitation exists in the first place.

  • Ashley

    Let's say I have a function "KillEnemy" which returns a value. Why can't I just call it if I don't care about the return value? Many programming languages allow this. In C3 I can only call it from an expression, so I need to do something like "set tempVar to Functions.KillEnemy", which is pretty inconvenient and makes the event sheet difficult to read.

    Tagged:

  • Of course it doesn't work - you didn't set array width to 0, you didn't insert new record to the end of the array, you didn't delete the last record when going back..

    See this fixed project:

    dropbox.com/s/l1le3x8zp3roth9/LayoutHistory.c3p

  • Recording a history is also not too difficult. Create an empty array with width=0. On end of any layout push a new record into the array with LayoutName.

    When you need to go back to previous layout, read last layout name from the array - Array.At(Array.width-1), then delete this index.

  • 619_RM You are welcome! You think we should charge people for downloads? :) You can always buy us a coffee!