dop2000's Forum Posts

  • Have you tried different browsers? Are there any errors in browser console log? Maybe some other files got corrupted too..

  • There is quite a lot of information in the internet about this error. The common cause appears to be a broken image format, or a broken image URL.

    A few posts on this forum suggest that there may be an issue with loading-logo.png file. Make sure it exists in your project, is in the correct folder, try replacing it with a different image.

  • You can't create a Timer event with any tag. I guess you can loop through all possible hour:minute combinations, but this will be a very bad and slow solution.

    So you need to think of something else. If only one timer can be active at a time, store its start time in an instance variables. If you need multiple timers running, maybe create a timer queue with an array.

  • Construct requires at least 1 instance of every object to be added to any layout (in the editor). This instance is used as a reference when you are creating new instances of the same object with events. For example, if you set angle=30 to that instance, all new instances will be created with angle=30 degrees.

    If there is no "reference" instance, then Construct doesn't know how to create new instances. That's why your project doesn't work when you delete the sprite from the layout - it simply stops with an error (if you open browser console, you'll see it).

    You don't need to add that reference instance to your main game layout. A common approach is to create an unused layout called "Assets" and keep all such instances there.

    If I add an event to destroy that very first instance, it seems even not to create the other instances.

    It works if you do it like this:

  • I don't understand you.. You want to disable teleports completely after they have been used? Then you should set Active=True for all teleports on start, and after teleport is used set its Active=false. Also add another condition after event #59 checking if Active equals true.

  • Have you tried selecting File -> New -> and choosing any of the shooter templates? Or searching the tutorials section?

    .

    Add "health" instance variable, on collision with enemy subtract from health.

  • I never used Rex's rex_grid_move plugin, but seems like it's what you need.

    I recommend installing MoveTo anyway, it's a very popular and versatile behavior.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So when you go to another teleport, you return to teleport 1 again?

    You can add an instance variable "isActive" to Teleport sprite. And set teleport isActive=false after it has been used. And when choosing a random teleport, pick only active ones.

  • I can't download that plugin. You really should remove all addons from the file before posting on this forum..

  • What do you mean? You go into teleport 1 and remain teleport 1, not teleported anywhere?

    Or you go into teleport 1, exit at teleport 2. Then go into teleport 2, exit at teleport 1?

  • First, your project is in C3, and you are posting in C2 forum.

    Secondly, I can't open your project, getting "Failed to open" error. Probably because of the MoveTo addon, try removing it and re-uploading the file.

    Also, your project is using Construct 3 runtime, where did you get MoveTo addon compatible with C3 runtime?? I thought there are no addons for C3 runtime available yet.

  • Sprite - Pick by unique ID, and then right-click and invert it. Because you don't want the same teleport to be picked on random.

    See my screenshot - event #3 should be nested under #1 (sub-event).

  • Here you go:

  • I didn't try it, but I believe Drawing Canvas is very similar to Paster addon for C2, where you can paste multiple sprites on to the canvas, or even the entire level.

  • First of all, use "For each enemy" event under the "Every 1 second".

    You shouldn't check if enemy is overlapping enemy, because.. just because. Create a family EnemiesFamily with the Enemy sprite, and change your events to "Enemy is overlapping EnemiesFamily", this way you can refer to both instances in the event separately - overlaper and overlapee..

    Also, take a look at Rexrainbow's addons for grid-based games:

    construct.net/en/forum/extending-construct-2/addons-29/plugin-board-layout2board-beha-47187

    Moveto behavior to easily move enemies from one tile to another:

    construct.net/en/forum/extending-construct-2/addons-29/behavior-moveto-40701

    Pathfinding for grid:

    construct.net/en/forum/extending-construct-2/addons-29/behavior-easystar-js-pathfindi-96215