LittleStain's Forum Posts

  • the condition is true every tick the characters health is less than 0, so the total width should be 0 in no time..

    Add a system trigger once and all will be ok..

  • Should be gamepad.button(0,10) and (0,11) if I understand correctly..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • One of those button indexnumbers should give analog input between 0 and 100..

    If there is an analog button that is..

    From the manual:

    Button(Gamepad, Index)

    Retrieve the current button press value of a button on a specific gamepad. Index specifies the zero-based index of a button from the dropdown list in the Is button down condition (e.g. 0 returns the value for the A button). The returned value depends on the features of the button: if the button is pressure sensitive, it can return any value from 0 to 100 depending on the pressure; otherwise it returns 0 for not pressed and 100 for pressed. Buttons which are not pressure sensitive are easier to detect using the Is button down condition.

  • Have you tried gamepad.button(0,0) , (0,1) etcetera?

  • have you tried gamepad.axis(0,2) and (0,3)?

  • In the thread you responded to, for the reflection she uses the canvas plugin..

    Copying all sprites that need to be reflected to the canvas and then flipping it vertically..

    Right now if you'd like a similar thing, using the paster plugin by Rojohound would probably be a better alternative, because in cases like this it is faster..

  • Couldn't you just a use a vertically mirrored version of the sprite?

  • As far as I can understand it should work like this:

    Create a 200 by 200 round sprite (the Base) and a small sprite (the stick)

    every tick set the small sprites position : X = base.x+Gamepad.axis(0,0) Y= base.Y+Gamepad.Axis(0,1)

  • on key pressed F

    player is overlapping door - system goto layout

  • Use a global variable for the score and use webstorage to save it..

    global variable score

    global variable highscore

    Character is overlapping object

    trigger once - system add 1 to score

    (subevent)

    score > highscore - highscore set value to score

  • I don't see any event where you set the text..

  • First you were talking about dragging a sprite, now about moving the player by keyboard..

    Please explain what is the difference between the sprite, the player and the solid blocks..

    Should be something simple as, is overlapping set back to original position, or is not overlapping at offset move to the position, but I don't know in what way your code is set up to do the movement..

  • first off all..

    Why set something visible every tick?

    When retrieving a number value from webstorage you should use int, because otherwise it will return a string instead of a number..

    I guess that's where the issue is..

    set varlifehearts to int(webstorage.localvalue("LiveHearts"))

  • The above events should also work on mobile, like Ubivis said..

    Are there any other events concerning the AI cars or the waypoints that could be platform specific?

  • add a subevent:

    system pick pick by comparison: object=mountain mountain.material number = sheep.collectign material number

    and put the last two actions in that subevent..