RBuster's Recent Forum Activity

  • Thanks for the tips, I'm still learning.

  • I�ve an idea and and it worked but I don't know if is the better solution:

    Rock onDestroyed > System > Set randomNun to random(11)

    (sub-event) System > randomNum>=8 > Explosion > Spawn bulletPackage on layer 1(image point 0)

  • Very nice example, Thank you.

  • I would like to generate a explosives package randomly each time the player exploded a stone. I thought of creating a spawn from the sprite with the explosion (fire+smoke animation), but would have to be random, ie, the explosives package only appears in some explosions. Someone would have an idea of how to do this?

  • Great example podpathos. Thank you very much.

    How can I do to apply this effect to sprite that was created by the system with a bullet behavior.

    Thanks again

  • Sorry, I just tested it and deleted then to look for another solution. But as I was suspicious, I decided to post this question on the forum. I tested several times and the time interval between the object was always the same. However, the command "random" worked very well with the position on the screen.

  • Hi Paradox,

    This I already knew. The problem is that this way I have to create the command for each sprite and I would like to create a general command to verify all objects at once

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • One problem: I didn?t see this variable in the comparable variables option of System event. Maybe because it?s a local variable?

  • Very clear. Thank you, justifun

  • I intend to use a different enemies with the same local variable (numLife). I would like to check the life bar of these sprites at sigle time (eg. enemyObject.numLife) . How can I do this?

    Thanks

  • I?m using the random command to create enemies:

    System > every random (1.5, 5.0)seconds > create object > enemy1 > layer 1 > X= player.X + 1500 > Y=random(100, 650)

    I?ve two issues:

    • I thought the program draws a value in seconds for each instance and from what I understand the program draws only once and applies in all instances (is it right or I?m doing something wrong?)
    • Despite being restricting the area between the vertical axis to 100 and 650, the enemies appear at times near the edges (vertical window size = 720). Even objects that I took the desktop are shown through the top, every time I start the game.

    Thanks for any help

  • Sprite: Set animation frame to Sprite.AnimationFrame +1

    or

    Sprite: Set animation frame to Sprite.AnimationFrame -1

    Thank you very much.

RBuster's avatar

RBuster

Early Adopter

Member since 29 Oct, 2012

Twitter
RBuster has 2 followers

Connect with RBuster

Trophy Case

  • 12-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

21/44
How to earn trophies