2D Platforming shooter (Megaman Style)

0 favourites
  • 6 posts
From the Asset Store
A pack of 76 platform designs for a platformer game with a mushroom/jungle theme
  • Hi,

    I'm new to Construct2, but I've already gone through a few tutorials. But I haven't seen one that explains how to do shooting without the mouse. I want the player to be able to shoot standing up and crouching, if possible. How would I do this?

  • shooting without the mouse is the same as shooting with the mouse, you just change the event from mouse click to keyboard input (on key down event)

    the code for shooting standing up and crouching is the same, because basically you just create a new object from an image point, just make the same image point index from the two sprites (standing and crouching)

  • What would be the events for shooting one time?

    I don't know how to do that yet.

  • On key press (whatever key you want) > shoot

    Or if you want to control the number of shots you can create a variable that gets incremented each time you shoot and then reset it and only allow shooting when the variable is at 0. So on shoot, set the variable to 1. Then after a certain number of seconds, or some other event, set it back to 0 which allows you to shoot again.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What would the Shoot event be under? System, or?

  • shoot event isn't provided in construct 2, it's a game logic that you need to implement yourself.

    how? like bluePhaze said, one example is on key press

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