Kyatric's Forum Posts

  • Notice how your URL is not complete => Can't download your capx.

  • jrobertson789: In illustrator your image/elements are actually vectorized. They are not "yet" fixed pixels, like an actual png image is in the end.

    What you import in Construct 2 is a fixed pixels image.

    If you want your image in Construct 2 to be 128X128 pixels of size, make sure to export your image at this size from your image editor, otherwise you will have the stretch and big pixels issue.

  • Host it on a service like dropbox or google drive and put the link in your post as plain text.

    Be sure to try and get enough reputation to prevent the spam filter from removing links from your post.

    And yes, this is all done through the event sheet.

  • As always, C2 relies on HTML5 support by browsers vendors.

    As far as I'm aware, browsers do not support scanners. If you don't have access to the scanner in the browser, you don't have access to it in Construct 2.

    So unless you find some JavaScript library that actually does provide you access to the scanner and implement it using C2's SDK, I don't think this is feasible.

  • For a more accurate answer, consider posting your actual capx because we don't know how your car is set up and how to "pause" it.

    A solution though should be to have a "InGame" global variable which is by default set to 0 and an event that says that if InGame=0, then car is paused (as well as any other element of your game that need to be "paused" in whatever way this can be done).

    At the end of your countdown, set InGame to 1 and so your car will move.

    A global timescale is some idea, but could prevent the actual countdown from going on.

    Although you can always set a specific object timescale to 1 thanks to the "Set object time scale" system action.

  • [quote:j5uueswp]I really just wanted to create a subgroup within the condition, the sub-event is just to show that is created within the condition but the group is created out.

    I just wanted to create the subgroup without the subevent created in the gif.

    So how you create a subgroup within the condition without a subevent ?.

    Well you only create a sub-group from an existing selected group.

    Otherwise you just create a group (top level).

    So it will be created at the same level as the top level event and you will have to move it later, or create a blank sub-event, select the sub-event and then create a group.

    It's a matter of hierarchy and it's logical.

    Also, I'm not much a fan of using "sub-groups" within events, not too sure this is a good way to go.

    Always prefer to use functions if you need some code you intend to reuse or "option out".

    That's the best way to go about things I think, keep groups to organizing purposes mostly, it is safer.

  • Another strange thing is that when you create a group indicating a particular condition, the group is created out of the condition, the group is created above the condition is not created within it.

    The event is created correctly within the condition (pressing key B) but the group is created outside the group, the group is created above the condition.

    There you are just missusing C2. If you want to create the group as sub-event of the event "Else/Var=4" and before the blank sub-event, strictly select the blank sub-event, not the top-level event.

    This is another strange thing, I do not know if it's a bug or something I do not understand the functioning of C2.

    If the "Group 2" group is enabled the condition "Else var = 4" is not executed when the global variable "var" has the value 4.

    For run the condition when "var" is = 4, then you must disable the "Group 2" group.

    https://dl.dropboxusercontent.com/u/60803633/testGroup2.capx

    ELSE is meant to execute only when the event previously to it hasn't executed.

    Groups are considered events (hence why they count into the total number of events of the project). So when running through your "Group2" empty group, else considers the previous event has executed, and so won't execute the current event.

  • For case 1, it is important how far to the left you are moving the cursor of your mouse.

    You see the preview quickly shifting from an indented line to a plain line and likely before/when you drop the groups you actually move the mouse back to an indented line (that makes a little arrow with an indent instead of a plain line on start of "Group").

    It is important also to place your mouse to the top, towards the group you want to move the groups to. In your gif, I suspect you actually have your mouse overing Group2 on drop.

    Do place it to the extreme left of the top group and make sure the preview represents what you are aiming to do and the moved groups won't be sub-groups but same level groups.

    Like for any event.

    I can confirm that when you use the preview and position correctly your mouse the groups are moved where and as intended.

    To make commercial usage of games made with C2 you need at least a personal license.

    Then you need to read the terms of use of the playstores you are attempting to reach.

    Most of them do not allow for a third-part user to upload the games in the name of someone else. What you provide to the store is your responsibility.

    If you have a valid C2 license use it. And create your own playstore account to provide your own material.

    And wrong forum anyway.

    Closing the topic.

  • Well, they are youtube videos, so unless you haven't set your youtube account to use the HTML5 player, indeed it will try to use the Flash player.

    That is up to the configuration of your Youtube/Google account as far as I can tell.

  • As seen in the How do I FAQ :

    [quote:1mraa0wb]Round and limit the number of decimals of a number - LINK

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Based on alextro's example :

    Can likely be better applied (to determine the angle doors are supposed to turn to), but that's the idea on how to have them each doing the smooth move each time they are hit.

  • For a "simple" grid movement "ghost", you can check the tutorial I made about turn-based local mutliplayer game board, one of the mechanic is to provide such "ghost" of available movement.

    But it doesn't take into account the movement cost.

    Possibly you could modify it in order to add it to your own mechanic.

  • Be sure to use the latest stable or beta release available for C2, and make sure to export your game using the "Scirra arcade" export.

    If the resulting game.zip archive still gives issues, consider sending it to explaining all the steps you have done, the version you are using, the URLs for your game and so on.