RobertoFreemano's Forum Posts

  • Now that I have bullets, the objective is to knock out incoming badGuys (in the form of blocks((at this stage)).

    The badGuys randomly spawns at the top of the screen and slowly descends.

    WHAT AM I TRYING TO DO?

    . each badGuy has a Instance variable (health). I used PIN to pin a textbox to that badGuy.

    .. when a ball strikes, the badGuy's health goes down.

    ... if badGuy's health is <=0, he is destroyed && so is the textbox that's pinned.

    The issue(s) I'm having:

    . some badGuy's lose their health textbox

    . other's inherit other badGuy's loss.

    Hope this make's sense. I'm not sure if this is caused by over-lapping badGuy sprites?????

    I've updated the URL to show you what's happening.

    http://robfreeman.co.uk/demo/

  • Thanks Bruno!

    i have another issue (related to same project)... would it be rude to add to this or would you prefer i raise a new POST?

  • Awesome!!!

    Thanks dop2000.

  • One more associated question, if I may?

    Q: How would you restrict the player from firing again - once all 10 shots fired? I want to avoid being able to shoot again until all the balls are destroyed.

    I've tried:

    * spCannon.shotsfired > 10 -- spCannon Destroy

    (This is where I get bamboozed) - spBullet.On destroyed -- system create spCannon.

    Now I used Debug (thanks dop2000) and it shows creating spCannon per bullet destroy (ouch); which is 10 times (ouch)

  • Wow Bruno, your example is awesome. I will try rebuild mine from scratch - based on your example.

    ...and thank you dop2000, I've never really used the Debug mode TBH. Are there any tutorials about this online?

    Thanks again Guys!

    Muchos appreciated

    Roberto

  • Hi Community,

    I'm trying to create an event: - that shoots 10 balls when touch is released.... similar function to mobrix's brick breaker 'https://www.youtube.com/watch?v=ye49bSWL7Po'

    functions:

    Player holds down to move position. Angle stick follows touch. On release, it should spawn 10 balls (but this isn't happening)... one 1 is spawned, dispute System/Repeat assigned. Not sure if a while would suit this purpose, but I'll try searching on scirra for that one.

    Here's my attempt http://robfreeman.co.uk/demo/

    The project code is on the end.... pause the video to have a laugh.

    I'd be grateful if any assistance.

    Best Regards,

    Rob

  • Wow HenryPK,

    Thank you soooooooooooooo much.

    Plus, I love Blue - The Skylings

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi Community,

    I'm trying to create a simple wall (brick size 25x25)... I'm sure there's a clever way to use system repeat 10 times (loop) to accomplish this, I just don't know how.

    [brick]

    [brick]

    [brick]

    ...

    Do I have to create object & set position * 25 on Y... very confusing...

    Any help would be appreciated.

    Thanks,

    Roberto

  • Muchos Gracias plinkie,

    You helped me visual and rethink. I have now achieved what I set out to do!!!

    Once again, Thank you!

  • Hi Scirra community,

    I'm trying to create a behavior were if mouse drags sprite (up or down), then the sprite moves with the mouse, but if released, it slowly moves back to starting position.

    drag up

    drag up

    ---start centre ---

    drag down

    drag down

    I've tried a few things but doesn't quite work. Any ideas would be most appreciated.

    Thanks,

    Roberto

  • Thanks imhotep22, that makes sense

  • Awesome!!!! I didn't think of it like that.... now it works exact how I wanted it too

    Thanks DolyGamesCosmos.

  • Hi Community,

    I've tried a few things and not able to get the results i want.

    This is what i'm trying to achieve:

    player static

    tap screen (some distance away from player)

    the tap creates a target sprite

    player move to target (whilst spinning)

    player stops spinning once reached target

    I can achieve this (without the spinning using a bullet) but if I add rotate... it's just not what I want

    I also don't want the player sprite to set angle.

    Any ideas?

    Thanks,

    Roberto

  • Hi Community,

    I have a game on the Scirra Arcade

    https://www.scirra.com/arcade/action-ga ... nder-17906

    I've created a button on the menu page to go to my YouTube page.... but when I click it, nothing happens.

    I have a Browser plugin > 'OpenURL in new window' already assigned to the button.

    URL: "https://youtu.be/WFYdhmYtAPs"

    Tag "NewWindow"

    It works in a PC browser window but sadly not in Scirra Arcade <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">

    can this be achieved in Scirra Arcade?

    Thanks,

    Roberto

  • Thanks imhotep22