LittleStain's Recent Forum Activity

  • change the direction?

    0 degrees would be left to right

    180 degrees would be right to left

    90 degrees would be down

    270 degrees would be up

    preventing the enemy to be upside down would be setting rotation to no in properties..

    I'm guessing you set the angle of the enemy to 180 degrees instead of the angle of the bullet behaviour movement..

  • C2 reads events top to bottom, so when one event is executed the next event will trigger within the same tick if the conditions are met..

    Adding a wait action before creating the blue squares might help..

    Other options would include adding more conditions and or even timer behaviour..

    You might even get away with just adjusting the order of events..

  • It seems like you are spawning the selection on layer 2 (which doesn't exist)..

    On created it spawns the blue squares on layer zero and on blue squares clicked selection is destroyed along with the blue squares..

    so without seeing the things actually happening (for they happen all in one tick) they are created and destroyed, it would otherwise be impossible for the red squares to be spawned..

  • I don't understand the issue..

    You are spawning the red squares, but not destroying them, so they will remain..

    Maybe I just don't understand what you are trying to do..

    The red squares don't seem to have any function, so I'm not sure why you are spawning them..

  • showing a fullscreen add every x seconds sounds pretty intrusive and player-unfriendly to me..

    Wouldn't adding the add between layouts and/or on player input (going to menu for example) be much better?

    I think the last thing you'd like as an app-creator is to annoy your player any more than strictly necessary, but than again I don't use adds at all for that reason..

  • to convert a string into a number you can use int()..

    after that you can play with the number in every way you'd like, using round(), ceil() and or every other maths..

  • Does this help?

    add audio object to your game..

    add sounds to the sounds folder..

    drag and drop on dropped - play sound

  • touch.AngleAt would give you the angle of your touch movement..

    round this to 0,90,180,270 and you only have the straight horizontal and vertical movement..

  • Adjusting the endless runner example to go from top to bottom would probably suit your needs..

  • Well instead of using gravity set it to 0 and use aplly force of 10 at angle, than you can change that angle just like the angle of gravity changes in the above example..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What is the strange behaviour you are talking about?

    Actually using pin and physics could give unexpected behaviours as well, why not use joints for those are the physics equivalent of pinning..

  • Here's an example someone (I don't remember who) has made for someone wiyh a similar question..

    This uses the platform beghaviour, but it might give you ideas..

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