LittleStain's Forum Posts

  • You could even put it into a single expression like

    set timescale: timescale = 0?1:0

    Or set timescale = 1-timescale

  • Are you sure the computer is plugged in?

  • I could fix it if I had any idea what it was supposed to do..

  • Why not me?

    It might look like I have no other life than to serve you, but actually I do..

    I might have been a bit more eager to help you if you said "thank you" once in a while and asked "could you please" instead of demanding someone to do things for you..

    I feel my free time is better spend doing things for me or helping people who actually show appreciation..

    Good luck on your project!

  • > Why do you want to compare text?

    > when you use the " " around something it's a text/string..

    >

    > Why not make it like the way I showed?

    > There is no need for the sprite71 within the comparison, I'm not sure what you expect it to do there, but this sure isn't the way..

    >

    Okay this has become too difficult for me to understand by written help. What i need is a capx whit a sprite spawning something at random. Like that conveyer belt capx. That was verye helpful. That,s the only solution i can see whit my current skills. So now it,s about capx sharing or nothing.

    Ok.. I hope someone finds the time to create a capx for you..

  • I don't want to look into other poeples projects. Here is my event sheet for the coveyer belt though. That should help you understand.

    http://postimg.org/image/yphqv4mod/

    I made an example for you..

    Specifically to answer your question, but you don't want to look at it?

  • Why do you want to compare text?

    when you use the " " around something it's a text/string..

    Why not make it like the way I showed?

    There is no need for the sprite71 within the comparison, I'm not sure what you expect it to do there, but this sure isn't the way..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What instance variable do you mean?

    Are you using some kind of template or following a tutorial?

    An instance variable isn't needed, but you could ofcourse give the button an instance variable..

    In that case I would go for text and input the name of the layout you want the button to refer to as the text/string

    Then you could use the action goto layout by name : button.instancevariable

  • thanks, but I can't view the image u posted.anybody with another idea I will be glad.

    What's wrong with the action:

    system : go to layout...?

    The only action you need is the above, the event and or conditions are up to you to decide..

    You want to use a button?

    on button pushed - system go to layout

    If there is more to your question, it would be helpfull if you explained..

  • Thank god for the manual!

    Is on mobile device

    Tries to detect whether the current device viewing the project is a mobile (e.g. phone or tablet). It is difficult to accurately detect this so detection may not be perfect: there may be some mobile systems for which Is on mobile is not true, and (although less likely) desktop systems for which Is on mobile returns true. The condition always returns true when packaged via the PhoneGap/Intel XDK/CocoonJS containers, and always returns true for iOS, Android, Blackberry 10, Windows Phone and Tizen based devices. Beyond that Construct 2 will test a few other common mobile manufacturers. Otherwise, it will return true if the current system is not a desktop system, since there are relatively few desktop OSs; the desktop systems it checks for are Windows, Linux, OS 9, OS X, Solaris and BSD.

  • If you could provide some more information on what a "simple whip app" is and what a "whipping motion" would be in your opinion, you might get better response to your question..

  • Without seeing your capx and/or eventsheet it is very unclear what you want..

    If you are comparing if "(random)" is the same as "(triggerchance)" it will never be true, for the string (random) and the string (triggerchance) are not the same..

    What I'm trying to say is that instead of values you are comparing strings (texts), which doesn't seem to be what you want..

    What your event-sheet should look like if you are following the example provided on the last page:

    ("Is equal to" should offcourse be replaced by "less or equal")

  • >

    > >

    > > The problem remains, when I I hold Right+Left, and release either, it starts moonwalking. I do not want that, but I do want it to keep the fluidity of movement when I switch from left to right on the fly (rather than having to stop then turn).

    > >

    >

    > That's why I started using the keyboard setup I linked, for this can be easily avoided..

    >

    Yes but then I get the problem that if the character is running left and I press right quickly while releasing left, it stops dead still and I have to couch right again to make it move, making it feel very clunky and sluggish.

    I'm not sure how you have set things up, so I wouldn't know..

    I never had the problem you described..

    Maybe you are trying to do something very different from what I was assuming or I just don't understand the way you have your events set up..

  • I guess you could get the angle with this expression:

    angle(object.x,object.y,object.x+object.physics.velocityX,object.y+object.physics.velocityY)

    But I must admit I'm a bit tired.. haha..