dop2000's Forum Posts

  • Here you go:

    dropbox.com/s/9esvuvpfsnri46n/SearchableList.capx

    .

    Don't be scared by JSON, it's just an easy and compact way to quickly fill the array with lots of values. You can use other methods, for example "Array Insert" action.

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You can add a condition checking if layer is visible. Or move the event into a group and activate/deactivate this group as needed.

    As for "Level complete" layer, maybe you need to set parallax=0 for it and set it as global, if you want to re-use it on all levels.

    I'm not a fan of this graphics style to be honest :)

  • Have you tried "Browser Log Array.At(floor(random(0, Array.Width)))" ? You'll see if this expression works or not.

    If you see the correct URL in console log, then the issue is with something else.

  • See event #16 - when you click "Retry" button, the layout is restarted and lives reset to 5. This button is always in the center of the screen and you can click it even when the layer "level failed" is invisible. So you think you click "Next level", but you actually click "Retry".

  • Here is a demo I made for some other post:

    dropbox.com/s/qwodl1dwqeoisow/SwapSprites.capx

  • Try changing event #2 to "timecount<=55" and add another condition - "System trigger once while true".

  • TextBox has many problems. It's better to use Text object, you can make different colors with BBcode. If you need to allow players to type text, see this tutorial:

    scirra.com/tutorials/739/your-own-textbox

  • I think you need to use two objects - TextBox and List.

    In "TextBox On Text Changed" event you can refresh the list of items for the List. For example, if you keep these strings in an array, you need to clear the list, then loop through the array and check if

    lowercase(left(Array.At(loopindex), len(TextBox.text))) = lowercase(TextBox.text)

    If this expression is true, add this string to the list.

  • Preventing overlapping is not an easy task for objects moving with PathFinding. You can add units as obstacles for pathfinding, so that they will try to avoid each other. You will need to recalculate path often and it may not work very well if you have lots of units and narrow passages – they will get stuck, will try to find another path etc.

    Here is a very quick and dirty fix (see events 46-48), maybe you could improve it further:

    dropbox.com/s/t7pzh9tx2q2ep3j/tmp2.c3p

    Displaying the path is easy, just open the PathFinding demo project in C3.

  • WRS You need to switch Construct to English before making screenshots. Not many people here understand Russian :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • replace(Self.AnimationName, "_Bright", "")

    Or

    left(Self.AnimationName, len(Self.AnimationName)-7)

  • Start a different browser (where you are not logged into Dropbox) and try to open that link, you'll see if it's working. Spoiler alert - it's not :)

    You probably just have a mess with events. Try to organize your code better. Make sure that you don't have multiple conflicting events like "On start of layout" which are executed at the same time. Be careful with using "Reset global variables" action.. Learn how to debug - run the game in Debug mode to see what's going on. Use "Browser Log" and output important information (like variables values) in key events to see how they are changing etc. And I'm sure you'll be able to fix all these problems yourself.