LittleStain's Forum Posts

  • Host it anywhere it can be downloaded by others. And post the link on this forum. Most used on this forum to do so is dropbox.

  • if true - trigger once - add speed

    if false - speed is startingspeed+50 - trigger once - subtract speed

    If you are able to check if it's true you are also able to chance this value to false I presume. So set the value to false when not in inventory. And th

  • Have you checked your collision polygons?

  • replace the is touching with on touch.

    add a subevent if frame is 0 - set frame to 1

    add a subevent else - set frame to 0

    or you could use the toggle event I mentioned before.

  • so when touch is not touching a sprite you want to set the frame to 0?

    the else event is reacting on the is touching, not on the frame.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I'm not sure what you mean by save and secure datas.

    The logic of win/lose however is usually checking if the pictures are in a row of some kind.

    Using the search function of this forum I found this very old example by rojohound:

    Slot Machine

  • Could you be more specific?

  • You probably hyavre your events set up the wrong way. Maybe the else event is triggered at the wrong moment, or you don't pick the right instance in that event.

    This is just personal preference, but when I want to toggle I always use a variable.

    In your case you could use an instance variable, let's call it FrameToggle.

    On Sprite touched - Sprite set variable FrameToggle: 1-FrameToggle

    -- System compare two values - Sprite.FrameToggle = 1 - Sprite set frame to : 1

    -- System compare two values - Sprite.FrameToggle = 0 - Sprite set frame to : 0

    where -- is a subevent.

  • I'm not there yet, so I won't link the capx, but here's a quick

    Online example

    Not tested across browsers and not supporting changing viewportsize yet.

  • I could make an example, if I had the time. Unfortunately I'm very much busy as is..

    I'll see if I can get something done, but my own project comes first.ze

  • You are right I wasn't very clear. A camera sprite could be any sprite, actually.

    Just an invisible sprite with scrollto behaviour.

    I just call it camera sprite for it will determine which part of the layout will be in the viewport.

  • make the slider vertical, put it on a layer with 0,0 paralex, create a camera sprite with scrollto behaviour and control the y-position with the slider.

  • By adjusting the sliders in this topic you could create the perfect scrollbar.

  • scroll bar

  • The list object has got a scrollbar as far as I know, but if you want a scrollbar for anything else you are going to have to adjust it to your needs.

    I'm not sure what you mean by a form. A form is not a name for anything in Construct2, so searching for scrollbar and form will probably not deliver any results.