Bodhran's Forum Posts

  • --https://www.dropbox.com/s/clhp375jtu7kg08/Magicamcursor.capx?dl=0--

    I updated it. I feel like it is the same as the example capx but there has to be something I am missing. The cursor doesn't follow the mouse's position and is there anyway to keep the cursor inside the screen?

  • I got the knockback to work. Thanks.

    I looked at the example with the two object zoom and I made the orangebox follow my mouse. It worked perfectly besides for the orangebox or greenbox going offscreen but when I try it in my game the cursor won't follow the mouse's position.

    Thanks for the reply and making MagiCam. I really like it and want to use it in my game.

  • When I use MagiCam to follow a sprite (the sprite goes where the mouse cursor moves) the sprite will not follow the mouse and go off screen. I want it to follow the mouse cursor exactly.

    Also, I am having problems with making the enemies contained with a bullet sprite get knockedback from taking a bullet.

    More info on what is happening here. I have one sprite a bullet (the one with opacity) and the other on top of it which will be the animation. I want them to be knocked back when they are hit but I can't get them to both by knocked back. If I make a bullet hit the animation it stays with the sprite with the bullet. If I make the bullet hit the sprite with the bullet then it doesn't knockback everytime.

    Any help would be appreciated.

    Capx here --https://www.dropbox.com/s/clhp375jtu7kg08/Magicamcursor.capx?dl=0--

  • Can anyone help please?

  • I want the mouse to be an object but when using the plugin Magicam it won't correctly follow the mouse's position.

    Also, how do I destroy the Gun sprite that is on top of an enemy when that enemy is destroyed?

    Link to capx with both problems -https://www.dropbox.com/s/d9clrax7n4xnfzq/Gun%26Cursor.capx?dl=0-

  • I should have entered the same keys for player 1 and 2 since it is online and shouldn't matter. This is for an online match.

    I want player 2 to be able to throw the ball by using the same button that player 2 uses to dash to work online. I am not sure why that when player 2 has the ball then player 2 won't throw it back to player 1.

    When player 2 uses player 1 movement keys online for some reason you can see player 1's paddle move a little bit, I am unsure what to do about that.

  • I feel like I have tried everything I ca think of and still can't get it to work.

    Any help is appreciated.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Anyone know how to fix it, please?

    I was really counting on having online multiplayer in the game. I feel that if these two problems were fixed then I should be able to add everything else in the game.

  • I am trying to get player 2 to perform the same actions as player 1 in an online game.

    When player 1 catches the ball then player 1 can hit the "R" key which will make the player throw the ball. When player 2 tries the same thing but with "]" key then nothing happens. The "R" key makes player 1 dash without the ball and the "]" key makes player 2 dash without the ball.

    Movement keys are:

    Player 1: wasd

    Player 2: ijkl

    There is also a bug where if player 2 hits player 1's movement keys then it will make player 1's paddle look like it is moving a little.

    Capx--https://www.dropbox.com/s/aa5nnpsf08kbpqt/multiplayerproblems.capx?dl=0--

  • Regga354 So far it works perfectly. Thanks so much. This is really cool.

  • Can someone go more in depth about what jayderyu posted please?

    It would be really good if the player in my game was able to change their buttons and I want to learn how to do it but I am unsure about how to do it exactly what jayderyu posted.

  • Thanks for the link. I didn't really understand how to change the buttons properly from their posts. But I did manage to make something that works here. -https://www.dropbox.com/s/cui2t8gwhsh4vjr/charCode_Example%2Bchange_button.capx-

    Is their an easier way to do it then what I did?

  • I was wondering if it is possible to make a way for players to change their buttons and possibly movement in the game like in most options in games where you can change your buttons.

  • Thanks. This works great. It should be able to work and without using sine it actually might make it better.

  • I want the object being thrown to be thrown with sine so it curves but when the other object throws it back I want it to be normal. I tried setting the parameter to "No" but it don't make the object being thrown curved.

    In my game, I would like the player to be able to choose to throw it curved or not and the enemy to be able to toss it back curved or not.