Kyatric's Forum Posts

  • so there is no way to do this without coding huh

    No.

    Not if you want to have control over the chances distribution.

    More than code, it is about maths.

  • Can you post some games that features nudity?

    No.

  • https://i.imgur.com/MEVWcPs.png

    I am using the same sample JSON file as you. But when I run the layout, I get the DebugText changed to "00" only. So I am not sure what does this do and what am I getting even since the JSON has no 0s.

    The path you are using is not correct

    JSON2.get(".recipes" & loopindex) probably will work

    It depends on the content of your json file though.

    You might want to check back on the JSON example provided with Construct, it is pretty simple to understand how you are supposed to create your structure.

    editor.construct.net

    And check back on the example provided by Laura, it should make more sense.

    The issue here doesn't seem to be with scripting or events, but with the actual structure of your JSON file.

    Post it, it will be easier to establish the correct events in regards to how you established your file.

    In my experience XML is not simpler.

  • You do not have permission to view this post

  • Yes.

    When, you visit your list of published games, there is a "Visibility" setting.

    You can set it to either Public, Private or Private URL.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • Be sure to know the difference between object type and instances.

    The Sprite object is at use and provide animations features.

    In the screenshot you provide, on the left there are three frames (one with one star filled, one with two stars filled, and the last one with three stars filled).

    On the right, you have a frame with no stars filled, on top of which has been added a number.

    So you could have a single sprite, with a single animation using the four different frames (the numbers would be another sprite or could be a Text object).

    A single object type, multiple instances.

    Set the animation speed to 0 (so it will only be like a "bank image" not an animation browsing through the frames).

    In the event sheet you can use the Sprite action Set animation frame.

    And you set it to the number of stars you want to be displayed.

    If you already have a project in progress, post it, it will be easier to answer your question in regards to what you have already done.

  • If you run in to a bug or issue in Construct 3, please post it to the GitHub issue tracker here:

    https://github.com/Scirra/Construct-3-bugs

    You must follow the bug report guidelines or your issue will be closed without investigation.

  • No.

    Construct 3 is programmed in JavaScript, developer's choice.

    The scripting feature is JavaScript.

  • Assuming your projectile object uses the bullet behavior, you need to modify the angle of motion of the bullet on spawn, accordingly to the angle of your shooter object.

    You should likely use the Set angle of motion action when your object is spawned.

    Projectile. Set angle of motion to Shooter.angle

    Would set the angle the Projectile is moving to the same angle Shooter is looking at.

    That would be for a top down view project.

    On a platformer where the Character sprite will likely be mirrored, you should likely use sub-events, to check whether Character is mirrored or not and set the angle of motion of Projectile to either 0 (going right) or 180 (going left).

    It depends on your project in the end.

    You might want to post your .c3p file in order for us to provide an accurate answer.

  • Make sure your rifle object has a boolean instance variable (in the screenshot "canShoot") set to true on start of the project.

    Add the Timer behavior as well.

    Use Mouse Button is down (instead of on clicked)

  • Why I don't have the Scene folder on my project tab ?

    This topic is about a mockup, a suggestion of interface.

    This is NOT an actual representation of Construct in its current form.

  • Topic moved to the Construct 3 section.

    Those forums are English speaking forums.

    You can post in your native language, but please provide at least a google translate version of your post as well when posting.

  • The subject of this topic is not about posting suggestions about features in Construct 3.

    It would make more sense to have posted a new topic specifically for this.