DV7's Recent Forum Activity

  • Hello! I have encountered yet another problem while making my pretty simple game. Usually I manage to solve the problems I get, but Ive been stuck now for a hour or so messing around in the event sheet, behaviors etc, so it would be nice if I could get some help here.

    As the title describes, I simply cant make the cannon aim the way I want it to. I've done the first tutorial on the website, where you make the player(gun) aim where the mouse is, but that does not work with what I am trying to do now.

    To start with, I'd like the cannon to be stuck to the cannon-holder when it rotates. I thought I made it work by placing the image-point on the lower end on the cannon, but when I do that the bullets comes from the same spot, so it doesnt look right. If I place the image-point at where the bullets should come from (as we learn in the first tutorial), then the rotating looks weird. (you'll understand better once you take a look on the game and the .capx file).

    Then I'd also like the cannon to face the other side of the mouse instead of looking towards it. So, if my mouse is on the right side of the cannon, the cannon will aim left. If the mouse is on the left side, the cannon aims right. If the mouse is under the cannon, the cannon aims upwards and so on. And the last thing is that, I want it to do that only when I click on the cannon (and/or on the cannon-holder) and hold the button down. But I cant find that option under the conditions in mouse.

    Any idea on how I can make it work? <img src="smileys/smiley29.gif" border="0" align="middle" />

    .capx file: dl.dropboxusercontent.com/u/11888452/cannon.capx

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do Man1 and Man2 have to be different objects? dl.dropboxusercontent.com/u/8367729/construct/example/shootRandomMan.capx

    I tried the CTRL+drag to copy the object and when I did that, there was no randomness at all. Every bullet went on the same guy, I had 3. Might have messed something up on the event-thingy back then.

    Thank you so much for helping me out! :)

  • Hello! I am trying to create a basic game where the enemy is supposed to shoot at 2 soliders. I want the enemy to shoot randomly on either Man1 or Man2 (the 2 soliders), but the problem that I have encountered is that the enemy is not aiming properly. The bullets seem to be going at random directions and I cant, for the sake of my life, figure out how to make the enemy aim on the targets only. I have been searching for tutorials that might descirbe how to do it but with no results.

    And also, how do I make the enemy stop after both targets have been destroyed?

    The .capx file can be downloaded at dl.dropboxusercontent.com/u/11888452/solidershot.capx

    Thanks in advance :)

DV7's avatar

DV7

Member since 7 Apr, 2013

None one is following DV7 yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies