phlp's Forum Posts

  • It looks like lines 19-23 are checking that the spot being tested is within bounds (19-22) AND the spot is occupied (23) to set canPlace to false. You need to negate 19-22 and switch it to an OR block.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Your For each XY element loop is iterating through each element of the itemL array, but the only value presented is the result of the final check. One way to fix this is you could add a local boolean (just above the loop) and have it switch on Else, then set your debug text to the value at the end.

  • There's a 3d party plugin for that

  • This doesn't exactly answer your question, but there's a System > Is in preview condition in event sheets.

  • Weird. Have you tried opening DevTools (F12) on the editor and inspecting the various elements? Could be a clue there.

    Are you running the editor in a browser? If so, which one?

  • I think that first line should be

    	runtime.objects.Sprite.getFirstInstance()
    

    or Sprite.instances as appropriate

  • I have a one-shot particle system that generates a cone of particles in a single blast at the player's position. If the player is moving, I would like the particles to either inherit the player's velocity or at least move with the player.

    I've tried adding the particle system to the player object's hierarchy as well as manually moving the particle system, but this doesn't seem to affect the particles themselves.

    Is there a simple way to do this?

    Tagged:

  • The first object spawned becomes the blueprint for all following instances. An easy fix is to have one instance either in your layout and remove it at the start, or have one created in another (unused) layout.

  • What are their arguments against you making games? Is it born from ignorance, and will they listen to you in return? Are they passing their own fears onto you? Are they looking for validation of their own life choices and worldview by getting you to make the same choices?

    Will you be OK without their encouragement? Will you be happier making games, knowing they may never understand or support you, or never making another game but having their support?