LittleStain's Forum Posts

  • Give the clouds bullet behaviour and wrap-behaviour.

  • hey rex i dowloaded your plugin move to. it worked once and now i can't open my project.....

    can you help me or do i have to do the whole thing aguain ?

    What has not being able to open your project have to do with the move-to-plugin?

  • Well you could set vectorX and vectorY and have it subtract from that on key down or something..

    But you might be better of using custom movement anyway..

  • Construct2 reads events top to bottom..

    If the HasSpawned action is above the create-action it acts on the instance referenced in the event, if it's below the create-action it acts on the instance just created..

  • I was asking, because if the player is pushing up-left, there couldn't be a bounce,..

    Well, the bounce would be there, but would immediately be overwritten by the move up-left..

  • I guess you could set the timer to a different number depending on the direction?

  • Put the toggle hasspawned action above the system create action

  • Would saving arrays asJson in localstorage work for you?

  • https://www.scirra.com/manual/110/browser

    The browser object has a lock orientation action

  • I didn't think that would be hard..

    Just a bit of basic programming..

    on start of layout -

    set the timer for 3 seconds

    sprite set direction = 3

    timer on timer > set timer for 3 seconds

    -- sprite.direction = 3

    sprite set direction to 9

    -- else

    -- sprite.direction = 9

    sprite set direction = 3

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Well, in this example hasspawned only checks if a sprite has already spawned another sprite, not if it itself is created..

  • Did you check the manual?

    Mobile limitations

    Safari on iOS and Chrome for Android share a limitation in playing music. While sound effects can be played at any time, music is only allowed to start playing when the user touches the screen. This is a limitation in the browsers themselves. As a result, if you play music on the start of layout, you may find in these browsers it does not actually start until the next touch.

    Safari on iOS has a further limitation that no audio can play at all until the first touch. In other words, audio starts off muted and the first touch unmutes audio playback.

    Usually you do not need to handle this in your events. If you try to play sound or music on 'start of layout', the audio object will automatically queue it up for playback the next time the user touches the screen. However you should be aware of this when designing your game. If the first touch changes layout or stops the music, then the music may never be heard. You may want to start playback then encourage the user to touch the screen with a 'Play' icon or something similar.

  • Would something like this work?

    Give the sprite a boolean HasSpawned

    system for each sprite

    sprite is not boolean HasSpawned

    sprite.x < 800

    system create sprite at (x,y)

    sprite set boolean spawned to true

  • So how long would you like the player to not have control over his sprite?