Kyatric's Forum Posts

  • Debug the values of sprite.y and sprite2.y

    You would see that sprite ends at 311 and sprite2 at 312.

    The comparison is never true, hence the destroy action never executed.

    Height_test_more

  • Ennemy control with platformer behavior - LINK from the how do I FAQ ?

  • A quick example.

  • In the how do I FAQ I think there's a link to an example of level editor that was provided by a member of the community.

    You should check it out.

    Saving to disc is done through the webstorage plugin, check for it out too.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Setting the default browser from within C2. My default browser is IE (here, I've said it :) and each time I'm creating a new project I have to change this field

    - Same goes with resolution. It would be nice to set these as default from within C2. These changes will save time and annoyance dedicated to this ceremony

    Aren't both already accessible from the project properties ?

    Also if IE is the default browser, the "default browser" value in "Project browser" should run IE by default.

    Sounds like you use IE, but it is not really set as default in the end.

    For the resolutions, same thing, those are properties from the project.

    Or I missed your point.

  • Check the platformer examples in the how do I FAQ this question has been treated many times now.

  • 8direction is a behavior belonging to one of the objects.

    So in the expression/action windows you first have to select the object with the behavior, and then you'll be able to access the actions of the behavior itself.

    Licensed or not, it works the same.

  • Did you check the "Ajax" part of the how do I FAQ ?

    Asking for directions, it might be an interesting start.

    Also, w3school for PHP might be of some help.

    PHP is a language in its own right, executed on a server.

    You don't really display PHP. The PHP might produce some HTML though to display a page in a browser.

    What you can do, is get some variables through PHP, and use/display them in C2.

    This is shown in the examples of the FAQ.

    I hope it gives you a nice direction.

  • Meh, in scotland, it was Highlanders having a quickening.

    Someone lost his head that night.

    Did you hear some "Queen" playing in the distance ?

    ^^

  • Using the same variable name for global and private instances is the best way to lose yourself.

    You are overcomplicating things a great deal.

    Check this other capx.

  • I can't seem to be able to download your file.

    Rapidshare is acting strange, and really badly wears its name anyway.

    You should consider hosting your files on dropbox if possible, it really facilitate files exchanges.

    For now some quick fixed capx of your project.

    I reorganised a bit of events but it still is messy.

    Pile1 and Pile2 NrOfPlanks starts at -1 when running from the menu.

    I'm not sure exactly why, the solution for this is to set those values to 1 in the startup of layout.

  • how can I call a subgroup ?

    ex:

    LEVEL01

    >ENEMY

       > enemy01

    i did:

    system > on start of layout > set group enemy01 activated

    but its not working.

    It should be working.

    Are the superior groups (Level01, enemy) activated too ?

    If you activate a subgroup but that its main group isn't activated, logicaly the subgroup won't be executed.

    my real problem is:

    i have a global variable called Score on the first layout.

    when i go to layout 2 , i want the Score to continue counting, not reset...

    so i want to make a "GLOBAL" Event sheet, put all Levels and mechanics in there, with all groups and subgroups organized, so i can share the same Event sheet ( GLOBAL ) across multiple layouts.

    If you don't modify the value of the global variable score in your layout 2, it won't get reseted. That's the purpose of global variable, it is global through different layouts and event sheets.

    Check the How do I FAQ, in the section "Variables (Local/Global/Instances)".

    There's a few example of the intended use/behavior of variables.

    For a "global sheet" you can do it too.

    Put all your abstract mechanisms in a sheet (stuff that isn't layout related/will not only happen in layout 1 or 2 or ...) and include this sheet in each event sheets setted to your layouts that will require those mechanisms.

    You can check my capx of Space Jinx (also listed in the FAQ) it is a complex project, but it is commented and uses inclusion of event sheets.

  • In the sticky how do I FAQ you have a lot of useful links.

    In there a section Tiling in which you can find:

    Quick tiling : LINK which should answer your question and help you moving on in C2.

  • It's inherent to Firefox itself.

    All users of Firefox have the same issue. Audio doesn't loop you have to workaround.

    Audio support in HTML5 is a mess, Ashley "composed" (no pun intended) with what he had to propose an audio function anyway in C2.

    Audio issues should rather be taken to Mozilla, their bugtracker and any appropriated medium.