RBuster's Recent Forum Activity

  • My .02 cents

    soundbible.com

    Really Free

  • I created a system but I believe that is not very efficient. What do you think? (notice that I have not changed the variable names, but I'll do it)

    System > Every 1 seconds > System > Set randomNum to random(15)

    *(sub-event) System randomNum <= 7 > System > Create object rock1 on layer1 at (random(80,640), player.Y+650)

    *(sub-event) System randomNum > 7 / System randomNum <=12 > System > Create object rock2 on layer1 at (random(150,550), player.Y+680)

    *(sub-event) System randomNum > 12 > System > Create object rock3 on layer1 at (random(300,480), player.Y+710)

  • Thanks justifun and I?ll try to implement the justifun suggestion

    You?re right, But it?s ony available in personal/commercial version. I?ll intend to buy the C2 very soon.

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

  • 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

RBuster's avatar

RBuster

Early Adopter

Member since 29 Oct, 2012

Twitter
RBuster has 2 followers

Connect with RBuster

Trophy Case

  • 11-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

20/44
How to earn trophies