Kyatric's Recent Forum Activity

  • No, PixelPower is not a moderator. Reminder PP, backseat moderating is not encouraged on those forums, please behave.

    Avoid not-constructive answers where you are not actually providing support.

    Nevertheless, he's right on one point, the people providing answers in the forums do it on their free time, on their own will, on what they want to answer.

    Moreover, when sometime a question does not get an answer, it is often because either the solution can be easily found out by using the search feature, looking into the manual, how do I FAQ, C2 Academy playlist, and other existing informations resources, or because the question is not detailed enough.

    1. Those manual articles are critical for answers on performances and how to deal with it : performance tips, memory usage. For starters, there are the rules to follow.

    Then, as indicated in the best practices you are to test out your project often on your target device, and as such, you can know quickly when you are hitting a peak/limitation in performances depending on the specific device.

    When this happens, or you have specific performances question out of the frame of the manual articles, answer your own performance questions with measurements as there is no "fit-all-sizes" answers on that front.

    Overall though, layout size is not an issue. The number of instances and the size of the textures within those instances on the other hand can lead to issues.

    2. It depends on your usage. Each frame can have its own collision polygon, but if you are willing to have some consistent collisions through an animation, it might be useful to have the polygon consistent over it as well.

    The article on image and animation editor states the fact that right-clicking in the image editor window will display a context menu to help having the same polygon over the animation.

    3. I tend to regroup all the actions in the same event as well.

    Also be aware that instead of a "Every tick" condition, you can choose to have the event (or sub-event) as blank, and it will act the same.

    Sub-events can also act as "other condition" in that case.

    Have a top level blank or "Every tick" event, and as sub-event, check the value of some variable, or do any other kind of check, that will make logical sense and allow you to keep a good organisation of your events. It will have the advantage to make sure the check happens at this point of the code's execution (especially if they are not triggered conditions)

    4 has already been answered.

    Here is a capx that does nothing more than what is explained in said tutorial. It is even hard to see what it does since there are close to no pictures to load in that example.

    You can, when in need, ask for precisions for specific cases. The more precise the question, the most detailed the answers will be.

    But on the other hand, don't expect other to make your project for you either, a lot of newcomers/requests sound like that and are often ignored because of it.

    5. This also is greatly dependent on your project. In the absolute, JS error should not happen. If you encounter one, it could be because you use a third-part addon that actually cause the issue, or as BlackHornet mentioned, you made some infinite loop and find yourself into some recursion.

    When such an error happens, a dialog appears and do display a message. That actual message explains what the error likely is, and where you could/should fix it in your events.

    Checking the browser for errors might also give further clues as to what the issue exactly is, and at last, posting your capx and how to reproduce the issue, allowing to get help from the community is your best bet as well.

    On our forums, it is OK to bump a topic after 24 hours, but avoid just bumps for the sake of bumps, your best shot is always to show your researches and attempts to fix an issue in the meantime.

    There is no obligation of answers by the community, and it all depends on the availability of people passing by at the moment you post.

  • Your code in the OP is not valid since you only modify the TouchIndex value in the "On touched" event (which actually triggers once the touch is over and the user removed his finger).

    In your case, you should rather set TouchIndex value in a "On any touch start" event.

    Then in your event 2, in addition to "is touching", add the condition "Has Nth touch" where Nth value is TouchIndex as Newt was saying from the get go.

  • Armouredank: Yes, it is likely not working because your sounds are MP3.

    As you can see in the manual article about the audio object, sound format is supposed to be ogg and m4a.

    Depending on your OS the conversion can be automatic, but MP3 is such a legal mess (read 1, 2, read about the HTML5 audio formats : 1, 2) that it was not recommended by Scirra.

    Moreover, prefer importing music into the "Music" folder, not the "Sound" folder unless you know what you are doing (which, no offence, doesn't look like the case at the moment). Again, please refer to the manual (this article in this case).

    Inverting is done by right-clicking a condition and selecting "Invert" in the appearing contextual menu.

  • I fail to see a logical reason why this would happen with your events.

    So likely it could be a bug with the sine behavior "unmirroring" sprites by default when modifying their width.

    Consider posting a bug report following the bug report guidelines.

    You can add this repro capx to your report as well if you want.

  • In the case of a dart target, I would use concentric circles.

    So a circle image and collision polygon, and you size them accordingly to each section (1 point, 2 points, 4 points and so on).

    In the code, to know what "section" your dart is currently touching, you end up with something like :

    Dart is overlapping Section_n - 1

    Dart is overlapping Section_n

    Dart is not overlapping Section_n + 1

    As the conditions to determine what "Section_n" is.

    I would use instances for each section of the target, the animation frame allowing me to determine Section_n.

    I hope it makes sense.

    People should stop multiplying threads and actually read existing threads like this one.

    People should stop multiplying threads and actually read existing threads like this one.

  • Check out my thread here which no one wants to reply to:

    What kind of answer are you expecting in that thread ?

    It is half caps locks, half "solution" to an apparent problem you are seemingly having.

    As usual, if you encounter a bug issue with Construct2 consider posting a bug report for it following the report guidelines.

    In that case, possibly the IAP plugin that Construct 2 attempts to go for on its own (when exporting to Cordova, C2 is building an XML file attempting automatically to fetch specific Cordova plugins) perhaps it needs some update and so, possibly Ash needs to be noticed about it.

  • MPPlantOfficial: As far as I'm aware it still should be.

    Phoenixbowman: "On Store Listing Success" is an event that will be triggered once the action "Request store listing" has been executed. Than on the tick of execution where the listing is returned and is true the condition will trigger.

    Purchase successful happens after you have used the action "Purchase product".

    In your second case you should rather be looking for the "Has product" condition rather than "Purchase successful", since you want apparently to check if your user already has bought a specific product in the past, not right now.

    Same for your third case.

    To check whether they are connected to internet or not, you should handle that test yourself, using the Browser plugin and the condition "Is online".

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Artworkz: Press F4 when you already have an action entered in, something like "Text: set text" for example, that is the moment the expression panel will hide/display.

    If you press F4 from the layout view, it will indeed preview the project from the layout set as first in your project.

  • Moonstar: This topic is about a year old.

    Generally this kind of issue is due to a bad connexion on the uploader part.

    You can try to upload via url by clicking the link "Enter a url to the file instead" instead of trying to upload your file directly to the server from your disk.

    "handle the error in a graceful manner"; a sever timeout is a server timeout.

    Apart from a message asking to get a better connexion (is it really graceful ?) I'm not sure what else could be done.

  • You do not have permission to view this post

Kyatric's avatar

Kyatric

Member since 18 Aug, 2010

Twitter
Kyatric has 583,405 followers

Connect with Kyatric

Trophy Case

  • 14-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • x15
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • x27
    Coach One of your tutorials has over 1,000 readers
  • x10
    Educator One of your tutorials has over 10,000 readers
  • x2
    Teacher One of your tutorials has over 100,000 readers
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

23/44
How to earn trophies

Blogs