Kyatric's Forum Posts

  • The system expressions are listed in a maintained manual article (sometimes with examples). This should be your goto list, not the old unmaintained tutorial that was written when this manual article did not yet existed.

    The lerp expression has several topic listed in the how do I FAQ with capx example displaying several examples of use.

    For your issue about the trajectory a forum search may have gotten you this link.

  • NECROKRIEG: Your request in not fully relevant with the current thread. Anyway here is a link you might want to have a look at.

  • In Chrome, try to force refresh (Shift + Ctrl + F5) several times in a row to see if the changes become effective.

    From what you explained, I'd suspect an issue with your hosting service/ISP or maybe your NAT/network parameters since when you host locally, browsers have no issues.

    You don't tell what is the OS of the people who have issues seeing the new versions. This may be something to look into too.

    Also are you sure when you update your file that you follow the process indicated in that tutorial ? (uploading again/overwriting the old offline.appcache)

    You might want to check out if the issue is there with the mentioned event "Is downloading update". Do a debug version in which you display the value of this file to see if the target client is "aware"/downloading the newest version.

    If it is not, it might indicate the newest version isn't "recognized".

    I hope this helps.

  • : thanks for the notice.

    I'll modify the link to this current post.

    To make a tank check out the template RTS (in the "templates" folder of the C2 install file "Template-RTS.capx" or directly in the list when you create a new project in C2) because it shows how to make a tank and have it moving thanks to containers and pathfinding behavior.

  • jhonnel09: In the browser plugin

    Condition n suspended

    On resumed

    Triggered when the page's visibility changes, or when a mobile app is going in to the background or foreground. When invisible or in the background the app is suspended: all events stop running and all audio is muted.

  • You probably want to set the speed of your animation to 0 and set the animation frame to 0, this way your animation will be "stuck" on the very first frame without going further on.

    Perhaps the videos you are talking about is one of the online class Yann and I gave a few months ago ?

    Even if it is not, it shouldn't hurt checking it out.

  • It mostly depends on your project.

    For some, you'll prefer to have more control making your own scrolling system using scrollX/scrollY, for other, the ScrollTo behavior will be more than enough.

    No specific "best practice" here IMO.

  • The browser plugin has been added a "log" action, which allows you to send data directly to the browser's console. I can't remember exactly when it was added and if it was already in two months ago or not.

    It's not yet a step-through debugger, but it's helpful anyway.

    You might also want to have a look through the changelogs of each versions you "missed" since, a lot of improvements/bug fixes/changes have been made in various areas which might help you too.

  • PantuTheDog: Select your collision point and set its X and Y position in the top fields of the editor.

    Check this out it works the same for points of the collision polygon (not the numeric keyboard shortcut, but you can use arrows and directly set the numeric coordinate).

  • If you right click the webstorage condition itself only, you can "Invert" it.

    Also, you probably could make this condition as a sub-event of the top level "On start of layout".

    Have a look at this tutorial, if I remember correctly I have some implementation of something you're looking for in it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Capx is one of the option to save your project.

    The other one is to save the project as a folder which allows for team collaboration.

    Check this manual article.

  • Download the plugin from the clay.io thread and check how to install plugins and behaviors.

  • At worst you can try to send your capx to ashley@scirra.com, but you'll need a simplified version, not a "almost finished" project of thousand of events.

    In the meantime you can check for errors in your browser and see if it gives you any clue.

    I must admit the error messages are pretty intriguing, are you REALLY sure you're not using any third-part plugin AT ALL ?

  • This does not seem to work for me. If I create a new ball object for example, then use ball.xx in the action of the same or a sub event, it always acts on all balls, not the one I just created.   As I don't know how to pick the event I just created, I actually do this:

    1) have he ball on a special layer, called "templates"

    2) have a blank layer called "new"

    3) create a new "ball" object on layer "new".

    4) use an event condition where I say ball.isOnLayer("new")

    5) then in the events actions, do this: ball.setLayer("target")

    This seems to work.

    nutmix: Check this capx example you can effectively notice that only the newly created instance is affected by the "set angle" action. This is how it works.

    If it doesn't work for you, you're doing something wrong so please post a new thread with a capx so we can give you a hand and please stop bumping old threads.

  • nutmix: the official browser plugin allows you to log informations directly to the console.