dop2000's Forum Posts

  • Here you go:

    dropbox.com/s/11yjxh12re0wo4h/RemoveTagsFromText.c3p

    You can also do this with regex, but I don't know how :)

  • No worries, thanks for the coffee!

    Your new link still doesn't work. Open Private Mode in your browser and try clicking this link, you will see that it says "You need access".

  • It's not possible. You will need to parse this string, and if you want to support many different equations or expressions, this will be a very difficult task.

    You can try math.js:

    mathjs.org

    Replace variable names in the string with their values, then feed it to mathjs, and it will calculate the result.

  • Objects in a container are created all in one position.

    Take a look at this demo, it may be a possible solution:

    howtoconstructdemos.com/generate-random-levels-from-pre-built-scenes

  • Which tutorial are you referring to?

    Also, I can't open your link, it says I have no access. You need to share it for everybody.

  • Not sure what you mean by array.

    You can create a Google Form for feedbacks and bug reports, and simply redirect your players there.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Read about families, containers, functions, global layers, arrays, dictionaries, timelines etc. Knowing how to use these features will save you many days/weeks of needless work.

    Create families early! If you are adding your first enemy, create Enemies family straight away and add behaviors and instance variables only to the family. Upgrading a bunch of objects to a family later on will be a difficult and boring task.

    Name your objects properly and organize them in folders.

    Comment your code.

    Avoid using hard-coded values and "magic numbers".

    Back up your work at least once a day.

    And finally, check out this post with great tips from Fib:

    construct.net/en/forum/construct-3/how-do-i-8/order-thinks-develop-game-153820

  • Pick Nearest picks just one instance of EnemyFleePlace. So any other picking after that will not have any effect.

    If you want to find a place which is close to the enemy, but also furthest from the player, you need a slightly different approach. For example, you can use a second LineOfSight behavior to pick all places which are within a certain range from the enemy. And then pick among them the furthest from the player.

    Also, if you have many enemies, you should add "For each Enemy" to the top of this event.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You need to remove "Trigger once". It's the most misused condition in Construct and it can cause all kinds of bugs and problems when used incorrectly, especially with multiple object instances.

  • Set Velocity X to OverallVelocity*cos(angle)

    Set Velocity Y to OverallVelocity*sin(angle)

    Also, here is a useful expression to get current overall velocity:

    distance(0, 0, Object.Physics.VelocityX, Object.Physics.VelocityY)

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Sprite is not moving
    Object pick nearest to Sprite.x, Sprite.y
    	Sprite find path to Object.x, Object.y
    
    Sprite on path found
    	Sprite move along path
    

    If you have multiple sprites, you might need to use "For Each" loop.