Kyatric's Recent Forum Activity

  • The ID field must contain the exact string name for your leaderboard.

  • Playable example and capx download in Scirra's arcade

    Find the tutorial video

    Subscribe to Construct videos now

    ,

    Subscribe to Construct videos now

    and

    Subscribe to Construct videos now

    for this game in the Construct2 Academy playlist on Youtube

    *DISCLAIMER*

    The code and logic of the example can be pretty complicated.

    If you are a complete beginner, try your hands at beginner's tutorials first and small examples to get the hang of Construct 2 and its events system.

    Feel free to use this topic to discuss the example and implementation.

    I won't necessarily have answers for all questions/comments but the community is welcome to participate as well.

  • Positionne l'"origin point" du sprite à gauche dans l'éditeur de sprite.

    Il va falloir ruser un peu à partir de là. Ajoute une "instance variable" de type boolean. Sa valeur par défaut "false".

    Dans le code, mets la condition "sprite.tavariableboolean est vraie" et en action Sprite.width = la largeur que tu veux atteindre * dt

    En sub-event vérifie que la largeur du sprite soit plus grande ou égale à la largeur que tu veux atteindre.

    En action de ce sub event Valeur de la variable boolean = false.

    Maintenant quand le joueur ajoute le sprite dans ton jeu au départ, fais en sorte que:

    * La largeur du sprite soit 0

    * La variable boolean du sprite soit mise à true.

    Et ça devrait faire l'effet escompté.

    Maintenant un mot de modération, ce forum est en Anglais. Si jamais tu ne sais pas le parler, mets quand même une traduction "Google translate" avec ton message.

    Et si tu sais vraiment pas parler Anglais, préfère alors aller sur le site de la communauté francophone de Construct.

    Merci d'avance

    ---

    Position the origin point to the left in the image editor.

    It will be a bit tricky from there. Add a boolean instance variable default value false.

    In the code, have an event with the condition "Sprite.BoolVar = true" and action Sprite.Width = Width to reach * dt

    As sub event check Sprite.Width >= Width to reach

    As action of that sub event Set Sprite width to desired width and set the boolean variable to false

    Finally, when the player spawns the sprite, sets its width to 0 and the boolean variable valyue to true.

    That should do the trick.

    A moderation word, these forums are in English. Always provide a translation with your messages in another language.

    If you don't know how to speak English and are fluent in French, consider checking French-speaking community's website.

    Thanks in advance.

  • Again, what you are referencing is a picking issue.

    The object type does exists in the project and is accessible. But on your actual layout there is no actual instance.

    Best way to understand it, add a "Wait 0 action" and copy the create action under it.

    Now you have two instances of Sprite in your layout and the second instance is positioned where you expect it.

    Because the second "Create" action DOES have an instance to reference (which the first does not).

    You are talking about clearer documentation, yet, and reread my previous messages that's what I've said all along, you're not using the correct vocabulary.

    You are talking about object (in C2's vocabulary object type) when it's all about instances.

    I'll amend the fact that indeed, the initial instance in the whole project is not "used", you need to have an instance in the current layout to reference it the way you are wanting to.

    But again, and in regards to how picking works, it's only logical.

  • Well according to your title and what I've understood from the first few posts, yes you can update a variable value according to an object count every tick.

    But your previous to last post started to describe a situation I'm not sure to understand and that seems to depend on the code you are using itself.

    To make a hair-stretched analogy: Is a car engine supposed to ignite when you throw gazoline through its designed circuit, yes.

    What does happen when you modify the circuit ? Well, it depends on the modification and the circuit itself, doesn't it ?

    Hence why you'd get a more definite answer and precise help displaying precisely the issue with the code you used.

  • It would just been easier if you would post the actual capx with a precise explanation of where the issue is instead of "let's say I'm using sheep"...

    With a precise issue and precise code that causes the issue it will be easier to give precise answers.

  • There has always been a "live chat" that is held on IRC in irc.esper.net in the room #construct.

    At some point there was a chat applet on the website directly but it was taken down after a while along several modifications of the website and was never put back up since.

    The live chat still exists though, and most people connecting for the first time there are just doing so to ask their "how do I" question and "play my game".

    At least it was so when I used to idle there

  • Still prefer to post in the how do I to get confirmation first and providing your capx to just making sure you are having a correct and efficient implementation.

    From the description you just did, I did not understand what you are trying to achieve and what you are actually doing, it is easier to see an actual project and preview it for those kind of things.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What is the release number you are using ?

    Have you added the platform behavior to your object ?

  • zenox98: It doesn't, this is a third-part plugin, as such there is no official support for it, only its author's.

    Apparently the author's last connected 9 days ago, perhaps he's on holiday or something (there are some people on summer vacation in Europe currently).

    Keep us informed vuanhvan, perhaps it is just a delay (apparently looking at other posts in the topic, it seems to happen on a regular basis).

  • No capx/following the guidelines, no review of the issue.

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
  • x11
    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