LittleStain's Recent Forum Activity

  • Not sure about this, but would starting the music for the next layout on the previous one work?

  • Simulating a physical touch through programming, sounds to me like a hackers dream, so I hope it's not possible..

    Why a first touch is needed?

    From the manual on audio:

    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.

    So it's the browser that has the limitation..

  • Somthing like this?

    Far from perfect

  • There is no reason to bump your thread, you could have just edited your post..

    I'm not really sure what effect you are really trying to achieve and why you use the paster plugin for this..

  • I'm not really sure what you mean by "blocks in corners"

    The only reason an "on collision" event doesn't fire is if there is no collision..

    You might want to try "is overlapping at offset" or add a one pixel detection sprite around you object and check "is overlapping"..

  • Quick solution

    put event 52 as a subevent of event 54 and make sure none of the other events setting animation run when EnHP > 0

  • When mirrored the angle of the object is still the same..

    so left is still 0..

    so if you set the angle towards the mouse it rotates about 180 degrees and as such is upside down..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I guess

    on touched object

    object physics give impulse at angle : angle(touch.x,touch.y,object.x,object.y)

    would do the trick

  • Do you mean "is overlapping" or "is overlapping at offset"?

  • uppercase(text)

    Convert the given text to all uppercase.

    https://www.scirra.com/manual/126/system-expressions

  • I'm not sure what you mean..

    If all layouts are the same size you could just create the sprite on start of layout at the y-position it was in the last one, or you could make the player global and all you'd have to do is set it's x-position..

  • question: are animation/frames better then sprite objects? in what way?

    each of my sprite object already includes two sometimes three animations...

    Ok 100 sprites with two or three animations seems a bit much to me, but I'm sure you know what you are doing..

    Are animation/frames better? No

    Would it be a lot easier to do what you ask in the first post? Yes

    Like I said, have a look at the third party plugin "Nickname" it can probably do in your case, what I would try to do with animations/frames..

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 13-Year Club
  • Email Verified

Progress

14/44
How to earn trophies