lionz's Forum Posts

  • Nah the sprite is just one image. You could in theory do something like make visible a sprite that is pinned to the robot and covering the limbs you have detatched but I'm not entirely sure if this will interfere with the anims and possibly with other environment assets. If you want to detatch limbs I would attach them as separate sprite objects pinned to the main body.

  • If the limbs on the boss always fall off in the same order then I would use animations and just update the sprite on each stage of the boss. If you can target separate areas of the boss perhaps you can pin the various parts to the main boss body. If you apply Physics behaviour to attached objects they should flail about like limbs too.

  • The invisible sprites pinned to the camera should work, just make sure you have collision disabled and then enable the collision when the ship collides with the border.

  • Bound to layout behaviour doesn't work?

  • Give the ship you are controlling 8-direction.

    Create an invisible sprite and give it Scroll-To behaviour.

    Have the invisible sprite move right constantly (bullet behaviour or movetowardangle etc)

    Result: You can move the ship around the screen in 8-direction. There is a camera moving right constantly.

  • It's probably doable. You will need to explain the game more as I can't imagine a playable character with limbs and joins that can be destroyed. What is the idea of the game?

  • You could use a global variable as a condition i.e. On Touched(if variable=0) > Do touch. Then if you set variable to 1 when the game is paused, the touching will not work. Another way you can do it is to put all the major touch logic into a group and disable the group when the game is paused.

  • If by attach you mean create object(bullet) then yeah use the player box. use the player sprite just for the animations.

  • Look at the level Ghost Shooter(Tutorial) that comes with C2

  • ArcadEd Ah you got in there a second before me this time lol'd

  • If health > 100, set health 100

  • dzaky Alkaff

    By that I meant When Player Is On Floor(Player is colliding with flat floor object)

    If you don't plan to use multiple floor objects you can use variables to determine the angle that the floor is at, therefore floor is flat=0degrees so When Player Is On Floor(FloorAngle=0)

  • If you select the layout and look on the left side at the layout properties you will see a field called Event Sheet where you can assign any one event sheet to the current layout. When using the On Start Of Layout event it will affect any of the layouts using that event sheet.

  • Assign an instance variable for each colour

    Use rand(min,max) on start of layout to select a random number

    Use create object to create all objects with rand as instance variable

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Assuming you are using two different objects for flat floor and angled floor...

    When Player is On Floor (Cond: Floor is flat) > Play animation Normal

    When Player is On Floor (Cond: Floor is angled) > Play animation Slide