LittleStain's Forum Posts

  • Set default controls to no in the 8 direction properties and add events like the one I showed above?

  • a blank event is the same as "system every tick" event

    It has no conditions so it is performed every tick..

    Replacing the every tick events in this capx is hardly an effort..

    Also adding an event to check if the new value is different from the one before would be the same as using "on changed"

    The big advantage of doing it this way is that no Dom elemnts are used, Dom elements float above the canvas.

    I'n not sure how easy it is to use css to change the appearance of the slider-bar object and how much freedom C2 allows in this case..

    If you were to set the slider-bar invisible and use sprites to influence it, it would be much the same as the link I gave except for the extra slider-bar object..

  • If you use the 8-direction behaviour your "player" has the actions 8 direction simulate controll

    So you should make events like:

    mouse button is down

    system compare two values mouse.x >player.x

    player 8 direction simulate control right

    You should add more conditions offcourse, because mouse.x can be greater than player.x when the mouse is above the player and you would probably want to simulate up instead..

  • You could choose to use a programmed sliderbar instead of the slider-bar plugin..

  • Like I said, the events to create a game like this are fairly simple..

    If you understand the basics of creating events with construct you should be able to create it pretty fast..

    kids click them would be the event:

    On puppy clicked

    to make the puppies visible on the end of the sound

    Audio on ended

    puppies set visible

    So actually what you wish is right there for the grabbing..

  • Yes this is fairly simple..

    Add background in the editor

    Add a puppy sprite with three frames : red, green and blue

    Add sound

    On start of layout

    play sound

    on puppy touched

    --if frame is the same as the sound

    add point..

    play positive sound

    -- else

    play negative sound

  • You could set the angle of the object:

    coin set angle towards object coinbar

    coin set angle towards position coinbar.x, coinbar.y

    Or if you don't want to set the angle on the object itself,

    you could set the angle of motion of the bullet-behaviour:

    coin bullet set angle of motion: angle(coin.x,coin.y,coinbar.x,coinbar.y)

  • You can invert is overlapping, which would be the thing to check in this case..

  • bunch of random letters and numbers?

    I'm not sure what you mean?

    I'm not using text or numbers and definately nothing random..

    It's just 1 event..

    system every 1.5 seconds

    sprite compare variable = "jump"

    sprite platform simulate pressing jump

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ok first off all unbounded scrollig is set to no, so it will never scroll further than the layout-dimensions..

    That's actually the reason no scrolling occurs at all at the moment..

    Either increase the layout, set unbounded scrolling to yes, or scroll the trees over the layout instead of the other way around..

    Secondly, if you have an event that scrolls every tick, like in this example, you probably should remove that if you want to change the scrolling..

    the platform on landed event works perfectly if you remove that every tick event..

  • I'm not sure if it's possible to call them directly, but you could ofcourse use instance variables for them and use the set effect parameter to instance variable, than you could change the instance variable with the slider..

  • What do you mean by code?

    These are events on the event sheet?

    And what do you mean when you say construct2 doesn't have coding possibilities?

    all you have to do is add the events and the action to your own event-sheet..

  • If you are using the slider bar object, isn't this as simple as using the action "set value"

    And there is no reason for the slider bar to start at 0 for you can change the maximum value, minimum value and value at runtime..

  • ok..

    Don't understand why my suggestion won't work, but maybe replacing the player on landed with player is on floor would work..

    If not please share your capx or events, cause guessing won't really help anyone..