RobertoFreemano's Recent Forum Activity

  • Okay, I do have player sprite set angle towards mouse x/y on Everytick.

    Do I need to add this pause bit into Everytick?

  • 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 read some articles on here and watched some video about this, but i cannot seem to get this working.

    I have a player on 8Direction and click mouse to shoot.

    I've created a new EventSheet called Pause and (included it into Mainsheet)

    [EventPause]

    Global = pause = 0

    Mouse click PauseButton

    Sys Add 1 to pause

    ys pause>1 sys Set pause to 0

    ys pause=0 sys set pause to 1

    ys pause=1 sys set pause to 0

    This does pause the game (so to speak), but if i click mouse, it produces bullets on screen. and the player's angle is still trained on cursor.

    how can i fix this please?

    Regards,

    Roberto

  • Hello community,

    I have Enemy sprite with LOS behaviour. When Enemy see Player, it charges (bullet behaviour).

    My player has bullets and if a bullet hits Enemy, it should slow down (or at least that's what I'm trying to do).

    I do have a var=zom_speed = 30

    I think the LOS behaviour is preventing this.

    Any ideas please?

  • Thanks plinkie & BadMario for all your help ;)

    Roberto

  • I've just done a quick test on a new project and that works, so there must be something wrong with my game :(

  • I setup an Every tick with Set TEXT to 'player' and this does set it on MenuLayout, but as soon as I'm on PlayLayout, which also has same TEXT value > is always 0

  • Thanks plinkie,

    on my MenuLayout, I set Global Num 'player' = 0

    If Mouse click on (Elf) then set 'player' = 1

    If Mouse click on (Wiz) then set 'player' = 2

    Click BUTTON to goto PlayLayout

    [PlayLayout]

    Include MenuLayout

    On Start of Layout

    System player = 1 then PIN Elf to puppet sprite (with 8Dir)

    > System player = 2 then PIN Wiz to puppet sprite (with 8Dir)

    but this ain't happening..... the var is 0

    Not sure why :(

  • Hi Community,

    Trying to get my head arount this one. Let's say, on the menu, you have a choice of 3 characters (e.g. Elf, Knight, Wizard)... in the PlayLayout, I want the same experience for the player (ie. map, enermies) but the character must be as selected from the menu... which they will have their own attributes.

    I can only think... on PlayLayout, Sprite with 8Direction. I want to PIN another sprite with (say Wizard) on to the sprite with movement.

    Would you use an Array for this?

    Thanks,

    Roberto

  • Thanks soooo much plinkie,

    So this is what I interpreted from your reply:

    On key pressed

    System var=0 | spawn grenade

    | set var = 1

    Grenade bullet speed <=0 | grenade Destroy

    Grenade | On Destroy | Set var = 0

    and it works a treat!]

    Thanks again!

  • Hi Community,

    I'm trying to spawn a sprite on key X press. I only want to press once and prevent another spawn until the sprite is distroyed...

    I'm trying to use a Timer on this and it ain't working.

    Player on layer... key X press - player spawns grenade sprite with bullet behavior.

    I only have 3 grenades and i want to prevent player from pressing X again until that grenade has exploded.

    I've tried Is On screen and Boolean, but I can't work it out.

    Help!

    Thanks,

    Roberto

  • SUPER WOW tarek2,

    That's AMAZING!

    Thank you soooooooooooooooooooooooooooooooooooooooooooo much!

    Roberto

  • So, the above, destroys if blast explodes to the right of the tile but not the left.

RobertoFreemano's avatar

RobertoFreemano

Member since 25 Apr, 2013

Twitter
RobertoFreemano has 1 followers

Trophy Case

  • 11-Year Club
  • Popular Game One of your games has over 1,000 players
  • RTFM Read the fabulous manual
  • Email Verified

Progress

14/44
How to earn trophies