Whitie7's Forum Posts

  • I know there's a recipe for getting this to work but for some reason I cant seem to get it to work. I have a platform game that has something following the player that has a sound attached to it, and the further away from this object I want to audio to go quieter and if your to far away you wont hear the object at all, so how exactly do I make the audio have a hear radius?

  • All I want to do is When bullet hits enemy no matter what way Im facing or the enemy is facing to send the enemy 4000 pixels away from the players current x.

  • This wont work, if the enemy is mirrored and is shot in the back it moves towards the player not away!

  • How would I do that exactly, sorry very novice.

  • Bump! If anyone could help me out here would be much appreciated.

  • That's because I don't know where to start.

    If "Bullet" is on collision with "enemy" set enemy Platform vector x -4000" or if "bullet is mirrored send enemy in other direction. ( but this doesnt work if the "enemy" is mirrored )

    I know there is a way to set it so the enemy always goes backward from the players position. So when "bullet" hits "enemy" get the players current x,y,z and send backwards from the player so wherever and which ever direction the player is facing the bullet will always send the enemy backwards in the opposite direction from the player.

  • Pretty simple, I have searched the forums but can't seem to find the answer, I know this will be simple as but I just cannot get it correct.

    When player A shoots enemy, enemy goes backward away from player A no matter which way the enemy is facing or the player's mirrored or not mirrored.

    Thanks.

    I can get the enemy to go backward if player A is facing right, but as soon as the enemy starts to walk away from player A, I get nothing.

    P.S This is for a Platform game style.

  • Don't stress, working now. Must have been the update. Thanks for your help bud.

  • Your system is working great, only thing is I cant stop the music when changing layouts?

  • Cheers bud, ill get onto this now. Will this also stop the music from playing?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Object release, I just cant seem to work my head around it?

    There is a when object click, but no when object is released.

    Anyways, I sent you the sheet pic bud.

  • Ok here is my sheet, now two things I cant get to work.

    Sound: Sounds starts fine when I goto puse screen, but when I goto game layer ( layer 0 ) it keeps playing, it wont stop. How do I stop it.

    2nd: The button. How do I make it so when object clicked BUT on release it changes screen and plays a sound.

    I want it so when you touch the button the button sucks in then when you take your finger off its plays a sound and then changes layer.

    I know the size change of the button part just the action of , when clicking on ( object ) and is released, play sound and change to layer ( 0 )???

  • Couls you show an example? I think what you said about needing a event in lvl:1 to return to pause.

    I have a simple, when left click on object, go to layout Pausescreen, and that's in the lvl:1 sheet. Then in the pause screen Ive got the same but the other way around, and that's in the pausescreen sheet. Do they need to both share these codes?

    Cause like I said, if I start the game in pause screen I can click and goto game, but when in game I cant goto pause screen, if this makes sense?

  • Ok,

    I have read almost every single forum post about changing layouts, but for some stupid reason I cant seem to get a simple pause screen to work.

    I have done the set layer visible and that works but this is very messy when my pause screen has 6 layers for different effects going on.

    I made a Pause screen layout and a 1st game level layout, now I have got a graphics I click and it will take me back to game level 1, but when I try to click the pause graphic in the game level 1, it goes nowhere??

    Any reason for this? So in simple terms, Pause menu to game works, but game to pause menu does nothing, it just doesn't want to change layouts. And like I said, with the one layout but setting thing visible and invisible is a huge task when you have heaps of layers and are making a platform game with 20 levels. So I really want to be able to change layouts for , Menu, Pause screen, New Levels etc.

    Any help would be great, as this is driving me slowly crazy, lol.

  • Thanks for the reply,

    I would need him running, jumping, falling, and bouncing back once running into something.

    Time frame= Soonish, with-in a week.

    Ill send you my character I have drawn up in incscape to give you a idea If you like?