Isometric Shooting

0 favourites
  • 5 posts
From the Asset Store
Shoot balls to destroy as many blocks as possible, at each stage the game will become more difficult.
  • I recently started to work with isometrics in construct 2 and I was wondering if theres a way to shoot 4-way in isometrics without using the mouse?

    Such as the character faces a specific way and then you press space bar the bullet shoots at the same angle the player is facing.

    I did try the bullet set angle of motion but im not quite sure how to make it work the way I want it to.

    Can someone look over my file and give me a hand with what I'm trying to do?

    The angles are already in the movement. So for example when you press left, character moves left at 212 degrees, but at the same time I want to set the the bullet to move at 212 degrees when fired.

    I guess the peseudo code would look like this:

    -when left key is clicked

    -set angle of bullet 212 degrees

    -when space bar is click, bullet moves at 212 degrees

    Here's a link to the folder of my file:

    dropbox.com/s/9egf5m97oxz4oo9/isotest.7z

    I'm not quite sure how to upload a capx file, but if someone could share that info with me then I could change the link if it makes it easier for people to look at

  • Rex has a few plugs for working with iso movement:

    http://www.scirra.com/forum/demo-of-slg-plugins-package_topic50640_post321105.html#321105

    Also, I don't recommend bullet type collisions for iso. The angles just don't work out very well.

    A percentage would be a much better way to go imo.

  • Also, I don't recommend bullet type collisions for iso. The angles just don't work out very well.

    A percentage would be a much better way to go imo.

    oh I see, i might change to mouse aim then, but ill continue to see if theres a way to achieve this form of iso shooting. I'll look into the plugins but I don't think they'll help me achieve what im doing.

    Also could you explain what you meant by percentage?

  • Basically its like a dice roll with the change that the bullet will hit.

    Its not like you can actually see bullets anyways.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Basically its like a dice roll with the change that the bullet will hit.

    Its not like you can actually see bullets anyways.

    Its true you cant see bullets but I wanted to add a trail effect with the bullet since its a game, and games arent really real <img src="smileys/smiley12.gif" border="0" align="middle" /> and those arent the exact sprites i plan to use for the game.

    But anyways thanks for the idea, but its not quite what I was looking for

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)